Thread 1 "widelands" hit Breakpoint 2, std::vector >::_M_range_check (this=0x611000c12718, __n=255) at /usr/include/c++/8/bits/stl_vector.h:960 960 __throw_out_of_range_fmt(__N("vector::_M_range_check: __n " (gdb) bt #0 std::vector >::_M_range_check (this=0x611000c12718, __n=255) at /usr/include/c++/8/bits/stl_vector.h:960 #1 0x00005555567e4ed5 in std::vector >::at (this=0x611000c12718, __n=255) at /usr/include/c++/8/bits/stl_vector.h:981 #2 0x000055555742c838 in DefaultAI::construct_building (this=0x61d000620c80, gametime=125273) at ../src/ai/defaultai.cc:3039 #3 0x0000555557409dc4 in DefaultAI::think (this=0x61d000620c80) at ../src/ai/defaultai.cc:366 #4 0x0000555556862be9 in SinglePlayerGameController::think (this=0x60700000a5f0) at ../src/logic/single_player_game_controller.cc:72 #5 0x00005555567d48d4 in Widelands::Game::think (this=0x7fffffff76c0) at ../src/logic/game.cc:593 #6 0x0000555556bfad0a in InteractiveBase::think (this=0x62500000a100) at ../src/wui/interactive_base.cc:654 #7 0x0000555556c777a1 in InteractivePlayer::think (this=0x62500000a100) at ../src/wui/interactive_player.cc:324 #8 0x0000555556a5c40c in UI::Panel::do_think (this=0x62500000a100) at ../src/ui_basic/panel.cc:485 #9 0x0000555556a59493 in UI::Panel::do_run (this=0x62500000a100) at ../src/ui_basic/panel.cc:186 #10 0x000055555646478e in UI::Panel::run (this=0x62500000a100) at ../src/ui_basic/panel.h:107 #11 0x00005555567d4202 in Widelands::Game::run (this=0x7fffffff76c0, loader_ui=0x7fffffff74e0, start_game_type=Widelands::Game::NewNonScenario, script_to_run="", replay=false, prefix_for_replays="single_player") at ../src/logic/game.cc:570 #12 0x000055555644ed01 in WLApplication::new_game (this=0x6120000001c0) at ../src/wlapplication.cc:1351 #13 0x000055555644c92b in WLApplication::mainmenu_singleplayer (this=0x6120000001c0) at ../src/wlapplication.cc:1207 #14 0x000055555644ba2b in WLApplication::mainmenu (this=0x6120000001c0) at ../src/wlapplication.cc:1113 #15 0x000055555643cc66 in WLApplication::run (this=0x6120000001c0) at ../src/wlapplication.cc:476 #16 0x000055555643853a in main (argc=1, argv=0x7fffffffde48) at ../src/main.cc:44