[Lou][1.1.12] Crash of multiple players at EntityGhost::onDestroy

This subforum contains all the issues which we already resolved.
User avatar
blargh2015
Inserter
Inserter
Posts: 32
Joined: Sun Jun 03, 2018 3:47 pm
Contact:

[Lou][1.1.12] Crash of multiple players at EntityGhost::onDestroy

Post by blargh2015 »

On a modded game, whenever anyone uses nanobots to paste miniloaders with signals attached in the blueprint, since 1.1.8 and still happening with 1.1.12, every player connected to the multiplayer server crashes with a similar error as below (although the Linux dedicated server does not) with the following error at the top of the stack trace attached and snippet below.

Full log and a save game attached. To replicate, load the save game file (precrash6.zip), hit tab once to go to the nanobot weapon, and walk a little to the right (east) - the game will crash the moment the nanobots are in range and try to place the miniloader.

Code: Select all

188.078 Error CrashHandler.cpp:480: Exception Code: c0000005, Address: 0x00007ff6081aeaf3
ModuleBase: 0x00007ff607fe0000, ImageSize: 01d30000, RelativeAddress: 001ceaf3
 188.078 Error CrashHandler.cpp:486: Access Violation: Read at address 0000000000000000
 188.078 Error CrashHandler.cpp:500: Exception Context:
rax=0000000000000000, rbx=000002a41dde83d0, rcx=0000000000000000,
rdx=000002a41dde83d0, rsi=000002a41e253a60, rdi=000002a41dde83d0,
rip=00007ff6081aeaf3, rsp=000000f6ccd6d9d0, rbp=000002a41e253a98,
 r8=000002a41fdc2e68,  r9=000002a41e253a98, r10=0000000000000000,
r11=00007ff6094b9480, r12=0000000000000000, r13=0000000000000001,
r14=000002a41de4d450, r15=0000000000000000
 188.078 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff607fe0000 - 0x00007ff609d10000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-k3j7fp\src\util\logger.cpp (545): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-k3j7fp\src\util\logger.cpp (552): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-k3j7fp\src\util\crashhandler.cpp (184): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-k3j7fp\src\util\crashhandler.cpp (529): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA667C247)
00007FFDA667C247 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA8CB4B63)
00007FFDA8CB4B63 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA8C9BB16)
00007FFDA8C9BB16 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA8CB130F)
00007FFDA8CB130F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA8C5B5E4)
00007FFDA8C5B5E4 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA8CAFE3E)
00007FFDA8CAFE3E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-k3j7fp\src\entity\entityghost.cpp (62): EntityGhost::onDestroy
c:\cygwin64\tmp\factorio-build-k3j7fp\src\entity\entity.cpp (335): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-k3j7fp\src\entity\entity.cpp (518): Entity::removeConflictingGhostsAndCorpses
c:\cygwin64\tmp\factorio-build-k3j7fp\src\entity\entity.cpp (420): Entity::postSetup
c:\cygwin64\tmp\factorio-build-k3j7fp\src\entity\entityghost.cpp (390): EntityGhost::revive
c:\cygwin64\tmp\factorio-build-k3j7fp\src\script\luaentity.cpp (3682): LuaEntity::luaReviveInternal
c:\cygwin64\tmp\factorio-build-k3j7fp\src\script\luabinder.hpp (331): LuaBinder<LuaRailSignalControlBehavior>::callWrapper
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\ldo.c (350): luaD_precall
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lvm.c (713): luaV_execute
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lapi.c (1067): f_call
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\ldo.c (137): luaD_rawrunprotected
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\ldo.c (623): luaD_pcall
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lapi.c (1093): lua_pcallk
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lbaselib.c (399): luaB_pcall
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\ldo.c (350): luaD_precall
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lvm.c (713): luaV_execute
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lapi.c (1067): f_call
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\ldo.c (137): luaD_rawrunprotected
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\ldo.c (623): luaD_pcall
c:\cygwin64\tmp\factorio-build-k3j7fp\libraries\lua\lapi.c (1093): lua_pcallk
c:\cygwin64\tmp\factorio-build-k3j7fp\src\util\luahelper.cpp (4204): LuaHelper::pCallWithStackTrace
c:\cygwin64\tmp\factorio-build-k3j7fp\src\script\luagamescript.cpp (1081): LuaGameScript::runEventHandler
c:\cygwin64\tmp\factorio-build-k3j7fp\src\script\luaeventdispatcher.cpp (653): LuaEventDispatcher::run
c:\cygwin64\tmp\factorio-build-k3j7fp\src\script\luaeventdispatcher.cpp (105): LuaEventDispatcher::dispatch
c:\cygwin64\tmp\factorio-build-k3j7fp\src\scenario\scenario.cpp (1259): Scenario::update
c:\cygwin64\tmp\factorio-build-k3j7fp\src\scenario\scenario.cpp (1155): Scenario::updateStep
c:\cygwin64\tmp\factorio-build-k3j7fp\src\mainloop.cpp (1254): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-k3j7fp\src\mainloop.cpp (1119): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-k3j7fp\src\util\workerthread.cpp (49): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RazerChromaController::*)(void),RazerChromaController *>,std::default_delete<std::tuple<void (__cdecl RazerChromaController::*)(void),RazerChromaController *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA85B7034)
00007FFDA85B7034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDA8C5D0D1)
00007FFDA8C5D0D1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
Attachments
precrash6.zip
Save game right before the issue.
(52.44 MiB) Downloaded 187 times
factorio-previous.log
Log file showing the crash and full trace
(209.75 KiB) Downloaded 118 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3297
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [Lou][1.1.12] Crash of multiple players at EntityGhost::onDestroy

Post by boskid »

Thanks for the report. Issue is now fixed for 1.1.13.
Post Reply

Return to “Resolved Problems and Bugs”