[reproducable] SIGSEGV loading saved game: LuaGame::L_Player::get_buildings

Bug #1706226 reported by tsgdb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Undecided
Unassigned

Bug Description

build:18

[loading savegame]
Game: Reading Player Economies Info ... took 8ms
Game: Reading Command Queue Data ... took 19ms
Game: Parsing messages ... took 2ms
Game: Reading Interactive Player Data ... took 6ms
Game_Loader::load() took 1127ms
Done reloading the game from replay
Replay writer has started
[sync] Reset
ComputerPlayer(2): initializing (2)
ComputerPlayer(3): initializing (2)
ComputerPlayer(4): initializing (2)
ComputerPlayer(5): initializing (2)
ComputerPlayer(6): initializing (2)
ComputerPlayer(7): initializing (2)

Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
LuaGame::L_Player::get_buildings (this=0xa21a780, L=0xa21c0d8)
    at /build/widelands-QUgWSe/widelands-18/src/scripting/lua_game.cc:753
753 /build/widelands-QUgWSe/widelands-18/src/scripting/lua_game.cc: file not found

#0 LuaGame::L_Player::get_buildings (this=0xa21a780, L=0xa21c0d8)
    at /build/widelands-QUgWSe/widelands-18/src/scripting/lua_game.cc:753
#1 0x083e4080 in m_method_dispatch<LuaGame::L_Player, LuaGame::L_Player> (L=0xa21c0d8)
    at /build/widelands-QUgWSe/widelands-18/src/scripting/luna_impl.h:184
#2 0xb7e3d5a5 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#3 0xb7e47faf in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#4 0xb7e3cd53 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#5 0xb7e3da71 in lua_resume () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#6 0x08507bd5 in LuaCoroutine_Impl::resume (this=0x98771e8, sleeptime=0xa2170a4)
    at /build/widelands-QUgWSe/widelands-18/src/scripting/coroutine_impl.cc:46
#7 0x0824e887 in Widelands::Game::sample_statistics (this=0xbfffbe8c)
    at /build/widelands-QUgWSe/widelands-18/src/logic/game.cc:1047
#8 0x082bc29f in Widelands::Cmd_CalculateStatistics::execute (this=0x8b83930, game=...)
    at /build/widelands-QUgWSe/widelands-18/src/logic/cmd_calculate_statistics.cc:28
#9 0x082c567d in Widelands::Cmd_Queue::run_queue (this=0xbfffc010, interval=40,
    game_time_var=@0xbfffbebc: 10530001) at /build/widelands-QUgWSe/widelands-18/src/logic/cmd_queue.cc:125
#10 0x0824b8fb in Widelands::Game::think (this=0xbfffbe8c)
    at /build/widelands-QUgWSe/widelands-18/src/logic/game.cc:630
#11 0x081c9f25 in Interactive_Base::think (this=0x8b2caa8)
    at /build/widelands-QUgWSe/widelands-18/src/wui/interactive_base.cc:383
#12 0x081fb370 in Interactive_Player::think (this=0x8b2caa8)
    at /build/widelands-QUgWSe/widelands-18/src/wui/interactive_player.cc:255
#13 0x08398eb6 in UI::Panel::do_think (this=0x8b2caa8)
    at /build/widelands-QUgWSe/widelands-18/src/ui_basic/panel.cc:592
#14 UI::Panel::run (this=0x8b2caa8) at /build/widelands-QUgWSe/widelands-18/src/ui_basic/panel.cc:212
#15 0x082518c7 in Widelands::Game::run (start_game_type=Widelands::Game::Loaded, replay=false,
    script_to_run=..., loader_ui=0xbfffbd48, this=0xbfffbe8c)
    at /build/widelands-QUgWSe/widelands-18/src/logic/game.cc:579
#16 Widelands::Game::run_load_game (this=0xbfffbe8c, filename="save/wl_autosave.wgf", script_to_run="")
    at /build/widelands-QUgWSe/widelands-18/src/logic/game.cc:417
#17 0x08182845 in WLApplication::load_game (this=0x8644f90)
    at /build/widelands-QUgWSe/widelands-18/src/wlapplication.cc:2073
#18 0x08184321 in WLApplication::mainmenu_singleplayer (this=0x8644f90)
    at /build/widelands-QUgWSe/widelands-18/src/wlapplication.cc:1660
#19 0x08185439 in WLApplication::mainmenu (this=0x8644f90)
    at /build/widelands-QUgWSe/widelands-18/src/wlapplication.cc:1577
#20 0x08185bdb in WLApplication::run (this=0x8644f90)
    at /build/widelands-QUgWSe/widelands-18/src/wlapplication.cc:473
#21 0x081778a4 in main (argc=1, argv=0xbffff2c4) at /build/widelands-QUgWSe/widelands-18/src/main.cc:103

You can find the autosave file is attached.

Tags: crash
Revision history for this message
tsgdb (tsgdb) wrote :
Revision history for this message
kaputtnik (franku) wrote :

Hi tsgdb,

thanks for your bug report. Unfortunately build 18 is out of scope for support because the actual release is build 19 and there are so many changes between this versions.

Please try the actual version but be aware that old save games from build18 are incompatible with build19.

Changed in widelands:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.