Page 1 of 1

[0.18.26] Desync in vanilla after another player disconnected

Posted: Sun May 24, 2020 3:34 pm
by interru
Hi,

I got a desync error. But I am not completely sure why it did happen.
The following actions happened right before the desync:

1. I build a cargo train at the station "Red Cards Factory N1 - Red Cards Source" and from my perspective that worked without any issues.
2. Then I was randomly and mindlessly moving and looking at things. In such a way that I can't exactly say what I did.
3. My colleague was working on his blueprints.
3. Then he told me that he is leaving the game to participate in IRL things (that's a bug in itself. Definitely shouldn't happen :P )
4. I was standing uselessly for about 30-40 seconds
5. Autosave kicked in
6. Desync error

I don't use any mods for this gameplay.

Report: https://file.decodem.io/f/6ba679a45a6049599951/
The stdout log of the server:

Code: Select all

2020-05-24 15:02:58 [JOIN] interru_io joined the game
162062.336 Info AppManager.cpp:297: Saving to _autosave1 (blocking).
162063.375 Info AppManagerStates.cpp:1844: Saving finished
162663.371 Info AppManager.cpp:297: Saving to _autosave2 (blocking).
162664.410 Info AppManagerStates.cpp:1844: Saving finished
163264.402 Info AppManager.cpp:297: Saving to _autosave3 (blocking).
163265.439 Info AppManagerStates.cpp:1844: Saving finished
163449.346 Info ServerMultiplayerManager.cpp:1037: Disconnect notification for peer (14)
163449.346 Info ServerMultiplayerManager.cpp:919: updateTick(14519035) received stateChanged peerID(14) oldState(InGame) newState(DisconnectScheduled)
2020-05-24 15:34:15 [LEAVE] dokitura left the game
163449.364 Info ServerSynchronizer.cpp:618: nextHeartbeatSequenceNumber(4764980) removing peer(14).
163865.426 Info AppManager.cpp:297: Saving to _autosave4 (blocking).
163866.464 Info AppManagerStates.cpp:1844: Saving finished
164232.998 Info ServerMultiplayerManager.cpp:919: updateTick(14565993) received stateChanged peerID(15) oldState(InGame) newState(DesyncedWaitingForMap)
164232.998 Info ServerMultiplayerManager.cpp:1008: updateTick(14565993) received playerDesynced peer (15)
164232.998 Info ServerMultiplayerManager.cpp:771: updateTick(14565993) changing state from(InGame) to(InGameSavingMapForDesyncReport)
164238.436 Info ServerMultiplayerManager.cpp:986: UpdateTick(14565993) Serving map(/home/interru/factorio/temp/mp-save-15.zip) for peer(15) size(90279527) crc(3883227981)
164238.436 Info ServerMultiplayerManager.cpp:771: updateTick(14565993) changing state from(InGameSavingMapForDesyncReport) to(InGame)
164238.503 Info ServerMultiplayerManager.cpp:919: updateTick(14565993) received stateChanged peerID(15) oldState(DesyncedWaitingForMap) newState(DesyncedCatchingUpWithMapReadyForDownload)
164238.537 Info ServerMultiplayerManager.cpp:919: updateTick(14565993) received stateChanged peerID(15) oldState(DesyncedCatchingUpWithMapReadyForDownload) newState(DesyncedSavingLocalVariantOfMap)
164245.325 Info ServerMultiplayerManager.cpp:919: updateTick(14565993) received stateChanged peerID(15) oldState(DesyncedSavingLocalVariantOfMap) newState(DesyncedDownloadingMap)
164251.939 Info ServerMultiplayerManager.cpp:919: updateTick(14565993) received stateChanged peerID(15) oldState(DesyncedDownloadingMap) newState(DesyncedCreatingReport)
164257.783 Info ServerMultiplayerManager.cpp:1037: Disconnect notification for peer (15)
I also looked at the two save (reference and desynced) files but couldn't spot the difference.

Re: [0.18.26] Desync in vanilla after another player disconnected

Posted: Thu Aug 06, 2020 2:32 pm
by kovarex
This was most probably solved since them, but I can't really tell for sure, so moving to pending.