Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10246) Segfault(s) in GTK
Home

[Freeciv-Dev] (PR#10246) Segfault(s) in GTK

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10246) Segfault(s) in GTK
From: "Marek \"Baczek\" Baczyński" <imbaczek@xxxxxxxxx>
Date: Tue, 21 Sep 2004 15:24:18 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10246 >

So I managed to crash Freeciv again, this time in the GTK department.
(And that's still the  same game I started a few hours ago :)) I have
absolutely no idea what caused it -- it happened after some kind of
interaction from my side, but don't remember what exactly. Coredump
availible on request. Savegame from some turns earlier attached.

(gdb) bt
#0  0x40341069 in _gdk_x11_gc_flush () from /usr/lib/libgdk-x11-2.0.so.0
#1  0x40340d82 in _gdk_x11_gc_flush () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x4031856f in gdk_gc_set_values () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x40318d7e in gdk_gc_set_clip_mask () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x08117c84 in gtk_pixcomm_expose (widget=0x82f3908, ev=0x8350b28)
    at gtkpixcomm.c:248
#5  0x40143664 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#6  0x40413fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#7  0x40413c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0x40427655 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#9  0x404269be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x40426ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x40242367 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x400c1adb in gtk_container_propagate_expose ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x400c173f in gtk_container_get_focus_hadjustment ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x40080bfc in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x400bf8e1 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x400c17df in gtk_container_get_focus_hadjustment ()
   from /usr/lib/libgtk-x11-2.0.so.0
#17 0x400e58c8 in gtk_event_box_set_above_child ()
   from /usr/lib/libgtk-x11-2.0.so.0
#18 0x40143664 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#19 0x40413fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#20 0x40413c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0x40427655 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#22 0x404269be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0x40426ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x40242367 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x4014092d in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x4032bf23 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#27 0x4032c02a in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#28 0x4032c085 in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#29 0x40472cf3 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#30 0x4046f932 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#31 0x40470a28 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x40470d60 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x404713a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0x40140213 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x0811a923 in ui_main (argc=1, argv=0xbffff934) at gui_main.c:1105
#36 0x0806e95f in main (argc=1, argv=0xbffff934) at civclient.c:303

I also have another mysterious segfault happening, but am not sure if
it isn't actually an OOM killer (even though I have 300 MB of unused
swap.) This happened during selecting a goto destination.

(gdb) bt
#0  0x4072bf3e in mallopt () from /lib/tls/libc.so.6
#1  0x407ef860 in __after_morecore_hook () from /lib/tls/libc.so.6
#2  0x407eeedc in ?? () from /lib/tls/libc.so.6
#3  0x407ef8a0 in __after_morecore_hook () from /lib/tls/libc.so.6
#4  0x407ef8a8 in __after_morecore_hook () from /lib/tls/libc.so.6
#5  0x00000018 in ?? ()
#6  0x407ef860 in __after_morecore_hook () from /lib/tls/libc.so.6
#7  0x085ec720 in ?? ()
#8  0x00000200 in ?? ()
#9  0x407ef860 in __after_morecore_hook () from /lib/tls/libc.so.6
#10 0x407eeedc in ?? () from /lib/tls/libc.so.6
#11 0x407ef860 in __after_morecore_hook () from /lib/tls/libc.so.6
#12 0x00000001 in ?? ()
#13 0x000001f8 in ?? ()
#14 0x4072b12d in malloc () from /lib/tls/libc.so.6
#15 0x407ef860 in __after_morecore_hook () from /lib/tls/libc.so.6
#16 0x000001f8 in ?? ()
#17 0x404c9398 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x000001f8 in ?? ()
#19 0xbfffc500 in ?? ()
#20 0xbfffc3b8 in ?? ()
#21 0x40476107 in g_malloc () from /usr/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)

Should I forward these reports to GTK/glib maintainers?

-- 
{ Marek Baczyński :: UIN 57114871 :: GG 161671 :: JID imbaczek@xxxxxxxxxxxxx  }
{ http://www.vlo.ids.gda.pl/ | imbaczek at poczta fm | http://www.promode.org }
.. .. .. .. ... ... ...... evolve or face extinction ...... ... ... .. .. .. ..

Attachment: civgame+1030.sav.gz
Description: Unix tar archive


[Prev in Thread] Current Thread [Next in Thread]