Update of bug #18221 (project freeciv): Category: None => general Status: None => Confirmed Assigned to: None => cazfi
_______________________________________________________ Follow-up Comment #1: Nicely reproducible in S2_2 head. This is assert failure caused by the fact that player somehow gets negative balance. Backtrace follows. > freeciv-server: server/cityturn.c:1834: player_balance_treasury_units_and_buildings: Assertion `0' failed. (gdb) bt full #0 0x00007ffff719d3d5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 pid = <value optimized out> selftid = <value optimized out> #1 0x00007ffff71a0650 in abort () at abort.c:92 act = {__sigaction_handler = {sa_handler = 0x578408, sa_sigaction = 0x578408}, sa_mask = {__val = { 140737340187112, 140737488346496, 1834, 140737488346736, 140737339251622, 206158430232, 140737488346752, 140737488346528, 140737339163480, 206158430256, 140737488346776, 13255024, 7392, 8390880602273947706, 2316873722724511593, 140737488348520}}, sa_flags = -148176321, sa_restorer = 0x55ad80} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007ffff7196581 in __assert_fail (assertion=0x578408 "0", file=<value optimized out>, line=1834, function=0x55c220 "player_balance_treasury_units_and_buildings") at assert.c:81 buf = 0xca4170 "freeciv-server: server/cityturn.c:1834: player_balance_treasury_units_and_buildings: Assertion `0' failed.n" #3 0x000000000044985c in player_balance_treasury_units_and_buildings (pplayer=0x8f5c70) at server/cityturn.c:1834 ci = {pcity = 0x23ddc70, pimprove = 0x865900} impr_count = <value optimized out> unit_count = <value optimized out> sell_unit = <value optimized out> #4 update_city_activities (pplayer=0x8f5c70) at server/cityturn.c:517 i = <value optimized out> r = <value optimized out> n = 0 gold = 2 __PRETTY_FUNCTION__ = "update_city_activities" #5 0x000000000040a29d in end_phase () at server/srv_main.c:891 MY_i = 14 pplayer = 0x8f5c70 #6 srv_running () at server/srv_main.c:2081 save_counter = 1 is_new_turn = true eot_timer = 0xb464b0 need_send_pending_events = false #7 srv_main () at server/srv_main.c:2446 No locals. #8 0x000000000040406f in main (argc=<value optimized out>, argv=0x7fffffffe278) at server/civserver.c:359 inx = 3 showhelp = <value optimized out> showvers = <value optimized out> option = <value optimized out> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?18221> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev