Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#14393) yet another server crash
Home

[Freeciv-Dev] (PR#14393) yet another server crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14393) yet another server crash
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Thu, 20 Oct 2005 04:26:47 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14393 >


SVN HEAD 20 OCT 2005 GTK2

Sortly after PR#14392, the server crashed (at turn done AFAIR). Backtrace
below. Not reproducible.

Core and binary available.

Christian


Core was generated by `civserver -f .freeciv/saves/CampoGrande+1500m.sav.gz'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler

Reading symbols from /lib/libreadline.so.5...done.
Loaded symbols for /lib/libreadline.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
#0  0x080633ea in package_unit (punit=0x85dce00, packet=0xbfff9480) at 
unittools.c:1734
1734      packet->owner = punit->owner->player_no;
(gdb) bt full
#0  0x080633ea in package_unit (punit=0x85dce00, packet=0xbfff9480) at 
unittools.c:1734
No locals.
#1  0x0806373a in send_unit_info_to_onlookers (dest=0x83a7b28, punit=0x85dce00, 
ptile=0x65726168, 
    remove_unseen=false) at unittools.c:1878
        info = {id = 1075603656, owner = 0, x = 0, y = 44, homecity = 357, 
veteran = 3, ai = 13, 
  paradropped = false, transported = false, done_moving = false, type = 7, 
transported_by = 273, movesleft = 2, 
  hp = 0, fuel = 22, activity_count = 0, unhappiness = 3, upkeep = {16, 0, 0, 
0, 0, 0}, occupy = 0, 
  goto_dest_x = 0, goto_dest_y = 0, activity = ACTIVITY_IDLE, activity_target = 
S_SPECIAL_1, has_orders = 13, 
  orders_length = 8, orders_index = 0, orders_repeat = 13, orders_vigilant = 
false, orders = {139200256, 
    ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_FULL_MP, 23, 25, 206, 
ORDER_ACTIVITY, ORDER_MOVE, 11, ORDER_MOVE, 
    ORDER_BUILD_CITY, 20, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_ACTIVITY, ORDER_MOVE, ORDER_MOVE, 
    ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 23, 25, ORDER_HOMECITY, 13, 136850176, 
ORDER_MOVE, ORDER_MOVE, 147324928, 
    ORDER_MOVE, 3221222472, 136850216, 135934336, ORDER_MOVE, 3221222488, 
134625241, 136850216, 147364952, 
    139438228, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_MOVE, ORDER_ACTIVITY, 28, 
    ORDER_LAST, 137, ORDER_DISBAND, ORDER_ACTIVITY, 65, 16, ORDER_MOVE, 
ORDER_MOVE, 10, ORDER_HOMECITY, 
    ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_ACTIVITY, 137, ORDER_DISBAND, 
    ORDER_ACTIVITY, 65, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 16, ORDER_MOVE, 
ORDER_TRADEROUTE, 10, ORDER_MOVE, 
    ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
    255, 255, ORDER_HOMECITY, 13, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_MOVE, ORDER_MOVE, 35, 64, ORDER_MOVE, 
    ORDER_MOVE, ORDER_MOVE, ORDER_FULL_MP, ORDER_MOVE, ORDER_TRADEROUTE, 20, 
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
    ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_MOVE, 255, 255, ORDER_MOVE, 13, 
    136872448, ORDER_MOVE, ORDER_MOVE, 147324928, 136850216, 3221198616, 
135245380, 139412968, 136850216, 
    3221198616, 134624837, 147365720, ORDER_MOVE, ORDER_MOVE, 136850216, 
135934336, ORDER_MOVE, 3221222888, 
    134625241, 136850216, 147365720, 139412968, ORDER_MOVE, ORDER_MOVE, 
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
    ORDER_MOVE, ORDER_BUILD_CITY, 20, ORDER_MOVE, 123, ORDER_DISBAND, 
ORDER_MOVE, 59, ORDER_ACTIVITY, ORDER_MOVE, 
    ORDER_MOVE, 10, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
4294967040, ORDER_MOVE, 
    ORDER_MOVE, 123, ORDER_DISBAND, ORDER_MOVE, 59, ORDER_MOVE, ORDER_MOVE, 
ORDER_ACTIVITY, ORDER_ACTIVITY, 
    ORDER_MOVE, ORDER_BUILD_CITY, 10, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 
    ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 255, 255, ORDER_MOVE, 13, 
4294967040, ORDER_MOVE, ORDER_MOVE, 
    999948288, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 1000000000...}, orders_dirs 
= {8 <repeats 12 times>, 
    DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 16, 16, 16, 16, 16, 16, 
DIR8_NORTHWEST, DIR8_NORTHEAST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTH, DIR8_NORTHWEST, 
DIR8_NORTHEAST, DIR8_NORTHEAST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, 
DIR8_NORTHEAST, DIR8_NORTHEAST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHWEST, DIR8_NORTHWEST, 
DIR8_NORTHWEST, DIR8_NORTHWEST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHWEST, 
DIR8_NORTHWEST, DIR8_NORTHEAST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHWEST, DIR8_NORTHWEST, 8, 8, 8, 8, 
8, 8, DIR8_NORTHWEST, 
    DIR8_NORTHWEST, 8, 8, 8, 8, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTH, 8, 
8, DIR8_NORTHWEST, 
    8 <repeats 12 times>, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 
DIR8_NORTHWEST, DIR8_NORTHWEST, 
    DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 
DIR8_NORTHWEST, 
    DIR8_NORTHEAST <repeats 17 times>, DIR8_NORTHWEST, DIR8_NORTHWEST, 
DIR8_NORTHEAST, DIR8_NORTHEAST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHWEST <repeats 14 
times>, 8, 8, 8, 8, 8, 
    DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 
DIR8_NORTHWEST, DIR8_NORTHWEST, 8, 8, 8, 8, 
    8, 8, 8, 8, 8, 8, DIR8_NORTHWEST <repeats 11 times>, DIR8_NORTHEAST 
<repeats 11 times>, DIR8_NORTHWEST, 
    DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, 
DIR8_NORTHEAST, DIR8_NORTHWEST, 
    DIR8_NORTHWEST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, 
DIR8_NORTHEAST, DIR8_SOUTH, DIR8_EAST, 
    DIR8_EAST, DIR8_NORTHWEST <repeats 11 times>, 8, 8, 8, 8, 8, 
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 
    DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 8, 8, 8, 8, 
8, 8, 8...}, orders_activities = {
    ACTIVITY_IDLE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
    ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_FALLOUT, 
    ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
    ACTIVITY_LAST, ACTIVITY_LAST, ACTIVITY_LAST, ACTIVITY_FALLOUT, 
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
    ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IRRIGATE <repeats 11 times>, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IRRIGATE, 
    ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, 
    ACTIVITY_IRRIGATE, ACTIVITY_LAST, ACTIVITY_LAST, ACTIVITY_LAST, 
ACTIVITY_IRRIGATE <repeats 11 times>, 
    ACTIVITY_IDLE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_FALLOUT <repeats 13 
times>, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
    ACTIVITY_IRRIGATE, ACTIVITY_IDLE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
    ACTIVITY_IRRIGATE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IRRIGATE <repeats 26 times>, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
    ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
ACTIVITY_FALLOUT, 
    ACTIVITY_IDLE <repeats 13 times>, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, 
ACTIVITY_IRRIGATE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IRRIGATE <repeats 25 times>, ACTIVITY_IDLE, ACTIVITY_IDLE, 
ACTIVITY_IDLE, ACTIVITY_IDLE, 
    ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
    ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, 
ACTIVITY_IDLE, ACTIVITY_IDLE...}}
        sinfo = {id = 0, owner = 0, x = 0, y = 0, type = 357, veteran = 3, 
occupied = 13, 
  goes_out_of_sight = false, transported = false, hp = 7, activity = 22, 
transported_by = 2, packet_use = 0, 
  info_city_id = 16, serial_num = 0}
#2  0x0806387f in send_unit_info (dest=0x732f6c61, punit=0x85dce00) at 
unittools.c:1908
        conn_dest = (struct conn_list *) 0x65726168
#3  0x080a27a4 in handle_unit_move_request (punit=0x85dce00, 
pdesttile=0x84c043c, igzoc=false, 
    move_diplomat_city=false) at unithand.c:1098
        move_cost = 1932487777
        pplayer = (struct player *) 0x8286c50
        pcity = (struct city *) 0x8c775e8
#4  0x08119e02 in ai_unit_attack (punit=0x85dce00, ptile=0x84c043c) at 
aitools.c:951
        bodyguard = (struct unit *) 0x0
        sanity = 357
        alive = 60
#5  0x081189bc in ai_unit_execute_path (punit=0x85dce00, path=0x89e2440) at 
aitools.c:191
        ptile = (struct tile *) 0x84c043c
        id = 357
        is_ai = true
        i = 1
#6  0x0811b906 in ai_military_rampage (punit=0x85dce00, thresh_adj=1, 
thresh_move=1) at aiunit.c:692
        count = 3
        path = (struct pf_path *) 0x89e2440
#7  0x0811dcca in ai_military_attack (pplayer=0x8286c50, punit=0x85dce00) at 
aiunit.c:1676
        dest_tile = (struct tile *) 0xbffff408
        id = 357
        ct = 10
        pcity = (struct city *) 0xa
        start_tile = (struct tile *) 0x84bf3d4
#8  0x0811e407 in ai_manage_military (pplayer=0x8286c50, punit=0x85dce00) at 
aiunit.c:1994
        id = 357
#9  0x0811e9f1 in ai_manage_unit (pplayer=0x8286c50, punit=0x85dce00) at 
aiunit.c:2148
        bodyguard = (struct unit *) 0x10
#10 0x0811ee06 in ai_manage_units (pplayer=0x8286c50) at aiunit.c:2247
        punit = (struct unit *) 0x732f6c61
        _ids = 0xbffff47c
        _i = 2
        _size = 96
#11 0x08112e70 in ai_do_first_activities (pplayer=0x8286c50) at aihand.c:427
No locals.
#12 0x0805047b in ai_start_phase () at srv_main.c:449
        pplayer = (struct player *) 0x8286c50
        i = 3
#13 0x08050646 in begin_phase (is_new_phase=true) at srv_main.c:570
        pplayer = (struct player *) 0x82840e0
        i = 7
#14 0x08052432 in main_loop () at srv_main.c:1555
        eot_timer = (struct timer *) 0x84b5b88
        save_counter = 1
        is_new_turn = true
#15 0x080525df in srv_main () at srv_main.c:1685
No locals.
#16 0x0804ab69 in main (argc=135603854, argv=0xbffff794) at civserver.c:242
        inx = 3
        showhelp = false
        showvers = false
        option = 0x5 <Address 0x5 out of bounds>
(gdb) quit


-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14393) yet another server crash, Christian Knoke <=