Crash in defaultai
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
TiborB |
Bug Description
I let all AIs play for some minutes on a big map, and got this crash in check_enemy_
Thread 0 Crashed:: Dispatch queue: com.apple.
0 widelands 0x000000010678ac63 DefaultAI:
1 widelands 0x000000010677d626 DefaultAI::think() + 1766
2 widelands 0x000000010661a07a NetHost::think() + 602
3 widelands 0x0000000106557187 Widelands:
4 widelands 0x00000001066f7e8b InteractiveBase
5 widelands 0x0000000106651a08 UI::Panel:
6 widelands 0x00000001066516dc UI::Panel::do_run() + 396
Related branches
- SirVer: Approve
-
Diff: 39 lines (+10/-2)1 file modifiedsrc/ai/defaultai.cc (+10/-2)
Changed in widelands: | |
status: | New → Fix Committed |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
Similar report bug-1330070, only there it crashed in check_productio nsites( int), but again it was apple.
When debugging with gdb it would show couple of lines above the line '0' and list also the lines in the code...
Do you have line "Crashed Thread:" there?
It would be preferable to run it as debug build, those asserts are there for reason.
This part of AI code was not touched for long time. I would suggest the problem is elsewhere, perhaps with lates UI changes, f.e. I reported this bug-1530723 I got an assert invoked crash but without assert it might behave who knows how