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

> [markmet...@yahoo.ca - Sat Jan 17 05:32:43 2009]:
> 
> 2_2, At revision 15422. Running under Fedora Core 9 on 32-bit Dell
> Optimax or Optima or some such name.
>
> The popup saying to report the bug wasn't amenable to the normal
> Xwindows copy/paste facility so I don't have it in my paste buffer.
> Something about '?' and ascii character 63.

Confirmed, the server aborts when loading the game:

2: Loading rulesets
0: Detected fatal error in savegame.c line 306:
0: Unknown ascii value for num: '?' 63
civserver: shared.c:772: real_die: Assertion `0' failed.

Attached is the full backtrace.


-----------------------------------------------------------------------
私のベッドに横たわっているこのものは何だ。
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `/home/book/src/freeciv/freeciv/git-svn/server/civserver'.
Program terminated with signal 6, Aborted.
#0  0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x401aee49 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x401b0872 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x401a8718 in __assert_fail () from /lib/tls/libc.so.6
No symbol table info available.
#4  0x08153eb6 in real_die (file=0x81ad2c6 "savegame.c", line=306, 
    format=0x81b0360 "Unknown ascii value for num: '%c' %d") at shared.c:772
        __PRETTY_FUNCTION__ = "real_die"
#5  0x080c67e0 in player_load_units (plr=0x82d7b6c, plrno=0, file=0xbf87f1b4, 
    savefile_options=0x83e1de0 " attributes client_worklists diplchance_percent 
embassies improvement_order known32fix map_editor new_owner_map orders 
resources rulesetdir rulesets spacerace2 startoptions startunits 
technology_order"..., base_order=0x8bbc1b0) at savegame.c:306
        order = (struct unit_order *) 0x83881d8
        pbase = <value optimized out>
        orders_buf = 0x85a523c "mmmmm"
        dir_buf = 0x85a5270 "11141"
        act_buf = 0x85a52ac "?????"
        base_buf = 0x85a52e4 "?????"
        len = 5
        pcity = <value optimized out>
        nat_y = <value optimized out>
        type = <value optimized out>
        pbase = <value optimized out>
        punit = (struct unit *) 0x8388118
        nat_x = <value optimized out>
        type_name = <value optimized out>
        base = <value optimized out>
        nunits = 18
        i = 3
        j = 0
        activity = <value optimized out>
#6  0x080cafb7 in game_load_internal (file=0xbf87f1b4) at savegame.c:4642
        pplayer = <value optimized out>
        MY_i = <value optimized out>
        loaded_players = 0
        i = <value optimized out>
        k = <value optimized out>
        rstate = {v = {110858037, 2888192473, 1139810201, 922988615, 
4268674650, 2842322444, 
    1080591574, 116647236, 1566443572, 357263454, 491471216, 1648595539, 
3616012815, 
    1960519608, 704667697, 1811311063, 180225025, 2000445886, 1599656126, 
2490614580, 
    3396414574, 1728984743, 2859657269, 3512921241, 474990447, 2663290215, 
1158859838, 
    1633866398, 635464404, 3849400742, 1654856301, 2945604131, 2151016655, 
2669993821, 
    1771682283, 520853819, 3175951126, 3171690031, 2141565956, 2136977119, 
4228626736, 
    3977012155, 2178530021, 3660295052, 158459624, 3901430931, 3327550106, 
1261799287, 
    524691850, 1677292037, 2396604893, 18397818, 3382944109, 3759248431, 
3775909077, 
    2928576877}, j = 4, k = 35, x = 3, is_init = true}
        string = <value optimized out>
        improvement_order_size = 79
        technology_order_size = 182
        civstyle = <value optimized out>
        improvement_order = (char **) 0x83b4cb0
        technology_order = (char **) 0x8412f58
        special_order = (enum tile_special_type *) 0x83e1cf0
        base_order = (struct base_type **) 0x8bbc1b0
        savefile_options = 0x83e1de0 " attributes client_worklists 
diplchance_percent embassies improvement_order known32fix map_editor 
new_owner_map orders resources rulesetdir rulesets spacerace2 startoptions 
startunits technology_order"...
#7  0x080cdf35 in game_load (file=0xbf87f1b4) at savegame.c:4050
        was_send_city_suppressed = false
        was_send_tile_suppressed = false
#8  0x0805d975 in load_command (caller=0x0, filename=0xbf87f82c "bad", 
check=false)
    at stdinhand.c:3454
        testfile = 
"bad.sav.bz2\000\207¿èc\027\b\031\000\000\000±\221\...@èÑ\207¿3Ú\027\b\000\000\000\000è o\b\006\000\000\000\000\000&@\000\000\000\0004Ó\207¿\000Ò\207¿a\213\...@\001\000\000\000\003\000\000\000\000\000\000\000\200\a*@\000Ó\207¿üï)@8Ò\207¿mð\030\b\214Ô\207¿\b²o\bÈÒ\207¿e[\030\b\000\000\000\000tÓ\207¿´Ý\207¿a\213\...@\000\000\000\000\000\0009@ØÒ\207¿(£o\b\000\000\000\000\000\0...@hÒ\207¿(£o\bhÒ\207¿Üw\030\b\000\000\000\000\000\0...@\000\000\000\000\000\0009@\000\000\000\000\000\000&@\000\000\000\000ÄÓ"...
        exts = {0x81977a5 "sav", 0x8198005 "gz", 0x819800c "bz2", 0x8198001 
"sav.gz", 
  0x8198008 "sav.bz2", 0x0}
        ext = <value optimized out>
        paths = {0x81cbc96 "", 0x8197ff7 "scenario/", 0x0}
        path = <value optimized out>
        found = <value optimized out>
        loadtimer = (struct timer *) 0x83b4df8
        uloadtimer = (struct timer *) 0x83b47a8
        file = {filename = 0x82fb628 "./bad.sav.bz2", num_entries = 14815, 
  sections = 0x84eafc0, hash_sections = 0x84eafe0, hashd = 0x841dc08, sb = 
0x84eb1e0}
        arg = "./bad.sav.bz2\000FITNESS FOR A PARTICULAR PURPOSE.  See the\n--  
 GNU General Public License for more details.\n\n-- Get gold from entering a 
