Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14473) civserver segfault
Home

[Freeciv-Dev] Re: (PR#14473) civserver segfault

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14473) civserver segfault
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Mon, 31 Oct 2005 02:53:26 -0800
Reply-to: bugs@xxxxxxxxxxx

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

On Sun, Oct 30, 2005 at 09:53:37PM -0800, Jason Short wrote:
> 
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14473 >
> 
> This is probably the same as PR#14390.

Here is a savegame. Conquer Tallinn. Backtrace below.

Christian



Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves 
--debug 3 --log civ9.log'.
Program terminated with signal 6, Aborted.

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
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  0x400bc83b in raise () from /lib/tls/libc.so.6


(gdb) bt full
#0  0x400bc83b in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x400bdfa2 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x400b62df in __assert_fail () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x080a0b19 in real_unit_change_homecity (punit=0x13a, new_pcity=0x8170426) 
at unithand.c:315
        old_pcity = (struct city *) 0x0
        old_owner = (struct player *) 0x8284500
        new_owner = (struct player *) 0x401c5e80
#4  0x08068a9b in transfer_city_units (pplayer=0x828b198, pvictim=0x8284500, 
units=0x84ec508, pcity=0x84d9108, 
    exclude_city=0x0, kill_outside=-1, verbose=false) at citytools.c:598
        new_home_city = (struct city *) 0x0
        vunit = (struct unit *) 0x84eb0e8
        ptile = (struct tile *) 0x86026c0
#5  0x08069186 in transfer_city (ptaker=0x828b198, pcity=0x84d9108, 
kill_outside=0, transfer_unit_verbose=false, 
    resolve_stack=false, raze=false) at citytools.c:818
        i = 0
        i = 0
        pgiver = (struct player *) 0x8284500
        old_trade_routes = {613566788, -19, 0, 1}
        had_small_wonders = {vec = '\0' <repeats 24 times>}
        old_city_name = 
"Awasa\000\000\000\000\000\000\000\b%S\b\a\000\000\000\000\000\000\000V\000\000\000\b\221M\b"
        old_vision = (struct vision *) 0x84da030
#6  0x080814ae in civil_war (pplayer=0x8284500) at plrhand.c:1703
        myiter = (struct genlist_link *) 0x84dafd8
        pcity = (struct city *) 0x84d9108
        i = 9
        j = 16
        cplayer = (struct player *) 0x828b198
#7  0x08065640 in handle_unit_move_consequences (punit=0x834d540, 
src_tile=0x8610080, dst_tile=0x8610dc0)
    at unittools.c:2543
        fromcity = (struct city *) 0x0
        tocity = (struct city *) 0x84e8b90
        homecity = (struct city *) 0x84bcd58
        pplayer = (struct player *) 0x8282f48
        refresh_homecity = false
#8  0x08065db0 in move_unit (punit=0x834d540, pdesttile=0x8610dc0, move_cost=1) 
at unittools.c:2807
        pplayer = (struct player *) 0x6
        PI_p_itr = 6
        tile1 = (struct tile *) 0x8610e40
        _y_itr = 38
        _is_border = false
        _x_itr = 2
        dummy_y = 6
        _index = 9
        pplayer = (struct player *) 0x8282f48
        psrctile = (struct tile *) 0x8610080
        pcity = (struct city *) 0x0
        ptransporter = (struct unit *) 0x0
        old_vision = (struct vision *) 0x8392390
#9  0x080a2799 in handle_unit_move_request (punit=0x834d540, 
pdesttile=0x8610dc0, igzoc=false, 
    move_diplomat_city=false) at unithand.c:1149
        move_cost = 0
        pplayer = (struct player *) 0x8282f48
        pcity = (struct city *) 0x84e8b90
#10 0x0806657f in execute_orders (punit=0x834d540) at unittools.c:3042
        order = {order = ORDER_MOVE, dir = DIR8_SOUTHWEST, activity = 
ACTIVITY_LAST}
        dst_tile = (struct tile *) 0x8610dc0
        res = false
        unitid = 474
        pplayer = (struct player *) 0x8282f48
        moves_made = 1
        activity = ACTIVITY_IDLE
#11 0x080a39dd in handle_unit_orders (pplayer=0x0, packet=0x8415200) at 
unithand.c:1716
        punit = (struct unit *) 0x834d540
        src_tile = (struct tile *) 0x0
        i = 1
#12 0x080791c2 in server_handle_packet (type=PACKET_UNIT_ORDERS, packet=0x6e61, 
pplayer=0x8282f48, pconn=0x6)
    at hand_gen.c:185
No locals.
#13 0x080513ef in handle_packet_input (pconn=0x81a35c0, packet=0x6, type=59) at 
srv_main.c:1020
        pplayer = (struct player *) 0x8282f48
#14 0x0809b434 in handle_incoming_client_packets (pconn=0x81a35c0) at 
sernet.c:368
        command_ok = 192
        packet = {data = 0x8415200, type = PACKET_UNIT_ORDERS}
#15 0x0809b86d in sniff_packets () at sernet.c:688
        myiter = (struct genlist_link *) 0x81a35c0
        pconn = (struct connection *) 0x5
        i = 135935424
        max_desc = 5
        readfs = {__fds_bits = {32, 0 <repeats 31 times>}}
        writefs = {__fds_bits = {0 <repeats 32 times>}}
        exceptfs = {__fds_bits = {0 <repeats 32 times>}}
        tv = {tv_sec = 0, tv_usec = 176000}
        year = 1010
#16 0x08052475 in main_loop () at srv_main.c:1584
        eot_timer = (struct timer *) 0x84b7730
        save_counter = 1
        is_new_turn = true
#17 0x080525af in srv_main () at srv_main.c:1685
No locals.
#18 0x0804ab69 in main (argc=135601358, argv=0xbffff754) at civserver.c:242
        inx = 12
        showhelp = false
        showvers = false
        option = 0x5 <Address 0x5 out of bounds>

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

Attachment: Helen+1010.sav.gz
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]