Re: Problem with global destruction



I'm getting back to this issue, since I finally got a good gdb backtrace and Glib NOISY log from the bug(?):

Below are three logs, the first and third are from gdb, they show that the SegFault may happen at least in g_signal_emit_valist () and g_signal_has_handler_pending (). The 2nd log shows that the segfault seems to happen in this case when Gtk2::Window has been destroyed and Gtk2::SpinButton is being destroyed (in another case the segfault happens when Gtk2::ComboBox is being destroyed). The SpinButton and ComboBox are both widgets in a dialog that is created with Gtk2::GladeXML.

Cheers,

Ari

#0  0x63a56a36 in libgobject-2!g_signal_emit_valist ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#1  0x63a572ba in libgobject-2!g_signal_emit ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#2  0x63a451fc in libgobject-2!g_object_interface_list_properties ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#3  0x63a4847e in libgobject-2!g_object_thaw_notify ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#4  0x619d4d42 in libgtk-win32-2!gtk_widget_unparent ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#5  0x6179cc9e in libgtk-win32-2!gtk_box_reorder_child ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#6  0x63a438c6 in libgobject-2!g_closure_invoke ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#7  0x63a55dce in libgobject-2!g_signal_has_handler_pending ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#8  0x63a570aa in libgobject-2!g_signal_emit_valist ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#9  0x63a572ba in libgobject-2!g_signal_emit ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#10 0x617df752 in libgtk-win32-2!gtk_container_remove ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#11 0x619dcc99 in libgtk-win32-2!gtk_widget_hide_on_delete ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#12 0x63a46eef in libgobject-2!g_object_unref ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#13 0x69090378 in gperl_object_check_type ()
  from D:\perl\site\lib\auto\Glib\Glib.dll
#14 0x1005f123 in perl58!Perl_sv_compile_2op () from D:\Perl\bin\perl58.dll
#15 0x10032869 in cp936ext_2uni_pagea6 () from D:\Perl\bin\perl58.dll
#16 0x003f4cb4 in ?? ()
#17 0x00000001 in ?? ()
#18 0x0022fc98 in ?? ()
#19 0x1003757a in perl58!Perl_call_sv () from D:\Perl\bin\perl58.dll
#20 0x1003757a in perl58!Perl_call_sv () from D:\Perl\bin\perl58.dll
#21 0x1008ea62 in perl58!Perl_sv_clear () from D:\Perl\bin\perl58.dll
#22 0x1008f1f0 in perl58!Perl_sv_free () from D:\Perl\bin\perl58.dll
#23 0x1008d717 in perl58!Perl_cx_dump () from D:\Perl\bin\perl58.dll
#24 0x1008d75d in perl58!Perl_sv_report_used () from D:\Perl\bin\perl58.dll
#25 0x10039175 in perl_destruct () from D:\Perl\bin\perl58.dll
#26 0x100cdb20 in perl58!RunPerl () from D:\Perl\bin\perl58.dll


DESTROY< (34663f8)[2] => Gtk2::HBox (32187e0)[1], <DATA> line 3699.
DESTROY> (34663f8) done
DESTROY< (34663a8)[2] => Gtk2::VBox (32187e0)[1], <DATA> line 3699.
DESTROY> (34663a8) done
DESTROY< (346b020)[5] => Gtk2::Window (321854c)[1], <DATA> line 3699.
DESTROY> (346b020) done
DESTROY< (345f4f8)[1] => Gtk2::SpinButton (90fc94)[1], <DATA> line 3699 during global destruction.

#0  0x63a55a8d in libgobject-2!g_signal_has_handler_pending ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#1  0x63a570aa in libgobject-2!g_signal_emit_valist ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#2  0x63a572ba in libgobject-2!g_signal_emit ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#3  0x618b0c67 in libgtk-win32-2!gtk_object_destroy ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#4  0x63a46eef in libgobject-2!g_object_unref ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#5  0x63a62dc8 in libgobject-2!g_value_unset ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#6  0x63a57053 in libgobject-2!g_signal_emit_valist ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#7  0x63a572ba in libgobject-2!g_signal_emit ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll
#8  0x617df752 in libgtk-win32-2!gtk_container_remove ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#9  0x619dcc99 in libgtk-win32-2!gtk_widget_hide_on_delete ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgtk-win32-2.0-0.dll
#10 0x63a46eef in libgobject-2!g_object_unref ()
  from d:\PROGRA~1\COMMON~1\GTK\2.0\bin\libgobject-2.0-0.dll




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]