hut.\nfunction hut_get_gold(unit, gold)\n  local owner = unit.owne"...
#9  0x0806062a in handle_stdin_input (caller=0x0, str=0x83d0ea8 "load bad", 
    check=<value optimized out>) at stdinhand.c:3736
        pvote = <value optimized out>
        command = 
"load\000ú\207¿¹\226\...@s')@Àñ)@\001\000\000\000¹\226\...@xf=\b²Ã\001@\000\000\000\000øú\207¿8t\...@\004\000\000\000ðú\207¿Ô´o\b,l\...@\230´o\b\220û\207¿´ú\207¿¨\016=\b±\016=\b\001\000\000\000\000\000\000\000Ð\017=\bx\017=\b\200´o\b\bû\207¿,L\037@|f=\b±\016=\b\216Å\...@ëË\r@Àt\...@±\016=\b\000\000\000\000|f=\b\004\000\000\000¨û\207¿\222$\032@<\017=\b¬\017=\b|û\207¿|f=\b\000\000\000\000\bü\207¿\000\000\000\000\000\000\000\000É\016=\bÀ\016=\b\204û\207¿"...
        arg = 
"bad\000ô\213\...@\000\000\000\000\000\000\000\000È\a*@0zo\bÈ...@hø\207¿\200\a*@p¸\000\000¸wo\b\r\000\000\000m\000\000\000\200...@üï)@ìzo\b\000\000\001\000\002\000\003\000]\231\...@\200\a*@¸ZO\b
 
\000\000\000\200...@8ù\207¿\r\000\000\000èzo\b¸wo\b8\000\000\000°zo\bh\000\000\000\216Å\000@ë�...@Àt\026@à_\...@\000\000\000\000\000\000\000\000\004ù\207¿w\212\000@â\206\...@\bú\207¿Üø\207¿lù\207¿\027ñ\032@\000\000\000\020\000\000\000\000\000\000\000\000\001",
 '\0' <repeats 11 times>, "¸x\...@h"...
        allargs = 
"bad\000Øú\207¿\000\000\000\000\000\000\000\000Äö\207¿\000\000\000\000\002\000\000\000lü\207¿ôú\207¿\000\000\000\000ºy\031\b\005\000\000\000ÿÿÿÿ",
 '\0' <repeats 40 times>, "\n\000\000\000^", '\0' <repeats 15 times>, 
"$÷\207¿cë\...@\001", '\0' <repeats 15 times>, 
"dè\...@\002\000\000\000¾y\031\b", '\0' <repeats 12 times>, "ÿÿÿÿîÿÿÿ", '\0' 
<repeats 36 times>, 
"\200...@0\000\000\000¾¦\036@\020\203\...@\000\000\000\000\224÷\207¿\002\000\000\000\002\000\000\000<ý\207¿fè\017@",
 '\0' <repeats 12 times>, "ÿÿÿÿ", '\0' <repeats 12 times>...
        full_command = "load 
bad\000ý\207¿\210ô\207¿È\v\030\b(m...@lo\b¸á/\btý\207¿u\000\000\000\000\000\000\000\230ô\207¿q}\...@À÷\207¿¸yo\b\006\000\000\000\000\000\000\000cë\017@\000\000\000\000|ú\207¿[(\...@ ú\207¿cë\017@\000\000\000\000tý\207¿tý\207¿À÷\207¿hõ\20...@lo\bhú\207¿z\r\034@øô\207¿\204\026\030\bÀ÷\207¿\f\000\000\000\b\000\000\000\000\000\000\000\002\000\000\000øõ\207¿\f\000\000\000q}\...@À÷\207¿øõ\207¿\r\000\000\000\000\000\000\000cë\017@\000\000\000\000q}\...@[(\...@\020û\207¿"...
        cptr_s = 0xbf87f82e "d"
        cptr_d = <value optimized out>
        i = 2
        cmd = CMD_LOAD
        __PRETTY_FUNCTION__ = "handle_stdin_input"
#10 0x080cf70f in handle_readline_input_callback (line=0x83d0ec0 "load bad") at 
sernet.c:191
        line_internal = 0x83d0ea8 "load bad"
#11 0x400f549a in rl_callback_read_char () at ../callback.c:205
        line = 0x83d0ec0 "load bad"
        eof = 0
        jcode = 0
        olevel = {{__jmpbuf = {1074787364, 1074805088, 136665212, -1081606968, 
-1081606992, 
      1074667857}, __mask_was_saved = 1, __saved_mask = {__val = {0 <repeats 32 
times>}}}}
#12 0x080d0454 in server_sniff_all_input () at sernet.c:704
        myiter = <value optimized out>
        max_desc = <value optimized out>
        readfs = {fds_bits = {1, 0 <repeats 31 times>}}
        writefs = {fds_bits = {0 <repeats 32 times>}}
        exceptfs = {fds_bits = {0 <repeats 32 times>}}
        tv = {tv_sec = 0, tv_usec = 885000}
        last_noplayers = 0
        connections = false
#13 0x080553bd in srv_main () at srv_main.c:2255
No locals.
#14 0x0804b535 in main (argc=1, argv=0xbf880424) at civserver.c:283
        inx = 1
        showhelp = 28
        showvers = 8
        option = <value optimized out>
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to