Page 1 of 2
[0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Tue Oct 13, 2015 9:29 am
by grellsworth
Playing a custom map/scenario, the game hangs or freezes when trying to save, i.e. I click the SAVE button and it darkens and nothing else happens, the game becomes non-responsive.
However, the Auto-save feature works fine.
When playing the pre-made scenarios, SAVE works fine 100%, the problem only occurs when playing custom maps/scenario.
I have tried the main and the experimental builds, 32 and 64-bit with the same results.
I'm not running ANY mods, running Windows 10.
Re: Game hangs/freezes on Save
Posted: Tue Oct 13, 2015 6:56 pm
by Rseding91
What game version?
Can you upload the save file (if you have one) or the scenario you're using?
Can you tell me the steps you do to make it happen?
Are you able to do anything (hit escape -> exit game) when it's "frozen"?
Re: Game hangs/freezes on Save
Posted: Wed Oct 14, 2015 12:24 am
by grellsworth
Rseding91 wrote:What game version?
I've tried all these versions:
Win 32, v 0.11.22
Win 32, v 0.12.8
x64, v 0.11.22
x64, v 0.12.8
Can you upload the save file (if you have one) or the scenario you're using?
See the attached file:
Can you tell me the steps you do to make it happen?
1) Start Factorio
2) Choose "New Game"
3) Set your custom settings for the scenario, or use the same settings that I used:

- Factorio Custom Scenario Set Up.jpg (528.79 KiB) Viewed 14119 times
4) Save the game under whatever name you like (I used my name)
5) Re-load the game you just saved
6) Try to save the game again, and it will get stuck at this screen:

- Save Game Freeze.jpg (521.88 KiB) Viewed 14119 times
Are you able to do anything (hit escape -> exit game) when it's "frozen"?
Hitting escape does nothing, and once the "Save game" button is 'activated' (i.e. darkened, like in the image above, to show it has been pressed), no other buttons are available and the game can not be quit by clicking the "X" button on the right of the title bar.
The only way to stop the process is to "end task" it in task manager.
Re: Game hangs/freezes on Save
Posted: Wed Oct 14, 2015 7:19 am
by Rseding91
Have you tried it in 0.12.10? There where some map corruption issues with the scenario editor around the 0.12.8 version that may be causing this issue.
If you can reproduce the issue on a fresh scenario in 0.12.0 please upload the file(s).
Re: Game hangs/freezes on Save
Posted: Sat Feb 27, 2016 1:02 pm
by reinei
I don't want to be a Necromancer, but I wanted to know of the current status of this 'bug' as I am experienceing the same thing, even with 0.12.24 .
I am on windows 7 64bit and playing with or without mods does not change. The initial save always works fine, however any loaded game will NOT let me save, despite autosave working just fine.
Re: Game hangs/freezes on Save
Posted: Sat Feb 27, 2016 3:35 pm
by Smarty
can you upload your entire game file? not the saves but the entire game itself and ofcourse the application directory?
This may be a weird question but maybe it will help
Re: Game hangs/freezes on Save
Posted: Sat Feb 27, 2016 6:29 pm
by reinei
I uploaded a zip of all my files Factorio, with the exception of my private player-data.json and the actual uninstaller .exe.
https://www.dropbox.com/s/bg2770x6tdm2p ... o.zip?dl=0
Hope it helps and keep up the awesome work guys.
PS: It might take a while for the file to actually be up

Re: Game hangs/freezes on Save
Posted: Sat Feb 27, 2016 9:10 pm
by Rseding91
reinei wrote:I don't want to be a Necromancer, but I wanted to know of the current status of this 'bug' as I am experienceing the same thing, even with 0.12.24 .
I am on windows 7 64bit and playing with or without mods does not change. The initial save always works fine, however any loaded game will NOT let me save, despite autosave working just fine.
Are you using the installer version of the game (either downloaded or through steam) or the zip version?
Can you reproduce the issue and at the point it's frozen attach the log file here? For the installer version it will be (on windows) in %appdata%\Factorio\ for the zip version it will be in the zip location root directory.
Also, what does the process show RAM usage wise and CPU wise while it's in the "frozen" state?
Re: Game hangs/freezes on Save
Posted: Sat Feb 27, 2016 9:18 pm
by reinei
When hanging, the process is using 13% CPU and has around 871.000k RAM (thats 871 thousand) usage (not increasing over 3minutes).
I am using the installer 64bit version.
Furthermore I activated the verbose logging ption in the config file and attached the log below (NOTE: a) Mods do not influence the result, thus I left them active B) The log is probably never closed/flushed and as such does not contain any information about the 'saving', but thats just a hazard guess).
Re: Game hangs/freezes on Save
Posted: Tue Mar 01, 2016 5:18 am
by Vox Imperatoris
I'm having the exact same problem. Here's my save.
It doesn't happen with every save (or at least very new ones; I just got the game yesterday), but it's 100% reproducible with this save.
Re: Game hangs/freezes on Save
Posted: Tue Mar 01, 2016 11:28 am
by kovarex
reinei wrote:I uploaded a zip of all my files Factorio, with the exception of my private player-data.json and the actual uninstaller .exe.
https://www.dropbox.com/s/bg2770x6tdm2p ... o.zip?dl=0
Hope it helps and keep up the awesome work guys.
PS: It might take a while for the file to actually be up

