Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Client core dump unit_list_iterate (PR#1525)
Home

[Freeciv-Dev] Client core dump unit_list_iterate (PR#1525)

[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] Client core dump unit_list_iterate (PR#1525)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Fri, 31 May 2002 15:30:22 -0700 (PDT)

CVS 31 MAY 2002

I've had a client crash in a special situation:
Just before game end, after I conquered the last
enemy city, before turn done, I saved the game.
Loading the saved game and reconnecting the client crashed it.

It was not reproducible, it seems to depend on the client state.

Backtrace:
#0  0x080abebf in city_support (pcity=0x84b7828) at city.c:1900
1900      unit_list_iterate(pcity->units_supported, this_unit) {
(gdb) bt
#0  0x080abebf in city_support (pcity=0x84b7828) at city.c:1900
#1  0x080ac10b in generic_city_refresh (pcity=0x84b7828) at city.c:1989
#2  0x080cb557 in real_fill_out_result (pcity=0x84b7828, result=0xbffff16c)
    at cma_core.c:869
#3  0x080cba4c in fill_out_result (pcity=0x84b7828, result=0xbffff16c, 
    base_combination=0x813d564, scientists=0, taxmen=0) at cma_core.c:1169
#4  0x080cc561 in optimize_final (pcity=0x84b7828, parameter=0xbffff268, 
    best_result=0xbffff228) at cma_core.c:1628
#5  0x080cc9eb in cma_query_result (pcity=0x84b7828, parameter=0xbffff268, 
    result=0xbffff228) at cma_core.c:1868
#6  0x080cc76e in handle_city (pcity=0x84b7828) at cma_core.c:1737
#7  0x080cc8bc in city_changed (pcity=0x84b7828) at cma_core.c:1797
#8  0x080c9b41 in execute_call (call=0x8b646c8) at agents.c:194
#9  0x080c9b9e in call_handle_methods () at agents.c:228
#10 0x080c9c49 in thaw () at agents.c:266
#11 0x080c9d6b in agents_start_turn () at agents.c:382
#12 0x0806cbdb in handle_start_turn () at packhand.c:751
#13 0x08060ae5 in handle_packet_input (packet=0x849b108, type=92) at
civclient.c:438
#14 0x08063943 in input_from_server (fd=7) at clinet.c:327
#15 0x08090432 in get_net_input (data=0x0, fid=7, condition=GDK_INPUT_READ)
    at gui_main.c:1070
#16 0x40193934 in gdk_io_invoke () from /usr/lib/libgdk-1.2.so.0
#17 0x401c53b0 in g_io_unix_dispatch () from /usr/lib/libglib-1.2.so.0
#18 0x401c6c46 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#19 0x401c7273 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#20 0x401c743c in g_main_run () from /usr/lib/libglib-1.2.so.0
#21 0x400df76c in gtk_main () from /usr/lib/libgtk-1.2.so.0
#22 0x0808feaf in ui_main (argc=5, argv=0xbffff624) at gui_main.c:865
#23 0x08060780 in main (argc=5, argv=0xbffff624) at civclient.c:214
#24 0x4034d7ee in __libc_start_main () from /lib/libc.so.6

While I tried to reproduce it, I got a message at game start (in german):
ASV: [] wird nicht mehr von uns verwaltet, da es uns nicht mehr gehört.
Note, the "[]" represents a square on the screen. There should have been
the city name. Also the message is wrong.

core file available.

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Client core dump unit_list_iterate (PR#1525), Christian Knoke <=