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

2015-08-15 Thread Jacob Nevins
Update of bug #23614 (project freeciv): Depends on: = bugs #23786 ___ Reply to this item at: http://gna.org/bugs/?23614 ___ Message sent

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

2015-08-15 Thread Jacob Nevins
Update of bug #23614 (project freeciv): Planned Release: = 3.0.0 ___ Follow-up Comment #5: Bug #23786 fixes the get_trade_illness() crash without adding city_illness_calc() to

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

2015-08-09 Thread Jacob Nevins
Follow-up Comment #4, bug #23614 (project freeciv): To ensure correct cached illness values on the server, city_illness_calc() could be called from city_refresh_from_main_map() or city_refresh(). Those get called at a suitably late time in the loading sequence. I don't know how expensive it is;

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

2015-08-02 Thread Jacob Nevins
Follow-up Comment #3, bug #23614 (project freeciv): See also bug #23683. ___ Reply to this item at: http://gna.org/bugs/?23614 ___ Message sent via/by Gna! http://gna.org/

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

2015-05-25 Thread SÅ‚awomir Lach
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

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

2015-05-25 Thread Jacob Nevins
Follow-up Comment #1, bug #23614 (project freeciv): I've seen this too. I'm guessing it's due to sg_load_player_city() calling city_illness_calc() calling get_trade_illness() before all cities have been loaded, and an unlucky forward-referencing trade route. (Certainly trade_city is NULL in my

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

2015-05-25 Thread Jacob Nevins
Follow-up Comment #2, bug #23614 (project freeciv): If I bodge around that, I get another crash a bit later: #0 city_tile (pcity=pcity@entry=0x0) at ../../common/city.c:1074 #1 0x006458f5 in cities_trade_route_type ( pcity1=pcity1@entry=0x27389d0, pcity2=pcity2@entry=0x0) at