[1.1.74]My game crashes when I try saving

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
03sy0u0
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 20, 2023 10:22 pm
Contact:

[1.1.74]My game crashes when I try saving

Post by 03sy0u0 »

[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.
Attachments
生野銀山.zip
(9.3 MiB) Downloaded 39 times

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by DaleStan »

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.

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 33 times
factorio-current.log
(10.13 KiB) Downloaded 32 times

03sy0u0
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 20, 2023 10:22 pm
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by 03sy0u0 »

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...?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13253
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by Rseding91 »

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...?
Yes; once it is corrupted it is corrupted forever. You will need an earlier save that isn't corrupt.
If you want to get ahold of me I'm almost always on Discord.

03sy0u0
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 20, 2023 10:22 pm
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by 03sy0u0 »

umm....This problem also occur by using an oldest autosave data. So, I have no data which the problem never happen... :oops:

Theos22
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Apr 07, 2021 5:08 am
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by Theos22 »

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 38 times

03sy0u0
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 20, 2023 10:22 pm
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by 03sy0u0 »

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.

03sy0u0
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Jan 20, 2023 10:22 pm
Contact:

Re: [1.1.74]My game crashes when I try saving

Post by 03sy0u0 »

As you said, I removed the electrical network. Then there's no error. Thank you all very much :ugeek:

Post Reply

Return to “Technical Help”