Segfault in random map generator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Start the editor and create a random map. During map creation, Widelands crashes with:
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x006458bf in Widelands:
(gdb) bt
#0 0x006458bf in Widelands:
#1 0x00622fc7 in MainMenuNewRand
#2 0x0074342c in boost::
#3 0x007ed480 in UI::Button:
#4 0x008062ef in UI::Panel:
#5 0x005cdd80 in WLApplication:
#6 0x008069d9 in UI::Panel::do_run() ()
#7 0x005ef3d0 in EditorInteracti
#8 0x005d2e7e in WLApplication:
#9 0x00586d7e in main ()
Related branches
- Widelands Developers: Pending requested
-
Diff: 24 lines (+3/-2)1 file modifiedsrc/editor/map_generator.cc (+3/-2)
Changed in widelands: | |
assignee: | nobody → Notabilis (notabilis27) |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
assignee: | Notabilis (notabilis27) → nobody |
With bzr8759 it crashes with the message:
widelands: /home/kaputtnik /Quellcode/ widelands- repo/trunk/ src/logic/ map.cc: 411: const string& Widelands: :Map::get_ scenario_ player_ tribe(Widelands ::PlayerNumber) const: Assertion `p <= get_nrplayers()' failed.
Full backtrace attached.