Page 1 of 1

[0.18.17] Crash when saving: "FlowStatistics attempted to save value larger than uint16 as uint16."

Posted: Wed Apr 08, 2020 2:55 pm
by Zer05
Hey guys,

I've been playing on a map with no mods enabled and since yesterday the game crashes when I try to save or it is trying to autosave.
The save bar shows up and remains empty, followed by a crash and the "Go to logfile" popup.

In the logfile it seems that it fails to write to a certain uint16 inside FlowStatistics and fails due to the value being too large.

This happens when I try to save manually as well as during autosaves.

I attached the logfile and uploaded the current save to:
https://drive.google.com/file/d/1RxtuxL ... sp=sharing
I searched for current problems related to this but could not find any reports.

Any help is appreciated! Thanks

Re: [0.18.17] Crash when saving: "FlowStatistics attempted to save value larger than uint16 as uint16."

Posted: Wed Apr 08, 2020 3:10 pm
by Loewchen
Do you need the save fixed if it can be?

Re: [0.18.17] Crash when saving: "FlowStatistics attempted to save value larger than uint16 as uint16."

Posted: Wed Apr 08, 2020 3:37 pm
by Zer05
I guess that would be nice, yeah.

Re: [0.18.17] Crash when saving: "FlowStatistics attempted to save value larger than uint16 as uint16."

Posted: Sun May 03, 2020 12:13 am
by Rseding91
Thanks for the report. One of the electric networks in your save file is corrupt; but I have no idea how it could get into that state. Without knowing how it happened I can't say for sure anything I do would "fix" it. The save file is broken - so you'll have to use an earlier save if you have one.

Do you have any way to reproduce how it got into that state from a previous working save?