After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 377846 - gtk_toolbar_remove: assertion `content_to_remove != NULL' failed
gtk_toolbar_remove: assertion `content_to_remove != NULL' failed
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.9.x
Other Windows
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2006-11-21 17:56 UTC by Michael Chudobiak
Modified: 2006-11-30 14:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Chudobiak 2006-11-21 17:56:16 UTC
I keep seeing these error messages:

gtk_toolbar_remove: assertion `content_to_remove != NULL' failed

I'm not sure what's triggering them - it doesn't seem to be reliably reproducible. I wonder if it's related to:

remove_custom_tool_item (browser, priv->sep_rotate_tool_item);
remove_custom_tool_item (browser, priv->rotate_tool_item);


- Mike
Comment 1 Michael Chudobiak 2006-11-21 17:58:45 UTC
It might be related to this:

Log message:
2006-11-18  Paolo Bacchilega  <paobac@cvs.gnome.org>
* src/gth-browser.c (add_rotate_toolbar_item):
added a separator before the rotate toolbar item.

- Mike
Comment 2 Michael Chudobiak 2006-11-24 20:09:12 UTC
Here's a gdb backtrace with --g-fatal-warnings:

Gtk-CRITICAL **: gtk_toolbar_remove: assertion `content_to_remove != NULL' failed
aborting...

Program received signal SIGABRT, Aborted.

Thread NaN (LWP 6207)

  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 88
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #6 gtk_toolbar_remove
    at gtktoolbar.c line 2434
  • #7 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #8 g_type_class_meta_marshal
    at gclosure.c line 567
  • #9 IA__g_closure_invoke
    at gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #11 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #12 IA__g_signal_emit
    at gsignal.c line 2241
  • #13 IA__gtk_container_remove
    at gtkcontainer.c line 995
  • #14 remove_custom_tool_item
    at gth-browser.c line 5237
  • #15 set_mode_specific_ui_info
    at gth-browser.c line 5249
  • #16 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #17 IA__g_closure_invoke
    at gclosure.c line 490
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #19 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #20 IA__g_signal_emit
    at gsignal.c line 2241
  • #21 gtk_radio_action_activate
    at gtkradioaction.c line 358
  • #22 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #23 g_type_class_meta_marshal
    at gclosure.c line 567
  • #24 IA__g_closure_invoke
    at gclosure.c line 490
  • #25 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #26 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #27 IA__g_signal_emit
    at gsignal.c line 2241
  • #28 _gtk_action_emit_activate
    at gtkaction.c line 1042
  • #29 IA__gtk_action_activate
    at gtkaction.c line 1069
  • #30 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #31 IA__g_closure_invoke
    at gclosure.c line 490
  • #32 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #33 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #34 IA__g_signal_emit_by_name
    at gsignal.c line 2265
  • #35 button_clicked
    at gtktoolbutton.c line 645
  • #36 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #37 IA__g_closure_invoke
    at gclosure.c line 490
  • #38 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #39 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #40 IA__g_signal_emit
    at gsignal.c line 2241
  • #41 IA__gtk_button_clicked
    at gtkbutton.c line 845
  • #42 gtk_toggle_button_released
    at gtktogglebutton.c line 462
  • #43 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #44 g_type_class_meta_marshal
    at gclosure.c line 567
  • #45 IA__g_closure_invoke
    at gclosure.c line 490
  • #46 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #47 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #48 IA__g_signal_emit
    at gsignal.c line 2241
  • #49 IA__gtk_button_released
    at gtkbutton.c line 837
  • #50 gtk_button_button_release
    at gtkbutton.c line 1273
  • #51 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #52 g_type_class_meta_marshal
    at gclosure.c line 567
  • #53 IA__g_closure_invoke
    at gclosure.c line 490
  • #54 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #55 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #56 IA__g_signal_emit
    at gsignal.c line 2241
  • #57 gtk_widget_event_internal
    at gtkwidget.c line 3751
  • #58 IA__gtk_propagate_event
    at gtkmain.c line 2195
  • #59 IA__gtk_main_do_event
    at gtkmain.c line 1424
  • #60 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #61 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #62 g_main_context_iterate
    at gmain.c line 2547
  • #63 IA__g_main_loop_run
    at gmain.c line 2751
  • #64 IA__gtk_main
    at gtkmain.c line 1003
  • #65 main
    at main.c line 725

Comment 3 Paolo Bacchilega 2006-11-30 14:46:48 UTC
fixed in current CVS