Factorio rarely crashes for me, so it's always a shock when it does.
At the time, robots were building a mostly-vanilla blueprint (it has some Creative Mode entities I forgot to remove and could never be build). Possibly related is I'm using a not-yet-published mod that interacts with placement of ghosts and deconstruction orders, so I've included its control.lua (only noteworthy file) in the gist.
Log and Ghostbuster-0.1.0: https://gist.github.com/dewiniaid/b7a44 ... 874c9a0cce
Save is attached.
[0.16.51] Crash: "FluidBox::disconnect"
[0.16.51] Crash: "FluidBox::disconnect"
- Attachments
-
- _autosave1.zip
- (7.02 MiB) Downloaded 58 times
Re: [0.16.51] Crash: "FluidBox::disconnect"
Code: Select all
22824.644 Error CrashHandler.cpp:373: Exception Code: c0000005, Address: 0x00007ff7f0be9b16
ModuleBase: 0x00007ff7f09a0000, ImageSize: 013d9000, RelativeAddress: 00249b16
22824.644 Error CrashHandler.cpp:379: Access Violation: Write at address 0000000000000020
22824.644 Error CrashHandler.cpp:393: Exception Context:
rax=000001cdd50bc5c0, rbx=000001cddfe8f6d0, rcx=0000000000000000,
rdx=0000000000000020, rsi=000001cdcfcd5e20, rdi=000001cddfe8f6e0,
rip=00007ff7f0be9b16, rsp=0000007dece0e7f0, rbp=0000000000000000,
r8=000001cdd42933a0, r9=0000000000008000, r10=000001cdcfcd5f58,
r11=000001cdcfcd5f58, r12=0000007dece0ece8, r13=0000000000000000,
r14=0000007dece0ea40, r15=000001cdf5ec8580
22824.644 Crashed in C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff7f09a0000 - 0x00007ff7f1d79000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-rlyqnq\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\logger.cpp (408): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\logger.cpp (521): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\crashhandler.cpp (420): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9141BBCF0)
00007FF9141BBCF0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF917DA2717)
00007FF917DA2717 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF917D8AB36)
00007FF917D8AB36 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF917D9ED2D)
00007FF917D9ED2D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF917D06C86)
00007FF917D06C86 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF917D9DC5E)
00007FF917D9DC5E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-rlyqnq\src\fluid\fluidbox.cpp (546): FluidBox::disconnect
c:\cygwin64\tmp\factorio-build-rlyqnq\src\fluid\fluidbox.hpp (33): FluidBox::~FluidBox
c:\cygwin64\tmp\factorio-build-rlyqnq\src\fluid\fluidboxmanager.cpp (32): FluidBoxManager::destroy
c:\cygwin64\tmp\factorio-build-rlyqnq\src\entity\assemblingmachine.cpp (319): AssemblingMachine::reset
c:\cygwin64\tmp\factorio-build-rlyqnq\src\entity\assemblingmachine.cpp (284): AssemblingMachine::setupForCrafting
c:\cygwin64\tmp\factorio-build-rlyqnq\src\entity\assemblingmachine.cpp (374): AssemblingMachine::setup
c:\cygwin64\tmp\factorio-build-rlyqnq\src\surface\surface.cpp (161): Surface::setupEntity
c:\cygwin64\tmp\factorio-build-rlyqnq\src\surface\surface.cpp (154): Surface::addEntity
c:\cygwin64\tmp\factorio-build-rlyqnq\src\entity\entityghost.cpp (366): EntityGhost::revive
c:\cygwin64\tmp\factorio-build-rlyqnq\src\entity\constructionrobot.cpp (487): ConstructionRobot::update
c:\cygwin64\tmp\factorio-build-rlyqnq\src\surface\chunk.cpp (575): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-rlyqnq\src\surface\chunk.cpp (624): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-rlyqnq\src\surface\surface.cpp (1191): Surface::update
c:\cygwin64\tmp\factorio-build-rlyqnq\src\map\map.cpp (1360): Map::update
c:\cygwin64\tmp\factorio-build-rlyqnq\src\game.cpp (163): Game::update
c:\cygwin64\tmp\factorio-build-rlyqnq\src\scenario\scenario.cpp (883): Scenario::update
c:\cygwin64\tmp\factorio-build-rlyqnq\src\mainloop.cpp (1007): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-rlyqnq\src\mainloop.cpp (874): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-rlyqnq\src\util\workerthread.cpp (36): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ServerRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ServerRouter * __ptr64> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9179D3034)
00007FF9179D3034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF917D71461)
00007FF917D71461 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
22826.052 Error CrashHandler.cpp:174: Map tick at moment of crash: 1563436
Re: [0.16.51] Crash: "FluidBox::disconnect"
Thanks for the report. Do you have any way to reproduce the crash?
If you want to get ahold of me I'm almost always on Discord.