I get a crash when trying to open the buildings statistics menu:

Texture (21925, 7772) too big! Maximum size is 2048.
Fatal exception: Texture (21925, 7772) too big! Maximum size is 2048.
FATAL ERROR - game crashed. Attempting emergency save.

The crash does not appear in current trunk, so i guess it is in this branch.

Backtrace:
FATAL ERROR - game crashed. Attempting emergency save.
Game: Writing Preload Data ... 
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
Widelands::GamePreloadPacket::write (this=0x7fffffff9700, fs=..., game=...)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/game_io/game_preload_packet.cc:114
114             s.set_int("gametype", 
static_cast<int32_t>(game.game_controller()->get_game_type()));
(gdb) bt
#0  Widelands::GamePreloadPacket::write (this=0x7fffffff9700, fs=..., game=...)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/game_io/game_preload_packet.cc:114
#1  0x00005555565af007 in Widelands::GameSaver::save (this=0x7fffffff9800)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/game_io/game_saver.cc:51
#2  0x0000555556148385 in 
SaveHandler::<lambda(FileSystem&)>::operator()(FileSystem &) const (
    __closure=0x7fffffff9cb0, fs=...)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/logic/save_handler.cc:250
#3  0x0000555556148757 in std::_Function_handler<void(FileSystem&), 
SaveHandler::save_game(Widelands::Game&, const string&, 
std::__cxx11::string*)::<lambda(FileSystem&)> >::_M_invoke(const std::_Any_data 
&, FileSystem &) (
    __functor=..., __args#0=...) at 
/usr/include/c++/8.3.0/bits/std_function.h:297
#4  0x0000555556474f11 in std::function<void 
(FileSystem&)>::operator()(FileSystem&) const (this=0x7fffffff9cb0, 
    __args#0=...) at /usr/include/c++/8.3.0/bits/std_function.h:687
#5  0x0000555556472a2d in GenericSaveHandler::save_file (this=0x7fffffff9cb0)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/logic/generic_save_handler.cc:108
#6  0x0000555556472f14 in GenericSaveHandler::save (this=0x7fffffff9cb0)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/logic/generic_save_handler.cc:166
#7  0x00005555561484be in SaveHandler::save_game (this=0x7fffffffa910, 
game=..., 
    complete_filename="save/2019-05-10T22.59.49.wgf", error_str=0x7fffffff9e90)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/logic/save_handler.cc:253
#8  0x0000555555f7434e in WLApplication::emergency_save (game=...)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/wlapplication.cc:1482
#9  0x0000555555f73774 in WLApplication::load_game (this=0x555556d08150)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/wlapplication.cc:1384
#10 0x0000555555f722fe in WLApplication::mainmenu_singleplayer 
(this=0x555556d08150)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/wlapplication.cc:1207
#11 0x0000555555f71c2b in WLApplication::mainmenu (this=0x555556d08150)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/wlapplication.cc:1109
#12 0x0000555555f6dfa7 in WLApplication::run (this=0x555556d08150)
    at 
/home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/wlapplication.cc:465
#13 0x0000555555f6c2be in main (argc=1, argv=0x7fffffffe578)
    at /home/kaputtnik/Quellcode/widelands-repo/font_size-lua/src/main.cc:44
-- 
https://code.launchpad.net/~widelands-dev/widelands/font_size-lua/+merge/366938
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/font_size-lua into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to