[0.17.0] Crash: "Entity::orderDeconstruction"

This subforum contains all the issues which we already resolved.
yukinyaa
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 19, 2017 5:14 pm
Contact:

[0.17.0] Crash: "Entity::orderDeconstruction"

Post by yukinyaa »

Headless on windows, around 5~7 players, playtime 14m 30s.
No mods(Vanilla).
We were testing some bizarre rich text messages, not quite sure what caused the crash.

Attached:
server-settings.json (includes some Korean characters)
factorio-previous.log
factorio-dump-previous.dmp


System info:

Code: Select all

  0.009 System info: [CPU: AMD Ryzen 7 2700X Eight-Core Processor         , 16 cores, RAM: 8405/16315 MB, page: 14711/25360 MB, virtual: 4259/134217727 MB, extended virtual: 0 MB]


Stacktrace :

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-isero5\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-isero5\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-isero5\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-isero5\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-isero5\src\util\crashhandler.cpp (524): 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: 00007FF7497713E8)
00007FF7497713E8 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC9C81468F)
00007FFC9C81468F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC9C774BEF)
00007FFC9C774BEF (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC9C8133FE)
00007FFC9C8133FE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-isero5\src\entity\entity.cpp (1846): Entity::orderDeconstruction
c:\cygwin64\tmp\factorio-build-isero5\src\builtentityundoaction.cpp (36): BuiltEntityUndoAction::apply
c:\cygwin64\tmp\factorio-build-isero5\src\input\commonactionhandler.cpp (1891): CommonActionHandler::undo
c:\cygwin64\tmp\factorio-build-isero5\src\gameactionhandler.cpp (321): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-isero5\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-isero5\src\net\networkinputhandler.cpp (164): NetworkInputHandler::flushActions
c:\cygwin64\tmp\factorio-build-isero5\src\net\networkinputhandler.cpp (114): NetworkInputHandler::tryToApplyNextTickClosure
c:\cygwin64\tmp\factorio-build-isero5\src\net\servermultiplayermanager.cpp (665): ServerMultiplayerManager::updateMultiplayerInputInternal
c:\cygwin64\tmp\factorio-build-isero5\src\net\multiplayermanagerbase.cpp (174): MultiplayerManagerBase::updateMultiplayerInput
c:\cygwin64\tmp\factorio-build-isero5\src\mainloop.cpp (1039): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-isero5\src\mainloop.cpp (924): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-isero5\src\mainloop.cpp (496): MainLoop::mainLoopStepHeadless
c:\cygwin64\tmp\factorio-build-isero5\src\mainloop.cpp (344): MainLoop::run
c:\cygwin64\tmp\factorio-build-isero5\src\main.cpp (837): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC9C0281F4)
00007FFC9C0281F4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC9C7DA251)
00007FFC9C7DA251 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
Attachments
server-settings.json
(2.65 KiB) Downloaded 71 times
factorio-previous.log
(25 KiB) Downloaded 81 times
factorio-dump-previous.dmp
(572.4 KiB) Downloaded 74 times
cole21771
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Feb 27, 2019 9:05 pm
Contact:

Re: [0.17.0] Crash: "Entity::orderDeconstruction"

Post by cole21771 »

Can confirm this is still an issue in 0.17.2. Randomly happened to me when hosting for myself and another player. The other player believes that he placed an inserter, I removed it and replaced with with a fast inserter, then he clicked Ctrl + Z. I crashed, he got disconnected.

Stracktrace from my `factorio-current.log`

Code: Select all

c:\cygwin64\tmp\factorio-build-mvynrh\src\entity\entity.cpp (1846): Entity::orderDeconstruction
c:\cygwin64\tmp\factorio-build-mvynrh\src\builtentityundoaction.cpp (36): BuiltEntityUndoAction::apply
c:\cygwin64\tmp\factorio-build-mvynrh\src\input\commonactionhandler.cpp (1893): CommonActionHandler::undo
c:\cygwin64\tmp\factorio-build-mvynrh\src\gameactionhandler.cpp (321): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-mvynrh\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-mvynrh\src\net\networkinputhandler.cpp (164): NetworkInputHandler::flushActions
c:\cygwin64\tmp\factorio-build-mvynrh\src\net\networkinputhandler.cpp (114): NetworkInputHandler::tryToApplyNextTickClosure
c:\cygwin64\tmp\factorio-build-mvynrh\src\net\servermultiplayermanager.cpp (665): ServerMultiplayerManager::updateMultiplayerInputInternal
c:\cygwin64\tmp\factorio-build-mvynrh\src\net\multiplayermanagerbase.cpp (174): MultiplayerManagerBase::updateMultiplayerInput
c:\cygwin64\tmp\factorio-build-mvynrh\src\mainloop.cpp (1046): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-mvynrh\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-mvynrh\src\util\workerthread.cpp (42): WorkerThread::loop
Rseding91
Factorio Staff
Factorio Staff
Posts: 14366
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.0] Crash: "Entity::orderDeconstruction"

Post by Rseding91 »

Thanks for the report. This should be fixed in 0.17.2.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”