URL:
  <http://gna.org/bugs/?24848>

                 Summary: Segfault on loading 2.4 and 2.5 savegames
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Mon 11 Jul 2016 12:55:35 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: TRUNK
         Discussion Lock: Any
        Operating System: None
         Planned Release: 
 Contains string changes: None

    _______________________________________________________

Details:

Both the attached savegames crashes Freeciv trunk.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4c4fb65 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x00007ffff4c4fb65 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00000000004c57b5 in send_ruleset_control (dest=dest@entry=0xcb36f0) at
ruleset.c:3785
        part = {
          text = "\000\000\000\000\000\000\000\000I\267e", '\000' <repeats 13
times>,
"\367\300e\000\000\000\000\000\020\263\377\377\377\177\000\000\020\024\317\000\000\000\000\000P\302\364\000\000\000\000\000Px\366\000\000\000\000\000\b\000\000\000\000\000\000\000\207\034f\000\000\000\000\000\377\377\377\377\000\000\000\000
\232\317\000\000\000\000\000savefile.bases_vector,3\000,5\000\070\067\000\000\000\016\000\000\000\000\000\000\000@",
'\000' <repeats 15 times>, "\002\000\000\000\060", '\000' <repeats 19 times>,
"[\000\000\000n", '\000' <repeats 19 times>...}
        this_len = <optimized out>
        desc_left = <optimized out>
        idx = 0
#2  0x00000000004db8c9 in send_rulesets (dest=0xcb36f0) at ruleset.c:7882
No locals.
#3  0x000000000044a391 in load_command (caller=<optimized out>,
filename=<optimized out>, check=check@entry=false,
cmdline_load=cmdline_load@entry=true) at stdinhand.c:3731
        loadtimer = 0xf4c0b0
        uloadtimer = 0xf4c150
        file = 0xcf1410
        arg = "./../testsav/2.5_romskip_pre_launch_uferdig.sav.bz2", '\000'
<repeats 1613 times>...
#4  0x000000000044bcb1 in load_command (caller=caller@entry=0x0,
filename=filename@entry=0xc65098 <srvarg+568>
"./../testsav/2.5_romskip_pre_launch_uferdig.sav.bz2",
check=check@entry=false, cmdline_load=cmdline_load@entry=true) at
stdinhand.c:3780
No locals.
#5  0x000000000043ecf2 in srv_prepare () at srv_main.c:2761
No locals.
#6  srv_main () at srv_main.c:3167
        __FUNCTION__ = "srv_main"
#7  0x0000000000435a90 in main (argc=3, argv=0x7fffffffe5c8) at
civserver.c:475
        inx = 3
        showhelp = <optimized out>
        showvers = <optimized out>
        option = <optimized out>
        __FUNCTION__ = "main"





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 11 Jul 2016 12:55:36 PM UTC  Name:
2.5_romskip_pre_launch_uferdig.sav.bz2  Size: 20kB   By: sveinung

<http://gna.org/bugs/download.php?file_id=27908>
-------------------------------------------------------
Date: Mon 11 Jul 2016 12:55:35 PM UTC  Name: 2.4-test_v3.sav.bz2  Size: 16kB  
By: sveinung

<http://gna.org/bugs/download.php?file_id=27907>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24848>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to