Assertion `is_present(soldier)' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
High
|
Unassigned |
Bug Description
Assert fail with AI game on Ice Wars, tested with https:/
I can't reproduce on trunk because I get some other, earlier assert failures from the AI.
Autosave: save took 1627 ms
7: attacking site at 250x242, score 4, with 3 soldiers, attacking 2 times, after 42 seconds
8: attacking site at 251x237, score 4, with 1 soldiers, attacking 1 times, after 7611 seconds
Forcing flag at (250, 242)
Cmd_EnemyFlagAc
widelands: ../src/
Thread 1 "widelands" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/
51 ../sysdeps/
(gdb) backtrace
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/
#1 0x00007ffff434c801 in __GI_abort () at abort.c:79
#2 0x00007ffff433c39a in __assert_fail_base (fmt=0x7ffff44c37d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
file=
function=
#3 0x00007ffff433c412 in __GI___assert_fail (assertion=
function=
#4 0x0000555556d5f0cb in Widelands:
#5 0x00005555566cf57d in Widelands:
at ../src/
#6 0x0000555557097d01 in Widelands:
#7 0x0000555557086759 in Widelands:
#8 0x00005555566a45a7 in Widelands:
#9 0x0000555556a78857 in InteractiveBase
#10 0x0000555556903cde in UI::Panel::do_think (this=0x6200000
#11 0x0000555556901043 in UI::Panel::do_run (this=0x6200000
#12 0x000055555639c5ae in UI::Panel:
#13 0x00005555566a3dcc in Widelands:
prefix_
#14 0x00005555567ce31b in GameHost::run (this=0x7ffffff
#15 0x0000555556386e4f in WLApplication:
#16 0x00005555563855fa in WLApplication:
#17 0x000055555637c5cc in WLApplication::run (this=0x6110000
#18 0x000055555637831f in main (argc=1, argv=0x7fffffff
Related branches
- GunChleoc: Approve
- Benedikt Straub: Needs Resubmitting
-
Diff: 63 lines (+24/-5)3 files modifiedsrc/logic/map_objects/tribes/militarysite.cc (+10/-2)
src/logic/player.cc (+11/-2)
src/logic/playercommand.cc (+3/-1)
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Benedikt Straub (nordfriese) → nobody |
had the same crash today in a 4 AI player test on Fullmoon. Reloading the last savegame did not trigger the bug again. Seems to be non deterministic, so it might be a pain to track this down.