desync followed by crash when reconnecting

This subforum contains all the issues which we already resolved.
zkzkz
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Jul 02, 2016 1:08 pm
Contact:

desync followed by crash when reconnecting

Post by zkzkz »

I got a desync followed by a crash when reconnecting. This is 0.13.6 on Linux with a Linux headless server. I was just in the process of requesting train items from the logistic slots on my character.

Thisis the last page of the log:

Code: Select all

111.226 Info MultiplayerManager.cpp:1143: networkTick(2069081) mapTick(4152463) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
 111.226 Info MultiplayerManager.cpp:1143: networkTick(2069081) mapTick(4152463) received stateChanged peerID(5) oldState(InGameWaitingForOthers) newState(InGame)
 111.263 Info NetworkInputHandler.cpp:754: mapTick(4152466) networkTick(2069084) connecting to player(zkzkz).
 111.263 Info NetworkInputHandler.cpp:608: assigning playerIndex(1) to peer(5)
 111.263 Info GameActionHandler.cpp:2639: MapTick(4152466) processed PlayerJoinGame peerID(5) playerIndex(1) mode(connect)
 111.415 Error NetworkInputHandler.cpp:375: Multiplayer desynchronisation: crc test(CheckCRCHeuristic) failed for mapTick(4152465) peer(5) testCrc(-1024476093) testCrcPeerID(0) currentCrc(768743843)
 111.415 Info NetworkInputHandler.cpp:442: Desync specification: Reference CRC = 3270491203, reference peers = {0}, desynced group = {CRC = 768743843, peers = {5 (zkzkz)}}
 111.415 Info MultiplayerManager.cpp:996: networkTick(2069093) mapTick(4152474) changing state from(InGame) to(Desynced)
 111.533 Info MultiplayerManager.cpp:1143: networkTick(2069099) mapTick(4152474) received stateChanged peerID(5) oldState(InGame) newState(Desynced)
 111.533 Info MultiplayerManager.cpp:996: networkTick(2069099) mapTick(4152474) changing state from(Desynced) to(DesyncedAligning)
 111.533 Info MultiplayerManager.cpp:1818: networkTick(2069099) mapTick(4152474) starting mapAlign
 111.623 Info MultiplayerManager.cpp:1143: networkTick(2069105) mapTick(4152474) received stateChanged peerID(0) oldState(InGame) newState(InGameAligning)
 111.623 Info MultiplayerManager.cpp:1143: networkTick(2069105) mapTick(4152474) received stateChanged peerID(5) oldState(Desynced) newState(DesyncedAligning)
 111.623 Info MultiplayerManager.cpp:1752: networkTick(2069105) mapTick(4152474) sending mapAlignAction
 111.720 Info MultiplayerManager.cpp:1390: networkTick(2069111) mapTick(4152474) received MapAlignAction from peer(0), mapAlignTick(4152480) appliedTickClosuresCount(12)
 111.720 Info MultiplayerManager.cpp:1390: networkTick(2069111) mapTick(4152474) received MapAlignAction from peer(5), mapAlignTick(4152475) appliedTickClosuresCount(0)
 111.720 Info MultiplayerManager.cpp:1834: networkTick(2069112) mapTick(4152474) mapAlign finished targetTick(4152480) updating map and running the tasks ...
 111.721 Info MultiplayerManager.cpp:1706: networkTick(2069112) mapTick(4152474) peerID(5) fullStateLog: local state(DesyncedAligning) local peers(((peerID(0) state(InGameAligning) mapAlignTick(4152480))
((peerID(5) state(DesyncedAligning) mapAlignTick(4152475))
)
 111.735 Info MultiplayerManager.cpp:1853: maptick(4152480) crc before applying all ticks: -1862537106
 111.735 Info NetworkInputHandler.cpp:670: applyAllTickClosures: expectedMapTick(4152480) lastTickApplied(4152471) referenceMapTick(4152480) networkTick(2069112)
 111.735 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152472) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.735 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152472) inputActions((CheckCRCHeuristic) ) ) for peer(5)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152473) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152473) inputActions((CheckCRCHeuristic) ) ) for peer(5)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152474) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152475) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152476) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152477) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.736 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(4152478) inputActions((CheckCRCHeuristic) ) ) for peer(0)
 111.737 Info MultiplayerManager.cpp:1861: maptick(4152480) crc after applying all ticks: -1862537106
 111.737 Info MultiplayerManager.cpp:996: networkTick(2069112) mapTick(4152480) changing state from(DesyncedAligning) to(DesyncedAligned)
 111.836 Info MultiplayerManager.cpp:1143: networkTick(2069118) mapTick(4152480) received stateChanged peerID(0) oldState(InGameAligning) newState(InGameAligned)
 111.837 Info MultiplayerManager.cpp:1143: networkTick(2069118) mapTick(4152480) received stateChanged peerID(5) oldState(DesyncedAligning) newState(DesyncedAligned)
 111.837 Info MultiplayerManager.cpp:2073: NetworkTick(2069118) reconnecting after map desync.
 111.837 Info MultiplayerManager.cpp:2236: NetworkTick(2069118) MapTick(4152480) disconnecting player(1) from the user.
 111.839 Info MultiplayerManager.cpp:996: networkTick(2069118) mapTick(4152480) changing state from(DesyncedAligned) to(DesyncedCreatingReport)
 111.950 Info MultiplayerManager.cpp:1143: networkTick(2069124) mapTick(4152480) received stateChanged peerID(5) oldState(DesyncedAligned) newState(DesyncedCreatingReport)
 113.474 Info MultiplayerManager.cpp:996: networkTick(2069216) mapTick(-1) changing state from(DesyncedCreatingReport) to(DesyncedWaitingForMap)
 113.493 Info NetworkInputHandler.cpp:771: mapTick(4152480) networkTick(2069217) disconnecting from player.
 113.748 Error CrashHandler.cpp:183: Received SIGSEGV
 114.963 Warning Logger.cpp:360: Symbols.size() == 21, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
 115.710 Warning Logger.cpp:360: Symbols.size() == 20, usedSize == 12
