Weird callback sequence issue (?) in win32 gtk filechooser
- From: Toralf Lund <toralf procaptura com>
- To: gtk-list <gtk-list gnome org>
- Subject: Weird callback sequence issue (?) in win32 gtk filechooser
- Date: Wed, 27 Aug 2008 14:49:57 +0200
I just got a crash when using a FileChooser with/
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER/ on gtk 2.12.5 under win32. Parts
of the call stack is included below. This is after I've created the file
chooser dialog, run gtk_dialog_run() for it, destroyed it, then called
gtk_dialog_run() *for a different dialog*. In other words, it seems like
there are "leftover" callbacks when the file chooser's "run" exits.
These are executed the next time gtk_dialog_run() is called, or (I'm
assuming) if there is no such call, when the outer main loop continues.
Which leads to a crash because the object associated with the callback
has been deleted...
Does this make sense to anyone? Have you seen this before?
Thanks,
- Toralf
//
/Program received signal SIGSEGV, Segmentation fault.
0x61819a66 in error_message ()
from C:\Documents and Settings\toralf\bin\libgtk-win32-2.0-0.dll
(gdb) where
#0 0x61819a66 in error_message () from C:\Documents and
Settings\toralf\bin\libgtk-win32-2.0-0.dll
#1 0x61819b22 in error_dialog () from C:\Documents and
Settings\toralf\bin\libgtk-win32-2.0-0.dll
#2 0x61819bf8 in error_creating_folder_dialog () from C:\Documents
and Settings\toralf\bin\libgtk-win32-2.0-0.dll
#3 0x61823a02 in action_create_folder_cb () from C:\Documents and
Settings\toralf\bin\libgtk-win32-2.0-0.dll
#4 0x619e35d8 in execute_callbacks () from C:\Documents and
Settings\toralf\bin\libgtk-win32-2.0-0.dll
#5 0x6c3417e8 in gdk_threads_dispatch () from C:\Documents and
Settings\toralf\bin\libgdk-win32-2.0-0.dll
#6 0x685e6e87 in g_main_context_dispatch () from C:\Documents and
Settings\toralf\bin\libglib-2.0-0.dll
#7 0x685e835b in g_main_context_iterate () from C:\Documents and
Settings\toralf\bin\libglib-2.0-0.dll
#8 0x685e854a in g_main_loop_run () from C:\Documents and
Settings\toralf\bin\libglib-2.0-0.dll
#9 0x617fb986 in gtk_dialog_run () from C:\Documents and
Settings\toralf\bin\libgtk-win32-2.0-0.dll
///
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]