[0.16.16] Crash on desync: "State and scenario saver doesn't match"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
OvermindDL1
Fast Inserter
Fast Inserter
Posts: 192
Joined: Sun Oct 05, 2014 6:12 am
Contact:

[0.16.16] Crash on desync: "State and scenario saver doesn't match"

Post by OvermindDL1 »

Running 0.16.16.

I placed a force field emitter from this mod: https://mods.factorio.com/mod/ForceFields2
It lagged the game on creation for a few seconds, as it often does, however this time the other player desynced at the second it lagged and ended up getting kicked out from the game. When they left I figured it would be good to rollback to the last autosave so I opened the escape menu and clicked Quit game, however instead of getting the main menu at this point I instead got the game vanishing. Logs and all are below. Their was no archive on my side of why the desync occurred, however if necessary I can ask the other player to supply it (probably bad mod scripting there, especially as the engine crash happened a few seconds later when I went to exit the current level).

Stacktrace:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
6699.297 Warning Logger.cpp:446: Symbols.size() == 16, usedSize == 11
#0  0x0000000000b0c8ad in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-ynPJT1/src/Util/Logger.cpp:471
#1  0x00000000008a061a in Logging::flush() at /tmp/factorio-ynPJT1/src/Util/Logging.cpp:61
#2  0x00000000008c825f in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::string const&) at /tmp/factorio-ynPJT1/src/Util/Logging.cpp:79
#3  0x0000000000c130d5 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-ynPJT1/src/Util/Logging.cpp:73
#4  0x0000000000c13223 in ServerMultiplayerManager::startSavingMap(unsigned short, bool) at /tmp/factorio-ynPJT1/src/Filesystem/Filesystem.hpp:43
#5  0x0000000000c2c274 in std::_Rb_tree_iterator<std::pair<unsigned short const, bool> >::operator++() at /usr/include/c++/7/bits/stl_tree.h:287 (discriminator 5)
#6  0x0000000000c2ce1f in std::_Rb_tree<unsigned short, std::pair<unsigned short const, bool>, std::_Select1st<std::pair<unsigned short const, bool> >, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, bool> > >::erase[abi:cxx11](std::_Rb_tree_iterator<std::pair<unsigned short const, bool> >) at /usr/include/c++/7/bits/stl_tree.h:1124 (discriminator 5)
#7  0x000000000067ddc5 in std::map<unsigned short, bool, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, bool> > >::erase[abi:cxx11](std::_Rb_tree_iterator<std::pair<unsigned short const, bool> >) at /usr/include/c++/7/bits/stl_map.h:1017 (discriminator 5)
#8  0x000000000148e7cf in ServerMultiplayerManager::applySynchronizerActions() at /tmp/factorio-ynPJT1/src/Net/ServerMultiplayerManager.cpp:471 (discriminator 5)
#9  0x00000000000076ba in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-ynPJT1/src/MainLoop.cpp:955
#10 (nil) in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-ynPJT1/src/MainLoop.cpp:852
6705.231 Warning Logger.cpp:446: Symbols.size() == 15, usedSize == 10
6705.231 Error ServerMultiplayerManager.cpp:994: State and scenario saver doesn't match
Logger::writeStacktrace skipped.
6705.232 Error CrashHandler.cpp:128: Map tick at moment of crash: 7833601
6705.232 Error Util.cpp:67: 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.
The log file: https://overminddl1.com/Factorio/crashe ... crash2.log

Latest 2 autosaves:
Most Recent: https://overminddl1.com/Factorio/crashes/_autosave2.zip
Next most recent: https://overminddl1.com/Factorio/crashes/_autosave1.zip

Pack o' mods: https://overminddl1.com/Factorio/packs/ ... y16-2f.zip

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.16] Crash on desync: "State and scenario saver doesn't match"

Post by Rseding91 »

Thanks for the report. We've seen this issue a few times but nobody knows how to reproduce it which makes it incredibly difficult to fix it.

Do you know of any way to reproduce the crash?
If you want to get ahold of me I'm almost always on Discord.

OvermindDL1
Fast Inserter
Fast Inserter
Posts: 192
Joined: Sun Oct 05, 2014 6:12 am
Contact:

Re: [0.16.16] Crash on desync: "State and scenario saver doesn't match"

Post by OvermindDL1 »

Rseding91 wrote:Thanks for the report. We've seen this issue a few times but nobody knows how to reproduce it which makes it incredibly difficult to fix it.

Do you know of any way to reproduce the crash?
It seemed very random, I tried to duplicate it a few times (trying to get the save closer to the exact crash point) but was unable to.

Post Reply

Return to “Pending”