#0  0x7ce13b in CrashHandler::writeStackTrace() at /tmp/factorio-EAM95S/src/Util/CrashHandler.cpp:84
#1  0x7ce3b4 in CrashHandler::SignalHandler(int) at /tmp/factorio-EAM95S/src/Util/CrashHandler.cpp:188
#2  0x7fd4df8414e0 in ?? at ??:0
#3  0x71b31c in ElemToolTip<ID<ItemPrototype, unsigned short>, Item>::setHighlights(bool) at /tmp/factorio-EAM95S/src/Gui/ElemToolTip.cpp:93
#4  0x71b69d in std::_Function_base::~_Function_base() at /usr/include/c++/5/functional:1829
#5  0xd130fa in std::function<void (Description&)>::~function() at /usr/include/c++/5/functional:1974
#6  0x85dfbe in ToolTipGeneratedFromDescription::~ToolTipGeneratedFromDescription() at /tmp/factorio-EAM95S/src/Gui/ToolTipGeneratedFromDescription.hpp:6
#7  0xc1bd8a in ElemToolTip<ID<ItemPrototype, unsigned short>, Item>::~ElemToolTip() at /tmp/factorio-EAM95S/src/Gui/ElemToolTip.cpp:42
#8  0xc1f3ff in ElemToolTip<ID<ItemPrototype, unsigned short>, Item>::~ElemToolTip() at /tmp/factorio-EAM95S/src/Gui/ElemToolTip.cpp:42
#9  0xc8c2ef in agui::Gui::logic() at ??:?
#10 0x7fd4df82e5f0 in GlobalContext::updateGui() [clone .isra.67051] at /tmp/factorio-EAM95S/src/GlobalContext.cpp:770
#11 0x40a459 in MainLoop::prepare() at /tmp/factorio-EAM95S/src/MainLoop.cpp:250
 115.710 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
zkzkz
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Jul 02, 2016 1:08 pm
Contact:

Re: desync followed by crash when reconnecting

Post by zkzkz »

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

Re: desync followed by crash when reconnecting

Post by kovarex »

As most of the multiplayer has been rewritten for 0.14, I will move this to resolved.
Post Reply

Return to “Resolved Problems and Bugs”