[0.12.19] [Oxyd] [AI RELATED] Crash at set time in save
Posted: Wed Dec 02, 2015 6:27 am
Every time my save reaches a certain point (now about 10s after the last save, but this issue has been in existence for over a week, since back when the issue was hours of gameplay out), it simply crashes to desktop. The logged error is as follows:
I am not familiar with this format, but it almost looks like it is crashing on making a crash report, something I thought only Minecraft did.
I do notice mentions of "chunk", "surface", and "map", but no worldgen was running at the time (at least it should not have been).
EDIT:
Running the "kill all units" command on "enemy" (i.e. despawning all biters and spitters) fixed it. So it appears there was a time bomb of sorts in the AI logic (and "AI" does indeed appear in the log).
Code: Select all
27.213 Loading map C:/Users\Reika\AppData\Roaming\Factorio\saves\Light_Modded-compression-natevo-furn.zip
27.265 Info Scenario.cpp:123: Map version 0.12.19-0
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-iw2tsk\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-iw2tsk\src\util\logger.cpp (284): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\logger.cpp (338): Logger::logStacktrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\crashhandler.cpp (81): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-iw2tsk\src\util\crashhandler.cpp (90): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076C6B990)
0000000076C6B990 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E7A0B8)
0000000076E7A0B8 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E08008)
0000000076E08008 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E1905D)
0000000076E1905D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E08C0F)
0000000076E08C0F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E3D948)
0000000076E3D948 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-iw2tsk\src\ai\commandable.cpp (113): Commandable::runBehavior
c:\cygwin64\tmp\factorio-iw2tsk\src\entity\unit.cpp (217): Unit::update
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\chunk.cpp (441): Chunk::update
c:\cygwin64\tmp\factorio-iw2tsk\src\surface\surface.cpp (818): Surface::update
c:\cygwin64\tmp\factorio-iw2tsk\src\map\map.cpp (914): Map::update
c:\cygwin64\tmp\factorio-iw2tsk\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-iw2tsk\src\scenario\scenario.cpp (729): Scenario::update
c:\cygwin64\tmp\factorio-iw2tsk\src\mainloop.cpp (262): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-iw2tsk\src\mainloop.cpp (368): MainLoop::updateLoop
c:\boost_1_58_0\boost\function\function_template.hpp (160): boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,void (__cdecl*)(ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool),boost::_bi::list5<boost::_bi::value<ThreadBarrier * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<bool * __ptr64>,boost::_bi::value<bool> > >,void>::invoke
c:\cygwin64\tmp\factorio-iw2tsk\src\util\thread.cpp (34): Thread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013F7CC883)
000000013F7CC883 (Factorio): (filename not available): boost::`anonymous namespace'::thread_start_function
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): _callthreadstartex
f:\dd\vctools\crt\crtw32\startup\threadex.c (354): _threadstartex
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076BE5A4D)
0000000076BE5A4D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E1B831)
0000000076E1B831 (ntdll): (filename not available): RtlUserThreadStart
69.119 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
I do notice mentions of "chunk", "surface", and "map", but no worldgen was running at the time (at least it should not have been).
EDIT:
Running the "kill all units" command on "enemy" (i.e. despawning all biters and spitters) fixed it. So it appears there was a time bomb of sorts in the AI logic (and "AI" does indeed appear in the log).