Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Several bugs discovered when playing large civilisatio
Home

[Freeciv-Dev] Re: Several bugs discovered when playing large civilisatio

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Several bugs discovered when playing large civilisations (PR#1092)
From: s.yeates@xxxxxxxxxxxxxxxx
Date: Tue, 4 Dec 2001 19:51:38 -0800 (PST)

> > > On Wed, 5 Dec 2001, <s.yeates@xxxxxxxxxxxxxxxx> wrote:
> > > 
> > > > I enjoy playing large civilisations, but have found a number of bugs:
> > > > 
> > > > * Some mass operations (such as selling the same improvement in 700+ 
> > > > cities
> > > > at once via the economy report) cause the client to crash. The message 
> > > > on
> > > 
> > > Question: crash or get so slow it doesn't even refresh?
> > 
> > Crash. The GUI vanishes almost immediately (<0.5 of a second).
> 
> In that case could you please provide us with a GDB stack backtrace?

OK:

Program received signal SIGPIPE, Broken pipe.
0x40321ad4 in write () from /lib/libc.so.6
(gdb) where
#0  0x40321ad4 in write () from /lib/libc.so.6
#1  0xbfffd550 in ?? ()
#2  0x809a297 in write_socket_data (pc=0x8118a40, buf=0x81db508, limit=0) at 
connection.c:204
#3  0x809a351 in flush_connection_send_buffer_all (pc=0x8118a40) at 
connection.c:240
#4  0x809a4d6 in send_connection_data (pc=0x8118a40, data=0xbfffd69c "", 
len=46) at connection.c:332
#5  0x80a241f in send_packet_city_request (pc=0x8118a40, packet=0xbfffe718, 
req_type=PACKET_CITY_SELL) at packets.c:1546
#6  0x8090969 in economy_selloff_callback (w=0x81fd8e0, data=0x1) at 
repodlgs.c:726
#7  0x400c7737 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#8  0x400f2988 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#9  0x400f1e82 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#10 0x400f016d in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x4006b900 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#12 0x4006cd84 in gtk_real_button_released () from /usr/lib/libgtk-1.2.so.0
#13 0x400c7737 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#14 0x400f1d3f in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x400f016d in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x4006b854 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#17 0x4006c79e in gtk_button_button_release () from /usr/lib/libgtk-1.2.so.0
#18 0x400c7419 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#19 0x400f1ebb in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x400f016d in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x40122c90 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#22 0x400c739a in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#23 0x400c66f6 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#24 0x4016aa36 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#25 0x40197717 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#26 0x40197cdb in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#27 0x40197e59 in g_main_run () from /usr/lib/libglib-1.2.so.0
#28 0x400c6069 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#29 0x8080edf in ui_main (argc=1, argv=0xbffff3c4) at gui_main.c:797
#30 0x805ceca in main (argc=1, argv=0xbffff3c4) at civclient.c:178
#31 0x40299aa7 in __libc_start_main () from /lib/libc.so.6


There's a subtly different crash where you buy too many improvements at once in 
the cities dialog:

Program received signal SIGPIPE, Broken pipe.
0x40321ad4 in write () from /lib/libc.so.6
(gdb) where
#0  0x40321ad4 in write () from /lib/libc.so.6
#1  0xbfffd3ac in ?? ()
#2  0x809a297 in write_socket_data (pc=0x8118a40, buf=0x81db508, limit=0) at 
connection.c:204
#3  0x809a351 in flush_connection_send_buffer_all (pc=0x8118a40) at 
connection.c:240
#4  0x809a4d6 in send_connection_data (pc=0x8118a40, data=0xbfffd4f8 "", 
len=46) at connection.c:332
#5  0x80a241f in send_packet_city_request (pc=0x8118a40, packet=0xbfffe518, 
req_type=PACKET_CITY_BUY) at packets.c:1546
#6  0x8075625 in city_buy_callback (w=0x8176030, data=0x0) at cityrep.c:1059
#7  0x400c7737 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#8  0x400f2988 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#9  0x400f1e82 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#10 0x400f016d in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x4006b900 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#12 0x4006cd84 in gtk_real_button_released () from /usr/lib/libgtk-1.2.so.0
#13 0x400c7737 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#14 0x400f1d3f in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x400f016d in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x4006b854 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#17 0x4006c79e in gtk_button_button_release () from /usr/lib/libgtk-1.2.so.0
#18 0x400c7419 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#19 0x400f1ebb in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x400f016d in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x40122c90 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#22 0x400c739a in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#23 0x400c66f6 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#24 0x4016aa36 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#25 0x40197717 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#26 0x40197cdb in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#27 0x40197e59 in g_main_run () from /usr/lib/libglib-1.2.so.0
#28 0x400c6069 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#29 0x8080edf in ui_main (argc=1, argv=0xbffff3c4) at gui_main.c:797
#30 0x805ceca in main (argc=1, argv=0xbffff3c4) at civclient.c:178
#31 0x40299aa7 in __libc_start_main () from /lib/libc.so.6




--    stuart yeates <s.yeates@xxxxxxxxxxxxxxxx> aka `loam'
  "To err is human--but it feels divine."  --  Mae West
X-no-archive:yes




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Several bugs discovered when playing large civilisations (PR#1092), s . yeates <=