<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39785 >
If I put a coinage in the worklist followed by a unit, the server segfaults on end-of-turn. It seems that city_build_building switches production to whatever comes after the coinage, and then does things with it under the assumption that it's still a building. This makes it not crash: $ svn diff Index: server/cityturn.c =================================================================== --- server/cityturn.c (revision 13840) +++ server/cityturn.c (working copy) @@ -1140,6 +1140,7 @@ pcity->before_change_shields = 0; pcity->shield_stock = 0; choose_build_target(pplayer, pcity); + return TRUE; } upgrade_building_prod(pcity); _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev