[1.1.76] crash when autosaving (ReplaySaver::saveToFile)
Posted: Wed Mar 22, 2023 11:48 pm
Hi,
What did I do?
- I have a game where I am constantly getting crashes from autosave. (last one after 4 autosaves). Game is unmodded but runs on linux.
What happened?
- When autosave starts it crashes and tells me it has crashed and asks if want to open location of the log files
What did I expect?
- Autosave not to crash. I have not encountered this when manually saving but that is far less common
Does it happen always:
- Happens quite often and because of it I decreased the autosave interval to 1 min
Reproducing:
Have attached save running for maybe 5-10 minutes and I have crashed about 9/10 times (with 1 min save interval)
Whenever I've tried to read the log files it seems to have something to do with:
/tmp/factorio-build-uF5Grl/libraries/zlib/deflate.c (1652): deflate_fast
and
/tmp/factorio-build-uF5Grl/src/Input/ReplaySaver.cpp (39): ReplaySaver::saveToFile(PackageWriterPath const&)
I'm attaching 2 cases of logs and game save + broken game save
What did I do?
- I have a game where I am constantly getting crashes from autosave. (last one after 4 autosaves). Game is unmodded but runs on linux.
What happened?
- When autosave starts it crashes and tells me it has crashed and asks if want to open location of the log files
What did I expect?
- Autosave not to crash. I have not encountered this when manually saving but that is far less common
Does it happen always:
- Happens quite often and because of it I decreased the autosave interval to 1 min
Reproducing:
Have attached save running for maybe 5-10 minutes and I have crashed about 9/10 times (with 1 min save interval)
Whenever I've tried to read the log files it seems to have something to do with:
/tmp/factorio-build-uF5Grl/libraries/zlib/deflate.c (1652): deflate_fast
and
/tmp/factorio-build-uF5Grl/src/Input/ReplaySaver.cpp (39): ReplaySaver::saveToFile(PackageWriterPath const&)
I'm attaching 2 cases of logs and game save + broken game save