Skip to content

Crash when closing game using window X button #2777

@stephanmeesters

Description

@stephanmeesters

Ran into a game crash with the debugger on, looks like the teardown tries to open the savegame window which then tries to read from an already cleared list. Happened while in skirmish and had the ESC menu open

std::list::begin() list:1105
GameState::findBlockInfoByToken(AsciiString, SnapshotType) GameState.cpp:188
GameState::getSaveGameInfoFromFile(AsciiString, SaveGameInfo *) GameState.cpp:1009
addGameToAvailableList(AsciiString, void *) GameState.cpp:1079
GameState::iterateSaveFiles(void (*)(AsciiString, void *), void *) GameState.cpp:1290
GameState::populateSaveGameListbox(GameWindow *, SaveLoadLayoutType) GameState.cpp:1168
SaveLoadMenuFullScreenInit(WindowLayout *, void *) PopupSaveLoad.cpp:241
WindowLayout::runInit(void *) WindowLayout.h:114
Shell::doPop(bool) Shell.cpp:712
Shell::popImmediate() Shell.cpp:452
Shell::deconstruct() Shell.cpp:96
Shell::~Shell() Shell.cpp:62
GameClient::~GameClient() GameClient.cpp:171
W3DGameClient::~W3DGameClient() W3DGameClient.cpp:74
SubsystemInterfaceList::shutdownAll() SubsystemInterface.cpp:194
GameEngine::~GameEngine() GameEngine.cpp:275
Win32GameEngine::~Win32GameEngine() Win32GameEngine.cpp:57
GameMain() GameMain.cpp:61
WinMain(HINSTANCE__ *, HINSTANCE__ *, char *, int) WinMain.cpp:929

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions