Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] (PR#13745) savegame crash
Home

[Freeciv-Dev] (PR#13745) savegame crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13745) savegame crash
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 23 Aug 2005 00:10:57 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Forwarding from pubserver crash reports. Got several of these. No idea
why. - Per

# examining core.23444 in /games/470644/. ...

# using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/200
5-08-23_09.00+mintimeout+original_gamelog/share/freeciv

# running: (echo bt full; echo quit; exec yes '') | gdb  /home/freeciv/.f
reeciv/code/installed/cvs/S2_0/2005-08-23_09.00+mintimeout+original_gamel
og/share/freeciv/../../bin/civserver core.23444

GNU gdb Red Hat Linux (5.2-2)

Copyright 2002 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you 
are

welcome to change it and/or distribute copies of it under certain conditi
ons.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for detail
s.

This GDB was configured as "i386-redhat-linux"...

Core was generated by `/home/freeciv/.freeciv/code/installed/cvs/S2_0/200
5-08-23_09.00+mintimeout+orig'.

Program terminated with signal 6, Aborted.

Reading symbols from /lib/libm.so.6...done.

Loaded symbols for /lib/libm.so.6

Reading symbols from /usr/lib/libz.so.1...done.

Loaded symbols for /usr/lib/libz.so.1

Reading symbols from /lib/libc.so.6...done.

Loaded symbols for /lib/libc.so.6

Reading symbols from /lib/ld-linux.so.2...done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.

Loaded symbols for /usr/lib/gconv/ISO8859-1.so

Reading symbols from /lib/libnss_files.so.2...done.

Loaded symbols for /lib/libnss_files.so.2

Reading symbols from /lib/libnss_nisplus.so.2...done.

Loaded symbols for /lib/libnss_nisplus.so.2

Reading symbols from /lib/libnsl.so.1...done.

Loaded symbols for /lib/libnsl.so.1

Reading symbols from /lib/libnss_dns.so.2...done.

Loaded symbols for /lib/libnss_dns.so.2

Reading symbols from /lib/libresolv.so.2...done.

Loaded symbols for /lib/libresolv.so.2

#0  0x400760a1 in kill () from /lib/libc.so.6

(gdb) #0  0x400760a1 in kill () from /lib/libc.so.6

No symbol table info available.

#1  0x40075e99 in raise () from /lib/libc.so.6

No symbol table info available.

#2  0x40077364 in abort () from /lib/libc.so.6

No symbol table info available.

#3  0x4007015d in __assert_fail () from /lib/libc.so.6

No symbol table info available.

#4  0x0809d167 in get_government (gov=127) at government.c:133

        gov = 138487904

#5  0x08080e71 in player_save (plr=0x820659c, plrno=0, file=0xbfffe
940)

    at savegame.c:2443

        i = 135406730

        invs = "$\216'\b¬\216'\b4\217'\bÿÿÿÿD\220'\bÌ\220'\bxáÿ
¿iµ\a\0\0\0\0\0\001\0\0\0\bÀ\e@B\0\0\0\220áÿ¿+\0\0\0(âÿ¿
\211Ö\a\b@éÿ¿\220áÿ¿\205$\022\b+\0\0\0", '0' <repeats 66 ti
mes>, "\0¿\001\0\0\0$$\022\b\0\0\0\0Ä\0\0\0àáÿ¿àáÿ¿à
áÿ¿àáÿ¿àáÿ¿(âÿ¿i-\b\b\004\0\0\0àáÿ¿à
"

        ship = (struct player_spaceship *) 0x8208828

        ai = (struct ai_data *) 0x81d0d20

        gov = (struct government *) 0x4e

#6  0x080852e5 in game_save (file=0xbfffe940) at savegame.c:3821

        pplayer = (struct player *) 0x0

        PI_p_itr = 0

        file = (struct section_file *) 0xbfffe940

        i = 136755184

        options = "startoptions spacerace2 rulesets diplchance_percent worklis
ts2 map_editor known32fix turn attributes watchtower rulesetdir client_wo
rklists orders startunits turn_last_built improvement_order technolo"...

        temp = '0' <repeats 68 times>, "\0y2\b\210äÿ¿räÿ¿\0\0\0\0p
H\206\b\210äÿ¿\023n\017\bèôE\bräÿ¿È¸\034@þQ,\b\a\0\
0\0Ø£\034@\0\0\0\0Èy2\b\034\003\0\0\0\0\0\0\a\0\0\0\b\0\0\0\006\0\0
\0\006\0\0\0\0C\206\bL`\205\bÈOÙ\002\004\0\0\0\f\0\0\0Òäÿ¿\0\
0\0\0\2248\206\bèäÿ¿\236n\017\bøR,\b\0\0\0\0È"

#7  0x0804e7f0 in save_game (orig_filename=0xbfffebf0 "civgame-3950.sav
")

    at srv_main.c:739

        orig_filename = 0x0

        filename = "civgame-3950\0sav\0a3\bàéÿ¿¨éÿ¿ï6\t\b,a3
\bðéÿ¿Èéÿ¿hP*\bàéÿ¿(9\036@¸éÿ¿hP*\bðé
ÿ¿(9\036@Øéÿ¿8Û\r\b\001\0\0\0ðéÿ¿\036\0\0\0w×\t\b
(9\036@(a3\b|Ê \b(a3\b\0\0\0\0(a3\bøéÿ¿\020Û\r\b(a3\b", '\0' 
<repeats 16 times>, "(a3\b\030êÿ¿ß­\005\b´³&\b(a3\b(9\036@\
0\0\0\0\0\0\0\0(a3\bHêÿ¿gÏ\b\b(a3\b\0\0\0\0\0\0\0\0\001\0"...

        file = {filename = 0x0, num_entries = 705, sections = 0x8476c80,
 

  hashd = 0x0, sb = 0x845f4e8}

        timer_cpu = (struct timer *) 0x82be828

        timer_user = (struct timer *) 0x82c1050

#8  0x0804e98d in save_game_auto () at srv_main.c:786

        filename = "civgame-3950.sav\0\0\0\03\0\0\0\031\0\0\0\020CH\b\023n\023
\220H\207#@èìÿ¿U\224\016\b(a3\bè\017\036@(a3\b\002", '\0' <repe
ats 11 times>, "\023n\023\220H\207#@)eÒ\f\231k'@R\024\201ú¦`\b\b\0\
0\0\0\001\0\0\0è\017\036@\004\0\0\0\003\0\0\0|Ê \b0000\220ìÿ¿¨
¾\035@\200ìÿ¿\001\0\0\0\005\0\0\0\n\0\0\0\0\0\0\0\002\0\0\0!¥\n
C", '\0' <repeats 208 times>, "Ù\231\022@\f\003\027@xíÿ¿}\236\017
@\0\0\0\0\f\003\027@¨íÿ¿ã¥\016"...

#9  0x0804f8fe in main_loop () at srv_main.c:1575

        eot_timer = (struct timer *) 0x840a110

        save_counter = 0

        is_new_turn = true

#10 0x0804fa8d in srv_main () at srv_main.c:1673

No locals.

#11 0x0804a5f0 in main (argc=14, argv=0xbfffeed4) at civserver.c:200

        argc = 14

        argv = (char **) 0xbfffeed4

        inx = 14

        showhelp = false

        showvers = false

        option = 0x0

#12 0x400651c4 in __libc_start_main () from /lib/libc.so.6

No symbol table info available.

(gdb) [... 0 lines skipped ...]




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