Comment 35 for bug 1205149

Revision history for this message
Jens Beyer (qcumber-some) wrote :

In that case... the stacktrace after the crash when clicking the dismantle button and confirm the question:

Program received signal SIGSEGV, Segmentation fault.
0x00000000005c1e4e in Widelands::DismantleSite::init(Widelands::Editor_Game_Base&) ()
(gdb) bt
#0 0x00000000005c1e4e in Widelands::DismantleSite::init(Widelands::Editor_Game_Base&) ()
#1 0x00000000005c2238 in Widelands::DismantleSite::DismantleSite(Widelands::DismantleSite_Descr const&, Widelands::Editor_Game_Base&, Widelands::Coords, Widelands::Player&, bool, std::vector<Widelands::Building_Index, std::allocator<Widelands::Building_Index> >&) ()
#2 0x000000000055e5eb in Widelands::Editor_Game_Base::warp_dismantlesite(Widelands::Coords, unsigned char, bool, std::vector<Widelands::Building_Index, std::allocator<Widelands::Building_Index> >) ()
#3 0x00000000005a15b7 in Widelands::Player::_enhance_or_dismantle(Widelands::Building*, Widelands::Building_Index) [clone .constprop.919] ()
#4 0x00000000005a1663 in Widelands::Player::dismantle_building(Widelands::Building*) ()
#5 0x000000000055c9ca in Widelands::Cmd_Queue::run_queue(int, int&) ()
#6 0x00000000005e4e3f in Widelands::Game::think() ()
#7 0x0000000000677950 in Interactive_Base::think() ()
#8 0x000000000068fe78 in Interactive_Player::think() ()
#9 0x000000000076fa79 in UI::Panel::run() ()
#10 0x00000000005e5a78 in Widelands::Game::run(UI::ProgressWindow*, Widelands::Game::Start_Game_Type) ()
#11 0x00000000005501e5 in WLApplication::new_game() ()
#12 0x000000000055063a in WLApplication::mainmenu_singleplayer() ()
#13 0x0000000000553680 in WLApplication::mainmenu() ()
#14 0x0000000000553d3b in WLApplication::run() ()
#15 0x0000000000544c79 in main ()

and a screenshot of the dismantle preview.