Follow-up Comment #4, bug #20626 (project freeciv): Here's a backtrace with head-of-S2_3 (r22707) compiled with -O0 -g.
#0 0x0000000000427532 in server_remove_unit (punit=0x3764af0) at unittools.c:1434 pcargo_iter = 0x1f pcargo = 0x6c657661726143 ptile = 0x7f2add0cf028 pcity = 0x0 phomecity = 0x0 ptrans = 0x259d480 __FUNCTION__ = "server_remove_unit" #1 0x00000000004279c3 in unit_lost_with_transport (pplayer=0x35eb010, pcargo=0x3764af0, ptransport=0xab36f0, killer=0x3588550) at unittools.c:1537 No locals. #2 0x0000000000427f1a in wipe_unit (punit=0x3765030, count_lost=true, killer=0x3588550) at unittools.c:1618 ptransport = 0x0 pcargo = 0x3764af0 pcargo_numbers = 0x7fffb9190bd0 pcargo_index = 0 pcargo_size = 3 pcity = 0x3763070 ptile = 0x329e758 pplayer = 0x35eb010 putype_save = 0xab36f0 drowning = 3 homecity_id = 0 __FUNCTION__ = "wipe_unit" #3 0x00000000004ea490 in unit_attack_handling (punit=0x3765030, pdefender=0x3755bb0) at unithand.c:1131 loser_link = "[l tgt="tile" x=209 y=103]Caravel[/l] 00 00 00321363_ 00 00 00 00 00 01 00 00 00 30 00 00 00220]u 03 00 00 00 00p 16 31271377177 00 00260347) 03 00 00 00 00240 16 31271377177 00 00ЧR 00 00 00 00 00260347) 03 00 00 00 00 60Pv 03 00 00 00 00260347) 03 16 00 00 00220]u 03 00 00 00" winner_link = "[l tgt="unit" id=1696 name="Alpine Troops" /] 00 00 00p 00 00 00 01 00 00 00n 00 00 00 24 00 00 00225 33350a240230333=+I(320Ma375=d223M6331d303?'233l262311&353? 34 00 00 00n 00 00 00 24 00 00 00n 00 00 00@ 16 31271377177 00 00357235R 00 00 00 00" ploser = 0x3765030 pwinner = 0x3755bb0 pcity = 0x3cb355c4e8ff0e2f moves_used = 6 def_moves_used = 0 old_unit_vet = 0 old_defender_vet = 1 vet = 1 winner_id = 1696 def_tile = 0x329e7b0 pplayer = 0x35eb010 __FUNCTION__ = "unit_attack_handling" #4 0x00000000004eb591 in unit_move_handling (punit=0x3765030, pdesttile=0x329e7b0, igzoc=false, move_diplomat_city=false) at unithand.c:1461 victim = 0x3755bb0 pplayer = 0x35eb010 pcity = 0x371e160 __FUNCTION__ = "unit_move_handling" #5 0x000000000045b92d in ai_unit_attack (punit=0x3765030, ptile=0x329e7b0) at aitools.c:1018 bodyguard = 0x0 sanity = 1784 alive = false __FUNCTION__ = "ai_unit_attack" #6 0x000000000045b9eb in ai_unit_move_or_attack (punit=0x3765030, ptile=0x329e7b0, path=0x2f4ad20, step=3) at aitools.c:1038 No locals. #7 0x000000000045f10e in adv_unit_execute_path (punit=0x3765030, path=0x2f4ad20) at advgoto.c:100 _plr_ = 0x35eb010 ptile = 0x329e7b0 id = 1784 is_ai = true i = 3 __FUNCTION__ = "adv_unit_execute_path" #8 0x000000000045ef03 in adv_follow_path (punit=0x3765030, path=0x2f4ad20, ptile=0x329e7b0) at advgoto.c:57 old_tile = 0x329e7b0 activity = ACTIVITY_IDLE alive = false #9 0x0000000000443b99 in ai_amphibious_goto_constrained (ferry=0x3765030, passenger=0x3764cb0, ptile=0x329e7b0, parameter=0x7fffb9191220) at aiferry.c:584 alive = true pplayer = 0x35eb010 pfm = 0x3560cd0 path = 0x2f4ad20 __FUNCTION__ = "ai_amphibious_goto_constrained" #10 0x0000000000444095 in aiferry_goto_amphibious (ferry=0x3765030, passenger=0x3764cb0, ptile=0x329e7b0) at aiferry.c:653 parameter = {land = {start_tile = 0x329a4a8, moves_left_initially = 3, fuel_left_initially = 1, move_rate = 3, fuel = 1, owner = 0x35eb010, uclass = 0xafcbf0, unit_flags = { vec = " 00b 00 00 00 00 00"}, omniscience = true, get_MC = 0x61f0ef <normal_move_unit>, unknown_MC = 6, get_TB = 0x61fa1f <no_intermediate_fights>, get_EC = 0, can_invade_tile = 0x5ed342 <player_can_invade_tile>, get_zoc = 0x5fd504 <is_my_zoc>, is_pos_dangerous = 0, get_moves_left_req = 0, get_costs = 0, data = 0x0}, sea = { start_tile = 0x329a4a8, moves_left_initially = 9, fuel_left_initially = 1, move_rate = 9, fuel = 1, owner = 0x35eb010, uclass = 0xafcc80, unit_flags = { vec = " 00 00 00 00b 00 00"}, omniscience = true, get_MC = 0x61ef3e <sea_overlap_move>, unknown_MC = 6, get_TB = 0x61f9c6 <no_fights>, get_EC = 0, can_invade_tile = 0x5ed342 <player_can_invade_tile>, get_zoc = 0, is_pos_dangerous = 0, get_moves_left_req = 0, get_costs = 0, data = 0x3765030}, land_scale = 9, sea_scale = 3, combined = { start_tile = 0x329a4a8, moves_left_initially = 27, fuel_left_initially = 1, move_rate = 27, fuel = 1, owner = 0x35eb010, uclass = 0xafcc80, unit_flags = { vec = " 00 00 00 00 00 00 00"}, omniscience = true, get_MC = 0x61f5b7 <amphibious_move>, unknown_MC = 6, get_TB = 0x61fa78 <amphibious_behaviour>, get_EC = 0x61f802 <amphibious_extra_cost>, can_invade_tile = 0x5ed342 <player_can_invade_tile>, get_zoc = 0, is_pos_dangerous = 0x61ff12 <amphibious_is_pos_dangerous>, get_moves_left_req = 0, get_costs = 0, data = 0x7fffb9191220}} land_risk_cost = {base_value = 0, fearfulness = 2.795469273461707e-316, enemy_zoc_cost = 4.9406564584124654e-324} sea_risk_cost = {base_value = 6.9532970367865322e-310, fearfulness = 0, enemy_zoc_cost = 6.9532970367881132e-310} #11 0x000000000043c4ff in ai_military_attack_barbarian (pplayer=0x35eb010, punit=0x3764cb0) at aiunit.c:1691 ferry = 0x3765030 pc = 0x371e160 only_continent = false __FUNCTION__ = "ai_military_attack_barbarian" #12 0x000000000043d102 in ai_military_attack (pplayer=0x35eb010, punit=0x3764cb0) at aiunit.c:1835 dest_tile = 0x329a4a8 id = 1786 ct = -1 pcity = 0x0 __FUNCTION__ = "ai_military_attack" #13 0x000000000043e4c0 in ai_manage_military (pplayer=0x35eb010, punit=0x3764cb0) at aiunit.c:2138 id = 1786 __FUNCTION__ = "ai_manage_military" #14 0x000000000043f10e in ai_manage_unit (pplayer=0x35eb010, punit=0x3764cb0) at aiunit.c:2323 bodyguard = 0x0 is_ferry = false __FUNCTION__ = "ai_manage_unit" #15 0x000000000044638c in ai_manage_ferryboat (pplayer=0x35eb010, punit=0x3765030) at aiferry.c:1055 bossid = 1786 boss = 0x3764cb0 ptile = 0x329a4a8 pcity = 0x7fffb91916a0 sanity = 1784 unit_data = 0x3765140 __FUNCTION__ = "ai_manage_ferryboat" #16 0x000000000043ef90 in ai_manage_unit (pplayer=0x35eb010, punit=0x3765030) at aiunit.c:2303 bodyguard = 0x0 is_ferry = true __FUNCTION__ = "ai_manage_unit" #17 0x000000000043f92f in ai_manage_units (pplayer=0x35eb010) at aiunit.c:2429 punit = 0x3765030 punit_numbers = 0x7fffb9191760 punit_index = 11 punit_size = 12 __FUNCTION__ = "ai_manage_units" #18 0x00000000004f39c6 in ai_do_first_activities (pplayer=0x35eb010) at aihand.c:484 No locals. #19 0x000000000040a773 in ai_start_phase () at srv_main.c:759 _plr_ = 0x35eb010 MY_i = 3 pplayer = 0x35eb010 __FUNCTION__ = "ai_start_phase" #20 0x000000000040b112 in begin_phase (is_new_phase=true) at srv_main.c:910 __FUNCTION__ = "begin_phase" #21 0x000000000040ed5c in srv_running () at srv_main.c:2134 eot_timer = 0x2bb1ef0 save_counter = 1 is_new_turn = true need_send_pending_events = false __FUNCTION__ = "srv_running" #22 0x000000000040fed5 in srv_main () at srv_main.c:2580 __FUNCTION__ = "srv_main" #23 0x0000000000404bc6 in main (argc=5, argv=0x7fffb9191a98) at civserver.c:377 inx = 5 showhelp = false showvers = false option = 0x25a5950 "320330Y 02" __FUNCTION__ = "main" _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20626> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev