Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] (PR#7216) take again client crash
Home

[Freeciv-Dev] (PR#7216) take again client crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7216) take again client crash
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 8 Jan 2004 04:23:54 -0800
Reply-to: rt@xxxxxxxxxxx

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

You crash the client (gtk2, CVS HEAD) by doing 'take' twice.

To reproduce:
Start savegame. Login as 'me', then 'take me player1'.
Then 'take me player2'.
*booom*

gdb output:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1081177664 (LWP 6357)]
handle_tile_info (packet=0x8553550) at packhand.c:1850
1850      enum known_type old_known = ptile->known;
(gdb) bt
#0  handle_tile_info (packet=0x8553550) at packhand.c:1850
#1  0x0807f9b2 in client_handle_packet (type=4080, packet=0x0)
    at packhand_gen.c:76
#2  0x0806b961 in handle_packet_input (packet=0x8553550, type=14)
    at civclient.c:273
#3  0x0806e6d6 in input_from_server (fd=6) at clinet.c:325
#4  0x40284802 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x40419ddf in g_vsnprintf () from /usr/lib/libglib-2.0.so.0
#6  0x403f8b35 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
#7  0x403f9b78 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#8  0x403f9e8d in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#9  0x403fa58f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0x400eaf5f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x0809c6d0 in ui_main (argc=1, argv=0xbfffe4e4) at gui_main.c:1202
#12 0x0806b452 in main (argc=1, argv=0xbfffe4e4) at civclient.c:244
#13 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6

  - Per




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7216) take again client crash, Per I. Mathisen <=