Jonathon Jongsma wrote:
On 3/26/07, Jef Driesen <[EMAIL PROTECTED]> wrote:
The application works fine, but closing the main window results in a
segmentation fault (core dump). As far as I can tell (from a gdb
backtrace) the crash is not in my own code, but somewhere inside the
gtk(mm) library.
Could you provide the backtrace? that might be helpful information.
Sometimes I don't get the segmentation fault, but only a large number of
errors. See attachment for both the backtrace and the errors.
Also, trying to pare down your example to a more minimal test case
might help to pinpoint the problem.
I'll try to reduce the example even more.
#0 0xb7423143 in g_type_check_instance () from /usr/lib/libgobject-2.0.so.0
#1 0xb7420688 in g_signal_handlers_disconnect_matched () from
/usr/lib/libgobject-2.0.so.0
#2 0xb782f1d1 in IA__gtk_accel_label_set_accel_closure (accel_label=0x18,
accel_closure=0x0) at gtkaccellabel.c:454
#3 0xb782f3eb in IA__gtk_accel_label_set_accel_widget (accel_label=0x80cd930,
accel_widget=0x0) at gtkaccellabel.c:392
#4 0xb782f4ca in gtk_accel_label_destroy (object=0x80cd930) at
gtkaccellabel.c:201
#5 0xb7416b29 in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#6 0xb7407fb9 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#7 0xb740987d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8 0xb741a34f in g_signal_chain_from_overridden () from
/usr/lib/libgobject-2.0.so.0
#9 0xb741b0b7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0xb741b279 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0xb79330f1 in gtk_object_dispose (gobject=0x80cd930) at gtkobject.c:418
#12 0xb7a2dd41 in gtk_widget_dispose (object=0x80cd930) at gtkwidget.c:6883
#13 0xb740be30 in g_object_run_dispose () from /usr/lib/libgobject-2.0.so.0
#14 0xb7932dfe in IA__gtk_object_destroy (object=0x80cd930) at gtkobject.c:403
#15 0xb7a2df25 in IA__gtk_widget_destroy (widget=0x80cd930) at gtkwidget.c:2168
#16 0xb791c94a in gtk_menu_item_forall (container=0x8085e08,
include_internals=0, callback=0xb7a2dee0 <IA__gtk_widget_destroy>,
callback_data=0x0) at gtkmenuitem.c:1478
#17 0xb78ef031 in gtk_image_menu_item_forall (container=0x8085e08,
include_internals=0, callback=0xb7a2dee0 <IA__gtk_widget_destroy>,
callback_data=0x0) at gtkimagemenuitem.c:350
#18 0xb7dcf9eb in Gtk::Container_Class::forall_vfunc_callback () from
/usr/lib/libgtkmm-2.4.so.1
#19 0x08085e08 in ?? ()
#20 0x00000000 in ?? ()
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
(test:18801): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `g-option-context-error-quark'
(test:18801): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(test:18801): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion
`GTK_IS_ACCEL_GROUP (accel_group)' failed
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list