Hello, thanks you for the upload and report.
From the symptoms, my guess is, that some of the saves in your save folder is corrupted in special way, that it freezes the save game dialog.
From what I can see, your game is configured to use the saves in your
%appdata%/Factorio directory, not saves locally in the Factorio folder, I would like you to upload the saves from that folder, some of them is probably causing the freeze.
You can also just move the saves away and try it is fixed, and then you can try to add saves back to the folder one by one to find out which one is causing it.
Re: [0.12.24] [kovarex] [pending] Game hangs/freezes on Save
Posted: Tue Mar 01, 2016 5:52 pm
by reinei
Hey kovarex,
I will try doing that manual moving of saves, but as a quick info: the saves contained in the zip are from my %appdata%/Factorio, I just moved them for convenience (so I would have 1 zip instead of 2).
EDIT 1:
No moving helped and even with a completely new saves folder and a new save without any mods loaded, the game will freez after loading the save and trying to enter the save dialog.

Re: [0.12.24] [pending] Game hangs/freezes on Save
Posted: Tue Mar 01, 2016 9:12 pm
by kovarex
This is strange, I'm sorry for the trouble, there are 3 more things that might be tried/checked.
1) Does it freeze when you press the load? (it opens the saves in very similar way).
2) Does it happen with the zip package? (the one is completely contained, so no %appdata% config or saves are used and everything is in the local folder.
3) What language do you use?
4) Can you post the log file?
Re: [0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Thu Mar 03, 2016 12:08 am
by Vox Imperatoris
Can someone help out with this bug in some way?
Here's another save of it happening. Does it reproduce?
I was able to save this game right at the beginning, but now when I try to hit "save game" while loaded into this file, the game freezes.
Re: [0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Thu Mar 03, 2016 12:40 am
by Rseding91
Vox Imperatoris wrote:Can someone help out with this bug in some way?
Here's another save of it happening. Does it reproduce?
I was able to save this game right at the beginning, but now when I try to hit "save game" while loaded into this file, the game freezes.
Do you have any antivirus software on your computer? If so, what?
Re: [0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Thu Mar 03, 2016 1:34 am
by Vox Imperatoris
I've got AVG. I'd be surprised if that were the cause, but I'll try turning it off temporarily.
Re: [0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Thu Mar 03, 2016 1:37 am
by Vox Imperatoris
No, it still freezes when I disable AVG entirely.
Re: [0.12.24] [pending] Game hangs/freezes on Save
Posted: Thu Mar 03, 2016 1:08 pm
by kovarex
kovarex wrote:This is strange, I'm sorry for the trouble, there are 3 more things that might be tried/checked.
1) Does it freeze when you press the load? (it opens the saves in very similar way).
2) Does it happen with the zip package? (the one is completely contained, so no %appdata% config or saves are used and everything is in the local folder.
3) What language do you use?
4) Can you post the log file?
As I said, I have no idea why is it happening. Until I get it confirmed from the zip package, and/or other info posted here, there is little I can do.
Re: [0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Thu Mar 03, 2016 11:54 pm
by Vox Imperatoris
Sorry for the delay.
1) No, it does not freeze when I press the load button.
2) I can confirm that it does not happen with the .zip version. So it is something with the Steam version, or at least the installer.
3) English, nothing changed.
4) None of the logs show anything, but I'll upload my most recent log (from when it crashed on the Steam version). This log is from a file using some basic mods, but the freeze happens just the same without the mods. Note: I have to end the process manually because it hangs forever, so that's probably why the logs show nothing.
At least I know I can play the game from the .zip version without problems.
Re: [0.12.24] [kovarex] Game hangs/freezes on Save
Posted: Fri Mar 04, 2016 10:14 am
by kovarex
Vox Imperatoris wrote:Sorry for the delay.
1) No, it does not freeze when I press the load button.
2) I can confirm that it does not happen with the .zip version. So it is something with the Steam version, or at least the installer.
3) English, nothing changed.
4) None of the logs show anything, but I'll upload my most recent log (from when it crashed on the Steam version). This log is from a file using some basic mods, but the freeze happens just the same without the mods. Note: I have to end the process manually because it hangs forever, so that's probably why the logs show nothing.
At least I know I can play the game from the .zip version without problems.
If it works in the zip version, it means, that the problem lies in your %appdata%/Factorio folder (as the zip doesn't use it). Can you upload that folder?