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 546756 - gnome-panel crashed with SIGSEGV in g_type_check_instance_cast()
gnome-panel crashed with SIGSEGV in g_type_check_instance_cast()
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.13.x
Other All
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-08-07 09:48 UTC by Sebastien Bacher
Modified: 2008-08-07 13:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sebastien Bacher 2008-08-07 09:48:30 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/255644

"just after an update to seahorse, I clicked the terminal icon on my panel - it didn't respond, then the panel crashed

  • #0 IA__g_type_check_instance_cast
    at /build/buildd/glib2.0-2.17.6/gobject/gtype.c line 3723
  • #1 get_size_groups
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtksizegroup.c line 77
  • #2 queue_resize_on_widget
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtksizegroup.c line 199
  • #3 IA__gtk_widget_queue_resize
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkwidget.c line 3611
  • #4 IA__gtk_image_set_from_pixbuf
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkimage.c line 923
  • #5 ??
  • #6 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.17.6/gobject/gmarshal.c line 77
  • #7 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.17.6/gobject/gclosure.c line 767
  • #8 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.17.6/gobject/gsignal.c line 3244
  • #9 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.17.6/gobject/gsignal.c line 2977
  • #10 IA__g_signal_emit
    at /build/buildd/glib2.0-2.17.6/gobject/gsignal.c line 3034
  • #11 ensure_valid_themes
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkicontheme.c line 1215
  • #12 _gtk_icon_theme_check_reload
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkicontheme.c line 3400
  • #13 gtk_window_client_event
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkwindow.c line 5171
  • #14 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkmarshalers.c line 84
  • #15 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.17.6/gobject/gclosure.c line 878
  • #16 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.17.6/gobject/gclosure.c line 767
  • #17 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.17.6/gobject/gsignal.c line 3282
  • #18 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.17.6/gobject/gsignal.c line 2987
  • #19 IA__g_signal_emit
    at /build/buildd/glib2.0-2.17.6/gobject/gsignal.c line 3034
  • #20 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkwidget.c line 4745
  • #21 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.13.6/gtk/gtkmain.c line 1546
  • #22 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.13.6/gdk/x11/gdkevents-x11.c line 2365
  • #23 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.17.6/glib/gmain.c line 2072

could also be an issue in the new gtk
Comment 1 Sebastien Bacher 2008-08-07 09:49:31 UTC
there is no gnome-panel function there, reassigning to gtk
Comment 2 Michael Natterer 2008-08-07 10:38:27 UTC
Same crash in sizegroup happens in gimp when closing an image
(using gtk trunk as of today):

GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkContainer'
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.
IA__g_logv (log_domain=0xb76a289c "GLib-GObject", log_level=G_LOG_LEVEL_WARNING, 
    format=0xb76a8234 "invalid uninstantiatable type `%s' in cast to `%s'", args1=0xbfc90cdc "")
    at gmessages.c:503
503               g_private_set (g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
  • #0 IA__g_logv
    at gmessages.c line 503
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_type_check_instance_cast
    at gtype.c line 3740
  • #3 real_queue_resize
    at gtksizegroup.c line 159
  • #4 queue_resize_on_widget
    at gtksizegroup.c line 203
  • #5 IA__gtk_widget_queue_resize
    at gtkwidget.c line 3611
  • #6 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #7 IA__g_closure_invoke
    at gclosure.c line 767
  • #8 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #9 IA__g_signal_emit_valist
  • #10 IA__g_signal_emit
    at gsignal.c line 3034
  • #11 gimp_view_renderer_update
    at gimpviewrenderer.c line 545
  • #12 gimp_view_renderer_idle_update
    at gimpviewrenderer.c line 658
  • #13 g_idle_dispatch
    at gmain.c line 4178
  • #14 IA__g_main_context_dispatch
    at gmain.c line 2073
  • #15 g_main_context_iterate
    at gmain.c line 2706
  • #16 IA__g_main_loop_run
    at gmain.c line 2929
  • #17 app_run
    at app.c line 246
  • #18 main
    at main.c line 396

Comment 3 Michael Natterer 2008-08-07 13:43:02 UTC
Fixed in SVN:

2008-08-07  Michael Natterer  <mitch@imendio.com>

	Bug 546756 – gnome-panel crashed with SIGSEGV in
	g_type_check_instance_cast()

	* gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
	and remove the image now that it's an internal child and isn't
	destroyed by gtk_container_destroy() any longer. Thanks to tml for
	helping bisecting this down.