[0.14.2] Server crash on TickClosure::add

This subforum contains all the issues which we already resolved.
Post Reply
gilgatex
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Aug 24, 2016 3:52 pm
Contact:

[0.14.2] Server crash on TickClosure::add

Post by gilgatex »

System: Windows 10 headless server running 0.14.2 with no mods

Two of my friends were playing on my headless server while I was sleeping, so I do not know what they were doing. Here is the log leading up to and after the crash:

Code: Select all

24017.902 Info ServerMultiplayerManager.cpp:646: mapTick(3625437) received stateChanged peerID(6) oldState(InGame) newState(DesyncedWaitingForMap)
24017.904 Info ServerMultiplayerManager.cpp:690: mapTick(3625437) received playerDesynced peer (6)
24017.905 Info ServerMultiplayerManager.cpp:570: mapTick(3625437) changing state from(InGame) to(InGameSavingMapForDesyncReport)
24017.940 Info ServerMultiplayerManager.cpp:646: mapTick(3625437) received stateChanged peerID(7) oldState(InGame) newState(DesyncedWaitingForMap)
24017.942 Info ServerMultiplayerManager.cpp:690: mapTick(3625437) received playerDesynced peer (7)
24019.273 Info ServerMultiplayerManager.cpp:677: MapTick(3625437) Serving map(C) for peer(6) size(15739001) crc(2752940577)
24019.273 Info ServerMultiplayerManager.cpp:677: MapTick(3625437) Serving map(C) for peer(7) size(15739001) crc(2752940577)
24019.274 Info ServerMultiplayerManager.cpp:570: mapTick(3625437) changing state from(InGameSavingMapForDesyncReport) to(InGame)
24019.368 Info ServerMultiplayerManager.cpp:646: mapTick(3625445) received stateChanged peerID(6) oldState(DesyncedWaitingForMap) newState(DesyncedCatchingUpWithMapReadyForDownload)
24019.413 Info ServerMultiplayerManager.cpp:646: mapTick(3625447) received stateChanged peerID(6) oldState(DesyncedCatchingUpWithMapReadyForDownload) newState(DesyncedSavingLocalVariantOfMap)
24019.417 Info ServerMultiplayerManager.cpp:646: mapTick(3625447) received stateChanged peerID(7) oldState(DesyncedWaitingForMap) newState(DesyncedCatchingUpWithMapReadyForDownload)
24019.441 Info ServerMultiplayerManager.cpp:646: mapTick(3625449) received stateChanged peerID(7) oldState(DesyncedCatchingUpWithMapReadyForDownload) newState(DesyncedSavingLocalVariantOfMap)
24021.500 Info ServerMultiplayerManager.cpp:646: mapTick(3625573) received stateChanged peerID(7) oldState(DesyncedSavingLocalVariantOfMap) newState(DesyncedDownloadingMap)
24021.698 Info ServerMultiplayerManager.cpp:646: mapTick(3625585) received stateChanged peerID(6) oldState(DesyncedSavingLocalVariantOfMap) newState(DesyncedDownloadingMap)
24067.552 Info ServerMultiplayerManager.cpp:646: mapTick(3628336) received stateChanged peerID(7) oldState(DesyncedDownloadingMap) newState(DesyncedCreatingReport)
24068.693 Info ServerMultiplayerManager.cpp:646: mapTick(3628404) received stateChanged peerID(7) oldState(DesyncedCreatingReport) newState(ConnectedLoadingMap)
24070.127 Info ServerMultiplayerManager.cpp:646: mapTick(3628490) received stateChanged peerID(7) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
24080.027 Info ServerMultiplayerManager.cpp:646: mapTick(3629034) received stateChanged peerID(7) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
24080.173 Info ServerMultiplayerManager.cpp:646: mapTick(3629043) received stateChanged peerID(7) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-ppgnhw\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-ppgnhw\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-ppgnhw\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-ppgnhw\src\net\tickclosure.cpp (50): TickClosure::add
c:\cygwin64\tmp\factorio-ppgnhw\src\net\serversynchronizer.cpp (265): ServerSynchronizer::mergeNextTickClosure
c:\cygwin64\tmp\factorio-ppgnhw\src\net\servermultiplayermanager.cpp (520): ServerMultiplayerManager::updateMultiplayerInputInternal
c:\cygwin64\tmp\factorio-ppgnhw\src\net\multiplayermanagerbase.cpp (160): MultiplayerManagerBase::updateMultiplayerInput
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (692): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (581): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (280): MainLoop::mainLoopStepHeadless
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (184): MainLoop::run
c:\cygwin64\tmp\factorio-ppgnhw\src\main.cpp (442): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA94CC8364)
00007FFA94CC8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA972A5E91)
00007FFA972A5E91 (ntdll): (filename not available): RtlUserThreadStart
24081.062 Error TickClosure.cpp:50: Trying to merge non  matching tick closures.
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-ppgnhw\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-ppgnhw\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-ppgnhw\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-ppgnhw\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-ppgnhw\src\util\crashhandler.cpp (213): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp (516): raise
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp (71): abort
c:\cygwin64\tmp\factorio-ppgnhw\src\net\tickclosure.cpp (50): TickClosure::add
c:\cygwin64\tmp\factorio-ppgnhw\src\net\serversynchronizer.cpp (265): ServerSynchronizer::mergeNextTickClosure
c:\cygwin64\tmp\factorio-ppgnhw\src\net\servermultiplayermanager.cpp (520): ServerMultiplayerManager::updateMultiplayerInputInternal
c:\cygwin64\tmp\factorio-ppgnhw\src\net\multiplayermanagerbase.cpp (160): MultiplayerManagerBase::updateMultiplayerInput
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (692): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (581): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (280): MainLoop::mainLoopStepHeadless
c:\cygwin64\tmp\factorio-ppgnhw\src\mainloop.cpp (184): MainLoop::run
c:\cygwin64\tmp\factorio-ppgnhw\src\main.cpp (442): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA94CC8364)
00007FFA94CC8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA972A5E91)
00007FFA972A5E91 (ntdll): (filename not available): RtlUserThreadStart
24081.550 Error CrashHandler.cpp:106: Map tick at moment of crash: 3629066
24081.550 Error Util.cpp:77: 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.
I've asked my friends for a copy of their last autosave, but I don't have it yet.

gilgatex
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Aug 24, 2016 3:52 pm
Contact:

Re: [0.14.2] Server crash on TickClosure::add

Post by gilgatex »

Here is the last save any of us have: https://www.dropbox.com/s/dzr4oti2i3ivg ... 2.zip?dl=0

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.14.2] Server crash on TickClosure::add

Post by kovarex »

I might have idea what is causing it, in that case I fixed it. I might be wrong, so for that case I improved the information it gives in this type of crash in 0.14.3

Post Reply

Return to “Resolved Problems and Bugs”