[Freeciv-Dev] [bug #23683] Freeciv segfault on load savegame

2015-08-15 Thread Jacob Nevins
Update of bug #23683 (project freeciv):

  Status:None = Duplicate  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?23683

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


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


[Freeciv-Dev] [bug #23683] Freeciv segfault on load savegame

2015-08-02 Thread Jacob Nevins
Follow-up Comment #2, bug #23683 (project freeciv):

I think this is probably the same as bug #23614.

___

Reply to this item at:

  http://gna.org/bugs/?23683

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


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


[Freeciv-Dev] [bug #23683] Freeciv segfault on load savegame

2015-07-21 Thread Andreas Røsdal
Follow-up Comment #1, bug #23683 (project freeciv):

Attaching a backtrace from gdb from this segfault, seems there is a crash in
get_trade_illness():

Starting program: /usr/local/bin/freeciv-server --file fajnie.sav.gz
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
This is the server for Freeciv version 2.90.99-dev
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading rulesets.
2: Ruleset: 'migration' has been set to enabled.
2: Ruleset: 'migration' has been locked by the ruleset.
2: Ruleset: 'mgr_turninterval' has been set to 3.
2: Ruleset: 'mgr_distance' has been set to 3.
2: Ruleset: 'mgr_nationchance' has been set to 75.
2: Ruleset: 'mgr_worldchance' has been set to 25.
2: Ruleset: 'foggedborders' has been set to enabled.
2: Ruleset: 'techlost_recv' has been set to 5.
2: Ruleset: 'techlost_donor' has been set to 3.
2: Ruleset: 'ec_turns' has been set to 9.
2: Ruleset: 'ec_max_size' has been set to 100.
2: Ruleset: 'ec_info' has been set to enabled.
2: Ruleset: 'techlossforgiveness' has been set to 15.
2: AI*1 has been added as Easy level AI-controlled player (classic).
2: AI*2 has been added as Easy level AI-controlled player (classic).
2: AI*3 has been added as Easy level AI-controlled player (classic).
2: AI*4 has been added as Easy level AI-controlled player (classic).
2: AI*5 has been added as Easy level AI-controlled player (classic).
2: Savegame: 'compresstype' has been set to Using zlib (gzip format)
(LIBZ).
2: Savegame: 'gameseed' has been set to 1436384899.
2: Savegame: 'mapseed' has been set to 2072522909.
2: Savegame: 'tilesperplayer' has been set to 233.
2: Savegame: 'xsize' has been set to 54.
2: Savegame: 'ysize' has been set to 72.
2: Removing player AI*1.
2: Removing player AI*2.
2: Removing player AI*3.
2: Removing player AI*4.
2: Removing player AI*5.

Program received signal SIGSEGV, Segmentation fault.
get_trade_illness (pcity=0xff6ac0) at city.c:2472
2472if (trade_city-turn_plague != -1
(gdb) bt full
#0  get_trade_illness (pcity=0xff6ac0) at city.c:2472
trade_city = 0x0
_proute__iter = 0x0
_proute_ = 0xebff10
illness_trade = 0
#1  city_illness_calc (pcity=0xff6ac0, ill_base=0x0, ill_size=0x0, 
ill_trade=0xff6c10, ill_pollution=0x0) at city.c:2520
use_size = optimized out
illness_size = 199
illness_trade = 0
illness_pollution = 0
illness_base = optimized out
illness_percent = optimized out
#2  0x0049de20 in sg_load_player_city (citystr=optimized out, 
pcity=optimized out, plr=optimized out, loading=optimized out)
at savegame3.c:4229
i = 2
value = 0
string = 0xebff10 ~
nat_x = 16
past = 0x0
nat_y = 16
radius_sq = 15466256
---Type return to continue, or q return to quit---
id = 0
stylename = 0x0
partner = 0
#3  sg_load_player_cities (loading=0xdf42b0, plr=0x7e) at savegame3.c:4041
buf = player0.c1\000ceship, '\000' repeats 14 times
pcity = 0xff6ac0
ncities = 3
__FUNCTION__ = sg_load_player_cities
#4  0x004a3ce4 in sg_load_players (loading=0xdf42b0)
at savegame3.c:3220
pplayer = 0x2a46fc0
__FUNCTION__ = sg_load_players
#5  0x004a5f85 in savegame3_load_real (file=optimized out)
at savegame3.c:520
loading = 0xdf42b0
was_send_city_suppressed = false
was_send_tile_suppressed = false
__FUNCTION__ = savegame3_load_real
#6  0x00418654 in load_command (caller=optimized out, 
filename=optimized out, check=check@entry=false) at stdinhand.c:3653
loadtimer = 0xb7b670
uloadtimer = 0xdf4270
file = 0xb8fe30
---Type return to continue, or q return to quit---
arg = fajnie.sav.gz, '\000' repeats 1507 times...
#7  0x00419e7e in load_command (caller=caller@entry=0x0, 
filename=filename@entry=0xb25e38 srvarg+568 fajnie.sav.gz, 
check=check@entry=false) at stdinhand.c:3714
No locals.
#8  0x0040d5f4 in srv_prepare () at srv_main.c:2695
No locals.
#9  srv_main () at srv_main.c:3075
__FUNCTION__ = srv_main
#10 0x00405524 in main (argc=3, argv=0x7fffde18) at
civserver.c:459
inx = 3
showvers = false
__FUNCTION__ = main


___

Reply to this item at:

  http://gna.org/bugs/?23683

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


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


[Freeciv-Dev] [bug #23683] Freeciv segfault on load savegame

2015-07-10 Thread Sławomir Lach
URL:
  http://gna.org/bugs/?23683

 Summary: Freeciv segfault on load savegame
 Project: Freeciv
Submitted by: lachu
Submitted on: Fri 10 Jul 2015 12:02:07 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: GNU/Linux
 Planned Release: 

___

Details:

freeciv-server segfault, when loading attached savegame



___

File Attachments:


---
Date: Fri 10 Jul 2015 12:02:07 PM UTC  Name: fajnie idzie.sav.gz  Size: 39kB  
By: lachu

http://gna.org/bugs/download.php?file_id=24626

___

Reply to this item at:

  http://gna.org/bugs/?23683

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


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