Fatal Exception: Bad Cast
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Critical
|
Unassigned |
Bug Description
With current trunk (bzr 8207) i encountered some crash's which i can't reproduce with specific steps. Now i got it with gdb:
Console output:
Fatal exception: std::bad_cast
Game: Writing Preload Data ...
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x00000000010f0883 in Widelands:
at /home/kaputtnik
113 s.set_int(
gdb backtrace is attached.
I guess this is the same issue as described in bug 1648152, but since build 19 is used there, i decided to add a new bug.
Related branches
- TiborB: Approve
- GunChleoc: Approve
-
Diff: 346 lines (+84/-50)10 files modifiedsrc/editor/map_generator.cc (+7/-4)
src/editor/tools/place_immovable_tool.cc (+5/-2)
src/logic/editor_game_base.cc (+29/-15)
src/logic/editor_game_base.h (+12/-5)
src/logic/map_objects/immovable.cc (+10/-12)
src/logic/map_objects/immovable.h (+5/-4)
src/logic/map_objects/tribes/building.cc (+7/-2)
src/logic/map_objects/tribes/worker.cc (+3/-3)
src/map_io/s2map.cc (+2/-1)
src/scripting/lua_map.cc (+4/-2)
Changed in widelands: | |
status: | Triaged → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
I am getting it in the following branch as well, triggers pretty often in the Economy tutorial when the tavern is burned down.
https:/ /code.launchpad .net/~widelands -dev/widelands/ bug-1426465- scenario- timings/ +merge/ 311119