[1.1.74]My game crashes when I try saving
1.What did you do?
My PC crashed a few days ago, because of DRAM. After this, the problem start to occur.
2.What happened?
I can't save my data due to the crash. See log below.
—---------------------------------------------------
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\tmp\factorio-build-gc97q0\src\flowstatistics.cpp (252): FlowStatistics<ID<ItemPrototype,unsigned short>,unsigned __int64,void>::Precision::ElementUsageStatistics::save
c:\tmp\factorio-build-gc97q0\src\flowstatistics.cpp (33): FlowStatistics<ID<EntityPrototype,unsigned short>,unsigned __int64,void>::save
c:\tmp\factorio-build-gc97q0\src\energy\electricnetwork.cpp (285): ElectricNetwork::save
c:\tmp\factorio-build-gc97q0\src\energy\electricnetworkmanager.cpp (78): ElectricNetworkManager::save
c:\tmp\factorio-build-gc97q0\src\map\map.cpp (1433): Map::save
c:\tmp\factorio-build-gc97q0\src\scenario\scenario.cpp (1060): Scenario::saveMap
c:\tmp\factorio-build-gc97q0\src\scenario\scenario.cpp (946): Scenario::saveAs
c:\tmp\factorio-build-gc97q0\src\scenario\parallelscenariosaver.cpp (105): ParallelScenarioSaver::doSave
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl SoundLibrary::AsyncLoader::*)(void),SoundLibrary::AsyncLoader *>,std::default_delete<std::tuple<void (__cdecl SoundLibrary::AsyncLoader::*)(void),SoundLibrary::AsyncLoader *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD975B7614)
00007FFD975B7614 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD98C026A1)
00007FFD98C026A1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
64.228 Error FlowStatistics.cpp:252: FlowStatistics attempted to save value larger than uint16 (65579) as uint16. Exiting to prevent save corruption.
Logger::writeStacktrace skipped.
64.228 Error CrashHandler.cpp:191: Map tick at moment of crash: 9736758
64.276 Info CrashHandler.cpp:311: Executable CRC: 1960215796
—---------------------------------------------------
3.What did you expect to happen instead? It might be obvious to you, but do it anyway!
Of course, I thought I could save normally.
4.Does it happen always, once, or sometimes?
Always.
5.If you can reproduce the issue provide the exact steps!
This problem always happen at around 45:05:00 of my game. After that, I can't save. In other words, I can save normally until then.
I don't use any mods.
If I'm missing something, please let me know.
This save is my first world. So, I really want to save my save.
[1.1.74]My game crashes when I try saving
[1.1.74]My game crashes when I try saving
- Attachments
-
- 生野銀山.zip
- (9.3 MiB) Downloaded 51 times
Re: [1.1.74]My game crashes when I try saving
I hope you've repaired/replaced whatever hardware issue you encountered; Factorio has more trouble on bad hardware than most other games.
It crashes for me too, using 1.1.76, on a manual save just before the 45:05 mark. I've attached the most recent successful save.
It crashes for me too, using 1.1.76, on a manual save just before the 45:05 mark. I've attached the most recent successful save.
Code: Select all
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\tmp\factorio-build-4tna6t\src\flowstatistics.cpp (252): FlowStatistics<ID<EntityPrototype,unsigned short>,unsigned __int64,void>::Precision::ElementUsageStatistics::save
c:\tmp\factorio-build-4tna6t\src\flowstatistics.cpp (33): FlowStatistics<ID<EntityPrototype,unsigned short>,double,void>::save
c:\tmp\factorio-build-4tna6t\src\energy\electricnetwork.cpp (285): ElectricNetwork::save
c:\tmp\factorio-build-4tna6t\src\energy\electricnetworkmanager.cpp (78): ElectricNetworkManager::save
c:\tmp\factorio-build-4tna6t\src\map\map.cpp (1433): Map::save
c:\tmp\factorio-build-4tna6t\src\scenario\scenario.cpp (1060): Scenario::saveMap
c:\tmp\factorio-build-4tna6t\src\scenario\scenario.cpp (946): Scenario::saveAs
c:\tmp\factorio-build-4tna6t\src\scenario\parallelscenariosaver.cpp (105): ParallelScenarioSaver::doSave
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl SoundLibrary::AsyncLoader::*)(void),SoundLibrary::AsyncLoader *>,std::default_delete<std::tuple<void (__cdecl SoundLibrary::AsyncLoader::*)(void),SoundLibrary::AsyncLoader *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFF15A07614)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF15A07614)
00007FFF15A07614 (KERNEL32): (filename not available): (function-name not available)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF15B426A1)
00007FFF15B426A1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
72.980 Error FlowStatistics.cpp:252: FlowStatistics attempted to save value larger than uint16 (65538) as uint16. Exiting to prevent save corruption.
Logger::writeStacktrace skipped.
72.980 Error CrashHandler.cpp:191: Map tick at moment of crash: 9736262
73.060 Info CrashHandler.cpp:311: Executable CRC: 726084301
- Attachments
-
- 生野銀山 7.zip
- (9.36 MiB) Downloaded 46 times
-
- factorio-current.log
- (10.13 KiB) Downloaded 44 times
Re: [1.1.74]My game crashes when I try saving
I already fixed DRAM problem, but still happen...
Also I have two sub-computers, so I tried that too, but I can't save it well. Is the save data once corrupted useless...?
Also I have two sub-computers, so I tried that too, but I can't save it well. Is the save data once corrupted useless...?
Re: [1.1.74]My game crashes when I try saving
Yes; once it is corrupted it is corrupted forever. You will need an earlier save that isn't corrupt.03sy0u0 wrote: Sat Jan 21, 2023 12:29 am I already fixed DRAM problem, but still happen...
Also I have two sub-computers, so I tried that too, but I can't save it well. Is the save data once corrupted useless...?
If you want to get ahold of me I'm almost always on Discord.
Re: [1.1.74]My game crashes when I try saving
umm....This problem also occur by using an oldest autosave data. So, I have no data which the problem never happen...
Re: [1.1.74]My game crashes when I try saving
Took a shot at salvaging the save. Managed to get it to keep saving at least until 45:10 (did not try any longer). It seems like corruption with the electrical network somewhere was causing the crash so i removed all the electrical poles and replaced them using the editor. Hopefully it will last you, but comes at the cost of achievements being disabled because the editor was used. Hope this helps and happy factory building!
- Attachments
-
- 生野銀山 2.zip
- Less corrupted save
- (9.35 MiB) Downloaded 49 times
Re: [1.1.74]My game crashes when I try saving
Information that the electrical network is corrupted is very useful. The placement of my wire was really terrible, so it may be good to try to rework this. Thank you.
Re: [1.1.74]My game crashes when I try saving
As you said, I removed the electrical network. Then there's no error. Thank you all very much