[Freeciv-Dev] [bug #17603] Seg fault when loading savefiles past turn 1

2011-01-31 Thread Matthias Pfafferodt

Update of bug #17603 (project freeciv):

Severity:  3 - Normal = 4 - Important  
  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 

___

Follow-up Comment #3:

fast fix to allow loading of savegames ...

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17603] Seg fault when loading savefiles past turn 1

2011-01-30 Thread Matthias Pfafferodt

Update of bug #17603 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = syntron
 Planned Release: = 2.4.0  

___

Follow-up Comment #1:

fix sanity check for savegames

* do a sanity check for each city at saving and loading of a game
* sanity check needs a call to city_refresh() to clean up the feeling of the
citizens

see gna bug #17603
reported by Micke someswede

(file #12180)
___

Additional Item Attachment:

File name: 20110130-fix-sanity-check-for-savegames.patch Size:1 KB


___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17603] Seg fault when loading savefiles past turn 1

2011-01-29 Thread Micke

URL:
  http://gna.org/bugs/?17603

 Summary: Seg fault when loading savefiles past turn 1
 Project: Freeciv
Submitted by: someswede
Submitted on: Sat Jan 29 22:26:06 2011
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 19147, 19138
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

When I try to load a game saved turn 2 or later, the server aborts with a seg
fault. This applies regardless of ruleset and whether is was a manual- or
autosave.
Compiled with ai modules, shared libraries and debug enabled.


./ser --file ~/.freeciv/saves/freeciv-T0003-Y-3850-auto.sav.gz
Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8
This is the server for Freeciv version 2.3.99-dev
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading rulesets.
2: AI*1 has been added as Easy level AI-controlled player.
2: AI*2 has been added as Easy level AI-controlled player.
2: AI*3 has been added as Easy level AI-controlled player.
2: AI*4 has been added as Easy level AI-controlled player.
2: AI*5 has been added as Easy level AI-controlled player.
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.
2: Napeshneeduta has been added as human player.
1: in sg_load_player_city() [savegame2.c::3990]: assertion
'city_size_get(pcity) - spe == sum' failed.
1: (  75,   22) in Ettelbréck[1]
1: Please report this message at http://gna.org/projects/freeciv/
1: in sg_load_player_city() [savegame2.c::3990]: assertion
'city_size_get(pcity) - spe == sum' failed.
1: (  75,   22) in Ettelbréck[1]
1: Please report this message at http://gna.org/projects/freeciv/
1: in sg_load_player_city() [savegame2.c::3990]: assertion
'city_size_get(pcity) - spe == sum' failed.
1: (  75,   22) in Ettelbréck[1]
1: Please report this message at http://gna.org/projects/freeciv/
1: in sg_load_player_city() [savegame2.c::3990]: assertion
'city_size_get(pcity) - spe == sum' failed.
1: (  75,   22) in Ettelbréck[1]
1: Please report this message at http://gna.org/projects/freeciv/
1: in sg_load_player_city() [savegame2.c::3990]: assertion
'city_size_get(pcity) - spe == sum' failed.
1: (  75,   22) in Ettelbréck[1]
1: Please report this message at http://gna.org/projects/freeciv/
Segmentation fault




___

File Attachments:


---
Date: Sat Jan 29 22:26:06 2011  Name: freeciv-T0003-Y-3850-auto.sav.gz  Size:
29kB   By: someswede

http://gna.org/bugs/download.php?file_id=12168
---
Date: Sat Jan 29 22:26:06 2011  Name: config.status  Size: 93kB   By:
someswede

http://gna.org/bugs/download.php?file_id=12169
---
Date: Sat Jan 29 22:26:06 2011  Name: config.log  Size: 179kB   By: someswede

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

___

Reply to this item at:

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

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


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