Page 1 of 1

[1.1.25] Crash with linked chests

Posted: Fri Feb 26, 2021 7:17 am
by 10514187
When we exit the game after using a large number of "linked-chest" in the map, the game will crash or disappear.
This event occurs in each archive.

Code: Select all

446.039 Info ClientMultiplayerManager.cpp:146: Disconnecting multiplayer connection. Reason: Quit.
 446.039 Info ClientMultiplayerManager.cpp:591: UpdateTick(2311351) changing state from(InGame) to(DisconnectScheduled)
 446.064 Info ClientMultiplayerManager.cpp:591: UpdateTick(2311351) changing state from(DisconnectScheduled) to(WaitingForDisconnectConfirmation)
 446.181 Info ClientMultiplayerManager.cpp:591: UpdateTick(2311351) changing state from(WaitingForDisconnectConfirmation) to(Disconnected)
 446.181 Info ClientMultiplayerManager.cpp:909: Disconnect notification for peer (4)
 446.550 Time travel logging:
 322.852 Deleted 421 chunks.
 446.550 Error CrashHandler.cpp:621: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-czqzie\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-czqzie\src\util\logger.cpp (545): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-czqzie\src\util\logger.cpp (552): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-czqzie\src\util\crashhandler.cpp (184): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-czqzie\src\util\crashhandler.cpp (630): CrashHandler::SignalHandler
minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (304): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF77DE64A34)
00007FF77DE64A34 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE39AF197F)
00007FFE39AF197F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE39A9B754)
00007FFE39A9B754 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE39AF04AE)
00007FFE39AF04AE (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF77CC9F790)
00007FF77CC9F790 (Factorio): (filename not available): ElectricNetwork::`scalar deleting destructor'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF77CE837A0)
00007FF77CE837A0 (Factorio): (filename not available): EquipmentGrid::`scalar deleting destructor'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF77D26E286)
00007FF77D26E286 (Factorio): (filename not available): Armor::`scalar deleting destructor'
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF77DE4747E)
00007FF77DE4747E (Factorio): (filename not available): `eh vector destructor iterator'
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\memory (2084): std::default_delete<LinkedInventory>::operator()
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2025): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2023): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2023): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2023): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2023): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2023): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (2025): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::map<unsigned int,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > > >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::map<unsigned int,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > > > > >,0> >::_Erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\xtree (1388): std::_Tree<std::_Tmap_traits<ID<EntityPrototype,unsigned short>,std::map<unsigned int,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > > >,std::less<ID<EntityPrototype,unsigned short> >,std::allocator<std::pair<ID<EntityPrototype,unsigned short> const ,std::map<unsigned int,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> >,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,std::unique_ptr<LinkedInventory,std::default_delete<LinkedInventory> > > > > > >,0> >::erase
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\memory (2296): std::unique_ptr<LinkedInventories,std::default_delete<LinkedInventories> >::~unique_ptr<LinkedInventories,std::default_delete<LinkedInventories> >
c:\cygwin64\tmp\factorio-build-czqzie\src\force\forcedata.cpp (296): ForceData::~ForceData
c:\cygwin64\tmp\factorio-build-czqzie\src\force\forcemanager.cpp (33): ForceManager::~ForceManager
c:\cygwin64\tmp\factorio-build-czqzie\src\map\map.cpp (1265): Map::~Map
c:\cygwin64\tmp\factorio-build-czqzie\src\scenario\scenario.cpp (1117): Scenario::~Scenario
c:\cygwin64\tmp\factorio-build-czqzie\src\net\clientmultiplayermanager.cpp (224): ClientMultiplayerManager::destroy
c:\cygwin64\tmp\factorio-build-czqzie\src\net\clientmultiplayermanager.cpp (215): ClientMultiplayerManager::quit
c:\cygwin64\tmp\factorio-build-czqzie\src\net\clientmultiplayermanager.cpp (69): ClientMultiplayerManager::~ClientMultiplayerManager
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF77D359E84)
00007FF77D359E84 (Factorio): (filename not available): ClientMultiplayerManager::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-build-czqzie\src\mainloop.cpp (1008): MainLoop::prepare
c:\cygwin64\tmp\factorio-build-czqzie\src\mainloop.cpp (689): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-build-czqzie\src\mainloop.cpp (394): MainLoop::run
c:\cygwin64\tmp\factorio-build-czqzie\src\main.cpp (1141): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE37FB7034)
00007FFE37FB7034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE39A9D241)
00007FFE39A9D241 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 452.460 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
 467.210 Uploading log file
 467.332 Error CrashHandler.cpp:258: Heap validation: success.
 467.339 Creating crash dump.
 468.466 CrashDump success

Re: [1.1.25] Crash with linked chests

Posted: Fri Feb 26, 2021 4:27 pm
by Rseding91
Thanks for the report. I noticed this crash in the automatic crash reports the other day so it's already fixed for the next release (hopefully soon, Monday most likely).

The issue is when linked chests have power armor or any item with equipment grids.