Re: [Freeciv-Dev] CVS seg faults (GTK client)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> Compiled with egcs 2.91.66 under Debian GNU/Linux unstable (x86) with
> libgtk 1.2.1.
Here's another seg fault. This one occurred when I moved a Settler
out of the city which just finished building it. I suspect there's
something out of whack in the case where a unit moves out of a city
(or is killed while defending a city, which is something that occurred
in the first seg fault I reported today).
Program received signal SIGSEGV, Segmentation fault.
0x8123935 in ?? ()
(gdb) where
#0 0x8123935 in ?? ()
#1 0x4008108c in gtk_clist_insert ()
#2 0x8060ac8 in city_report_dialog_update_city (pcity=0x81f3d68)
at cityrep.c:788
#3 0x805b975 in refresh_city_dialog (pcity=0x81f3d68) at citydlg.c:193
#4 0x805a213 in handle_unit_info (packet=0x8205dc0) at packhand.c:470
#5 0x8058e86 in handle_packet_input (packet=0x8205dc0 "\216", type=3)
at civclient.c:137
#6 0x806123b in get_net_input (data=0x0, fid=11, condition=GDK_INPUT_READ)
at clinet.c:147
#7 0x40180d58 in gdk_get_show_events ()
#8 0x401b067a in g_io_add_watch ()
#9 0x401b1d66 in g_get_current_time ()
#10 0x401b22b1 in g_get_current_time ()
#11 0x401b2451 in g_main_run ()
#12 0x400d5cdb in gtk_main ()
#13 0x806859b in ui_main (argc=1, argv=0xbffffa64) at gui_main.c:738
#14 0x8058e14 in main (argc=1, argv=0xbffffa64) at civclient.c:106
(gdb) frame 2
#2 0x8060ac8 in city_report_dialog_update_city (pcity=0x81f3d68)
at cityrep.c:788
788 i=gtk_clist_insert(GTK_CLIST(city_list),i,row);
(gdb) print i
$1 = 0
(gdb) print row
$2 = {0xbffff558 "Babylon ", 0xbffff598 "", 0xbffff5d8 "Peace ",
0xbffff618 "", 0xbffff658 "0/1/0 ", 0xbffff698 "",
0xbffff6d8 "1/2/1 ", 0xbffff718 "0/0/1 ", 0xbffff758 "",
0xbffff798 "4/10 ", 0xbffff7d8 "", 0xbffff818 "Settlers(3/40/142)"}
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
|
|