[wheybags] [16.4] Crash on autosave as server: "!this->state->getType().isSavingMap() was not true"

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 513
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[wheybags] [16.4] Crash on autosave as server: "!this->state->getType().isSavingMap() was not true"

Post by Mylon »

I was running a dedicated server and it crashed. It seems it crashed in the auto-save-on-last-player-leave.

Attached is the log, the most recent save file (which may or may not work), and the most recent autosave if the save file doesn't work.

No mods, but I am using a custom scenario (included in the save file).
Attachments
_autosave5.zip
(13.49 MiB) Downloaded 123 times
factoriorpg48.zip
(13.48 MiB) Downloaded 110 times
factorio-current.log
(1.04 MiB) Downloaded 128 times

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.4] Crash on autosave as server: "!this->state->getType().isSavingMap() was not true"

Post by Loewchen »

End of log:

Code: Select all

103702.049 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 213.87.145.198:25352: heartbeat outside latency window
103702.049 Info UnparsedNetworkMessage.cpp:98: Message data: 26 00 4f af ab 07 99 6c 0c 00
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-r5luzy\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-r5luzy\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-r5luzy\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-r5luzy\src\util\logging.cpp (78): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-r5luzy\src\util\logging.cpp (73): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-r5luzy\src\net\servermultiplayermanager.cpp (1022): ServerMultiplayerManager::startSavingMapDuringAutoPause
c:\cygwin64\tmp\factorio-r5luzy\src\net\servermultiplayermanager.cpp (546): ServerMultiplayerManager::updateInternal
c:\cygwin64\tmp\factorio-r5luzy\src\net\servermultiplayermanager.cpp (518): ServerMultiplayerManager::update
c:\cygwin64\tmp\factorio-r5luzy\src\mainloop.cpp (897): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-r5luzy\src\mainloop.cpp (852): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-r5luzy\src\mainloop.cpp (467): MainLoop::mainLoopStepHeadless
c:\cygwin64\tmp\factorio-r5luzy\src\mainloop.cpp (326): MainLoop::run
c:\cygwin64\tmp\factorio-r5luzy\src\main.cpp (674): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (283): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000771359CD)
00000000771359CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007726A561)
000000007726A561 (ntdll): (filename not available): RtlUserThreadStart
103706.715 Error ServerMultiplayerManager.cpp:1022: !this->state->getType().isSavingMap() was not true
Logger::writeStacktrace skipped.
103706.715 Error CrashHandler.cpp:128: Map tick at moment of crash: 814233
103706.738 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.
103714.655 Creating crash dump.
103714.859 CrashDump success

User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [wheybags] [16.4] Crash on autosave as server: "!this->state->getType().isSavingMap() was not tr

Post by wheybags »

Fixed for 0.16.7. Thanks for the report!

Post Reply

Return to “Resolved Problems and Bugs”