Is this error stack trace? Are you able to run it from VS in debugger?
Just tried. Apparently I need to set some /bigobs-flag to even compile in debug-mode.
Here's the complete Call stack:
ucrtbase.dll!_invoke_watson() Unknown
ucrtbase.dll!_invalid_parameter_internal() Unknown
ucrtbase.dll!_invalid_parameter() Unknown
ucrtbase.dll!_invalid_parameter_noinfo_noreturn() Unknown
> [Inline Frame] OpenXcom.exe!std::_Adjust_manually_vector_aligned(void * &) Line 164 C++
[Inline Frame] OpenXcom.exe!std::_Deallocate(void * _Ptr, unsigned __int64 _Bytes) Line 252 C++
[Inline Frame] OpenXcom.exe!std::allocator<OpenXcom::PathfindingNode>::deallocate(OpenXcom::PathfindingNode * const) Line 946 C++
[Inline Frame] OpenXcom.exe!std::vector<OpenXcom::PathfindingNode,std::allocator<OpenXcom::PathfindingNode>>::_Tidy() Line 2045 C++
OpenXcom.exe!std::vector<OpenXcom::PathfindingNode,std::allocator<OpenXcom::PathfindingNode>>::~vector<OpenXcom::PathfindingNode,std::allocator<OpenXcom::PathfindingNode>>() Line 765 C++
OpenXcom.exe!OpenXcom::Pathfinding::~Pathfinding() Line 67 C++
OpenXcom.exe!OpenXcom::SavedBattleGame::~SavedBattleGame() Line 122 C++
OpenXcom.exe!OpenXcom::SavedGame::setBattleGame(OpenXcom::SavedBattleGame * battleGame) Line 1467 C++
OpenXcom.exe!OpenXcom::DebriefingState::init() Line 804 C++
OpenXcom.exe!OpenXcom::Game::run() Line 169 C++
OpenXcom.exe!SDL_main(int argc, char * * argv) Line 127 C++
[External Code]