URL:
<http://gna.org/bugs/?24146>
Summary: City entered to city_freeze_workers_queue() not
thawed in the end of phase
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 06 Dec 2015 07:15:02 PM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.5.2, 2.6.0, 3.0.0
_______________________________________________________
Details:
Found on a alternating movement mode autogame (presumably it matters that
there's phase transitions that are not full turn transitions at the same
time). City was entered to city_freeze_workers_queue() in previous phase and
in the sanity_check() of the next phase it failed since it had still
server.workers_frozen set.
Backtrace of the city_freeze_workers_queue() from S2_5 modified by debug
prints and such:
#0 city_freeze_workers (pcity=0xddaff0) at server/citytools.c:129
#1 0x00000000004a8821 in city_freeze_workers_queue (pcity=0xddaff0) at
server/citytools.c:165
#2 0x00000000004b1912 in city_map_update_tile_direct (ptile=0xf85470,
queued=true) at server/citytools.c:2884
#3 0x00000000004b1968 in city_map_update_tile_frozen (ptile=0xf85470) at
server/citytools.c:2903
#4 0x00000000004d28ff in map_claim_border_ownership (ptile=0xf85470,
powner=0x29309c0, psource=0xf831c0)
at server/maphand.c:2010
#5 0x00000000004d295a in map_claim_ownership (ptile=0xf85470,
powner=0x29309c0, psource=0xf831c0)
at server/maphand.c:2024
#6 0x00000000004d2fce in map_claim_border (ptile=0xf831c0, owner=0x29309c0)
at server/maphand.c:2119
#7 0x00000000004b519d in city_populate (pcity=0xd32300,
nationality=0x29309c0) at server/cityturn.c:946
#8 0x00000000004b9db8 in update_city_activity (pcity=0xd32300) at
server/cityturn.c:2456
#9 0x00000000004b3fbd in update_city_activities (pplayer=0x29309c0) at
server/cityturn.c:574
#10 0x0000000000438f38 in end_phase () at server/srv_main.c:1100
#11 0x000000000043cd3e in srv_running () at server/srv_main.c:2442
#12 0x000000000043e4b0 in srv_main () at server/srv_main.c:2951
#13 0x0000000000432124 in main (argc=4, argv=0x7fffffffe108) at
server/civserver.c:454
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24146>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev