← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/savegame-menu into lp:widelands

 

I have been testing the branch and today got it crash.

This is how it crashes:

Single Player
New Game
Click Crater and then OK
Start game
Main Menu
Save Game
Write some Filename and then OK
Main Menu
Exit Game 
OK
Watch Replay
Choose the saved game and then OK
Wait until the end of replay and "End of repaly" message pops up.
Click OK
Game crashes, "Segmentation fault"




Here is few lines of what gdb says about it.



REPLAY: End of replay (gametime: 10434)

Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x000055555610c735 in UI::Button::set_enabled (this=0x0, on=false) at /usr/src/bzr/widelands-repo/savegame-menu/src/ui_basic/button.cc:128
128             if (enabled_ == on)
#0  0x000055555610c735 in UI::Button::set_enabled (this=0x0, on=false) at /usr/src/bzr/widelands-repo/savegame-menu/src/ui_basic/button.cc:128
#1  0x000055555611cdec in UI::WLMessageBox::clicked_ok (this=0x7fffffffa520) at /usr/src/bzr/widelands-repo/savegame-menu/src/ui_basic/messagebox.cc:150
#2  0x000055555611dc6f in boost::_mfi::mf0<void, UI::WLMessageBox>::operator() (this=0x55555d6f5230, t=...) at /usr/include/boost/bind/mem_fn_template.hpp:70




I tested the same with trunk and it didn't crash.

-- 
https://code.launchpad.net/~widelands-dev/widelands/savegame-menu/+merge/322924
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/savegame-menu.


References