Page 1 of 1

[0.16.16] Crash of server on saving on: "DifficultySettings::save"

Posted: Wed Jan 17, 2018 7:42 am
by Valeskas
Server name "Dangerous|OARC|Vanilla|24/7|"
Server itself seems to autosave just fine.

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
11813.967 Info ClientSynchronizer.cpp:279: Changing local latency from 19 to 30 (nextTickToSend: 5793484, ticksClientWillJumpOver: 116 {5793484, 5793485, 5793486, 5793487, 5793488, 5793489, 5793490, 5793491, 5793492, 5793493, 5793494, 5793495, 5793496, 5793497, 5793498, 5793499, 5793500, 5793501, 5793502, 5793503, 5793504, 5793505, 5793506, 5793507, 5793508, 5793509, 5793510, 5793511, 5793512, 5793513, 5793514, 5793515, 5793516, 5793517, 5793518, 5793519, 5793520, 5793521, 5793522, 5793523, 5793524, 5793525, 5793526, 5793527, 5793528, 5793529, 5793530, 5793531, 5793532, 5793533, 5793534, 5793535, 5793536, 5793537, 5793538, 5793539, 5793540, 5793541, 5793542, 5793543, 5793544, 5793545, 5793546, 5793547, 5793548, 5793549, 5793550, 5793551, 5793552, 5793553, 5793554, 5793555, 5793556, 5793557, 5793558, 5793559, 5793560, 5793561, 5793562, 5793563, 5793564, 5793565, 5793566, 5793567, 5793568, 5793569, 5793570, 5793571, 5793572, 5793573, 5793574, 5793575, 5793576, 5793577, 5793578, 5793579, 5793580, 5793581, 5793582, 5793583, 5793584, 5793585, 5793586, 5793587, 5793588, 5793589, 5793590, 5793591, 5793592, 5793593, 5793594, 5793595, 5793596, 5793597, 5793598, 5793599}
c:\cygwin64\tmp\factorio-iptdqh\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-iptdqh\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-iptdqh\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-iptdqh\src\util\logging.cpp (78): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-iptdqh\src\util\logging.cpp (73): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-iptdqh\src\map\mapsettings.cpp (584): DifficultySettings::save
c:\cygwin64\tmp\factorio-iptdqh\src\map\mapsettings.cpp (698): MapSettings::save
c:\cygwin64\tmp\factorio-iptdqh\src\map\map.cpp (1083): Map::save
c:\cygwin64\tmp\factorio-iptdqh\src\scenario\scenario.cpp (640): Scenario::saveMap
c:\cygwin64\tmp\factorio-iptdqh\src\scenario\scenario.cpp (567): Scenario::saveAs
c:\cygwin64\tmp\factorio-iptdqh\src\scenario\parallelscenariosaver.cpp (92): ParallelScenarioSaver::doSave
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator * __ptr64),ParallelDesyncReportCreator * __ptr64>,std::default_delete<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator * __ptr64),ParallelDesyncReportCreator * __ptr64> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEFB141FE4)
00007FFEFB141FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEFB27EF91)
00007FFEFB27EF91 (ntdll): (filename not available): RtlUserThreadStart
11816.193 Error MapSettings.cpp:584: Saving in this state will result in a desync when this is loaded.
Logger::writeStacktrace skipped.
11816.193 Error CrashHandler.cpp:128: Map tick at moment of crash: 5793465
11816.193 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.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
11821.162 Creating crash dump.
11821.976 CrashDump success

Re: [0.16.16] Crash of server on saving on: "DifficultySettings::save"

Posted: Tue Jan 30, 2018 7:20 pm
by Rseding91
Thanks for the report. Do you have any way to reproduce the crash?

The error is around the technology price multiplier and it being different than it should be when trying to save.

Re: [0.16.16] Crash of server on saving on: "DifficultySettings::save"

Posted: Thu Feb 01, 2018 8:34 am
by Valeskas
Rseding91 wrote:Do you have any way to reproduce the crash?
Nope, server was not mine, and it is gone now.

Also topic title is incorrect, it should be "Crash of client", not "Crash of server", since server autosaved without crashes, but clients could not save local copy.