Hi, I have some problems with newer GTK versions(2.8.12 and above) and my application(http://geany.uvena.de). It crashes with segmentation faults inside GTK. With GTK 2.8.10, it works at its best. I and some other people tested it with GTK 2.8.12, 2.8.13 and 2.8.16 and crashes randomly. This means, sometimes the application works a few minutes, somtimes a few seconds and sometimes it crashes before(or while) the main window is initialized. It seems, that no special action is necessary, only click somewhere, on a scrollbar, on the file open dialog or whatever.
I have no idea, for what reason it crashes, so if anyone knows this issue or have any hints, I would be really grateful. If you need more information, please ask. The following are some backtraces from gdb on different systems, I hope they are at least a bit helpful. The first and last call in my code is in main.c in line 577, this line calls only gtk_main(). This one I get on FreeBSD with GTK 2.8.12: Program received signal SIGSEGV, Segmentation fault. 0x286222e3 in gdk_x11_register_standard_event_type () from /usr/X11R6/lib/libgdk-x11-2.0.so.0 (gdb) bt #0 0x286222e3 in gdk_x11_register_standard_event_type () #from /usr/X11R6/lib/libgdk-x11-2.0.so.0 1 0x28624159 in #gdk_event_get_graphics_expose () #from /usr/X11R6/lib/libgdk-x11-2.0.so.0 2 0x2862432d in #gdk_event_get_graphics_expose () #from /usr/X11R6/lib/libgdk-x11-2.0.so.0 3 0x2872f024 in #g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 4 #0x287309e4 in g_main_context_acquire () #from /usr/local/lib/libglib-2.0.so.0 5 0x28730d0a in g_main_loop_run #() from /usr/local/lib/libglib-2.0.so.0 6 0x28262763 in gtk_main () #from /usr/X11R6/lib/libgtk-x11-2.0.so.0 7 0x08055de7 in main (argc=1, #argv=0xbfbfeb78) at main.c:577 The following two are from Debian testing with GTK 2.8.16: Program received signal SIGSEGV, Segmentation fault. 0xb7bcb34d in gdk_x11_register_standard_event_type () from /usr/lib/libgdk-x11-2.0.so.0 (gdb) bt #0 0xb7bcb34d in gdk_x11_register_standard_event_type () #from /usr/lib/libgdk-x11-2.0.so.0 1 0xb7bcd1a7 in _gdk_events_queue #() from /usr/lib/libgdk-x11-2.0.so.0 2 0xb7bcd31f in #_gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 3 0xb78d911c #in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 4 #0xb78dc5ab in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #5 0xb78dc907 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 6 #0xb7d38261 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 7 #0x080569e7 in main (argc=1, argv=0xbfc23d34) at main.c:577 Program received signal SIGSEGV, Segmentation fault. 0xb79dea39 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0 (gdb) bt #0 0xb79dea39 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0 #1 0xb7c3c369 in gdk_x11_register_standard_event_type () from /usr/lib/libgdk-x11-2.0.so.0 #2 0xb7c3e1a7 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #3 0xb7c3e31f in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #4 0xb7951b8c in g_main_context_dispatch () #from /usr/lib/libglib-2.0.so.0 5 0xb7954f6b in g_main_context_check #() from /usr/lib/libglib-2.0.so.0 6 0xb79552c7 in g_main_loop_run () #from /usr/lib/libglib-2.0.so.0 7 0xb7da9261 in gtk_main () #from /usr/lib/libgtk-x11-2.0.so.0 8 0x080569e7 in main (argc=1, #argv=0xbf896d74) at main.c:577 This one is from another Debian testing system which installed debug libraries of GTK Program received signal SIGSEGV, Segmentation fault. 0xb7c323ad in gdk_event_translate (display=0x814f098, event=0x86e11e0, xevent=0xbf98803c, return_exposes=0) at gdkevents-x11.c:894 894 gdkevents-x11.c: Datei oder Verzeichnis nicht gefunden. in gdkevents-x11.c (gdb) bt #0 0xb7c323ad in gdk_event_translate (display=0x814f098, #event=0x86e11e0, xevent=0xbf98803c, return_exposes=0) at gdkevents-x11.c:894 #1 0xb7c34207 in _gdk_events_queue (display=0x814f098) at #gdkevents-x11.c:2225 2 0xb7c3437f in gdk_event_dispatch #(source=0x814edd0, callback=0, user_data=0x0) at gdkevents-x11.c:2285 #3 0xb794011c in IA__g_main_context_dispatch (context=0x815bce8) at #gmain.c:1916 4 0xb79435ab in g_main_context_iterate #(context=0x815bce8, block=1, dispatch=1, self=0x8153260) at gmain.c:2547 #5 0xb7943907 in IA__g_main_loop_run (loop=0x8787830) at gmain.c:2751 #6 0xb7d9f2a1 in IA__gtk_main () at gtkmain.c:1001 #7 0x08056a27 in main (argc=1, argv=0xbf9882e4) at main.c:577 regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.key Geany, a lightweight IDE using GTK2 - http://geany.uvena.de
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list