Editor crash: Assertion `1 <= p && p <= get_nrplayers()' failed.
Bug #1573968 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
1. Start editor
2. Place one or two players
3. Create a new map
Result:
widelands: /home/kaputtnik
Related branches
lp:~widelands-dev/widelands/bug-1573968-new-map-crash
- kaputtnik (community): Approve (testing)
-
Diff: 103 lines (+23/-10)5 files modifiedsrc/editor/editorinteractive.cc (+11/-3)
src/editor/editorinteractive.h (+1/-0)
src/editor/tools/set_starting_pos_tool.cc (+9/-5)
src/editor/ui_menus/main_menu_new_map.cc (+1/-1)
src/editor/ui_menus/main_menu_random_map.cc (+1/-1)
Changed in widelands: | |
status: | New → Confirmed |
assignee: | nobody → GunChleoc (gunchleoc) |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This backtrace was produced through:
1. Start editor
2. Load a one player map
3. Create a new map (usually for testing i choose an unbuildable type of terrain, like water. Didn't know what kind of terrain i have chosen this time and if this is does matter at all)
But those crashes couldn't be reproduced. Earlier i loaded/ saved/created new maps several times without any crash. After closing widelands and restart this crash happens.