AI crashes when a producer is also supporter
Bug #1728006 reported by
Benedikt Straub
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Playing the 1st frisian scenario, I got the following crash:
Fatal exception: [/home/
FATAL ERROR - game crashed. Attempting emergency save.
Game: Writing Preload Data ... Speicherzugriff
The crash is triggered by conquering one of the last military buildings the AI owns. The AI loses a number of buildings from that.
In the attached savegame (needs frisians datadir!), the crash will happen within a short time.
Since the code isn´t tribe-specific, this crash shouldn´t be related to the AI playing as frisians.
Related branches
lp:~widelands-dev/widelands/bug-1728006
- GunChleoc: Approve
-
Diff: 84 lines (+33/-2)2 files modifiedsrc/ai/ai_help_structs.h (+1/-0)
src/ai/defaultai.cc (+32/-2)
Changed in widelands: | |
assignee: | nobody → TiborB (tiborb95) |
summary: |
- AI crashes the game while being conquered + AI crashes when a producer is also supporter |
Changed in widelands: | |
status: | Confirmed → In Progress |
Changed in widelands: | |
milestone: | none → build20-rc1 |
assignee: | TiborB (tiborb95) → GunChleoc (gunchleoc) |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
To post a comment you must log in.
Is frisian branch functional? (I dont want to shuffle the data dir)
Perhaps loosing player just lost last farm... I will look at it...