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

                 Summary: Freeciv segfault on load savegame
                 Project: Freeciv
            Submitted by: lachu
            Submitted on: Mon 25 May 2015 03:20:03 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: 

    _______________________________________________________

Details:

I attached my savegame.

Below I add backtrace from gdb:
Program received signal SIGSEGV, Segmentation fault.
get_trade_illness (pcity=0x1244e30) at city.c:2472
2472        if (trade_city->turn_plague != -1
Missing separate debuginfos, use: zypper install
krb5-debuginfo-1.13.1-1.2.x86_64 libbz2-1-debuginfo-1.0.6-35.2.x86_64
libcom_err2-debuginfo-1.42.12-2.2.x86_64 libcurl4-debuginfo-7.42.1-1.1.x86_64
libgcc_s1-debuginfo-4.8.3+r218481-2.1.x86_64
libicu54_1-debuginfo-54.1-1.2.x86_64 libidn11-debuginfo-1.30-1.1.x86_64
libkeyutils1-debuginfo-1.5.9-5.1.x86_64
libldap-2_4-2-debuginfo-2.4.39-14.1.x86_64
libopenssl1_0_0-debuginfo-1.0.1k-3.1.x86_64 libpcre1-debuginfo-8.36-1.1.x86_64
libsasl2-3-debuginfo-2.1.26-11.1.x86_64 libselinux1-debuginfo-2.3-4.3.x86_64
libssh2-1-debuginfo-1.5.0-1.1.x86_64
libstdc++6-debuginfo-4.8.3+r218481-2.1.x86_64
libz1-debuginfo-1.2.8-7.2.x86_64
(gdb) backtrace
#0  get_trade_illness (pcity=0x1244e30) at city.c:2472
#1  city_illness_calc (pcity=pcity@entry=0x1244e30,
ill_base=ill_base@entry=0x0, ill_size=ill_size@entry=0x0, 
    ill_trade=ill_trade@entry=0x1244f80,
ill_pollution=ill_pollution@entry=0x0) at city.c:2520
#2  0x000000000049a120 in sg_load_player_city (citystr=0x7fffffffb4c0
"player4.c2", pcity=0x1244e30, plr=0x2a457a0, 
    loading=0xdb98f0) at savegame3.c:4226
#3  sg_load_player_cities (loading=0xdb98f0, plr=0x2a457a0) at
savegame3.c:4038
#4  0x000000000049c56c in sg_load_players (loading=0x2a457a0) at
savegame3.c:3220
#5  0x000000000049e927 in savegame3_load_real (file=<optimized out>) at
savegame3.c:520
#6  0x000000000041889a in load_command (caller=caller@entry=0x0, 
    filename=filename@entry=0xb05a58 <srvarg+568>
"/home/slawomir/.freeciv/saves/testy na personal freedom.sav.gz", 
    check=check@entry=false) at stdinhand.c:3653
#7  0x000000000040d112 in srv_prepare () at srv_main.c:2687
#8  srv_main () at srv_main.c:3067
#9  0x0000000000405116 in main (argc=3, argv=0x7fffffffdb58) at
civserver.c:459






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 25 May 2015 03:20:03 PM UTC  Name: testy na personal freedom.sav.gz 
Size: 42kB   By: lachu

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

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to