Hello,
After today's big (600 megs) update of the game (factorio server files were updated and service was restarted) and playing for a couple hours (yes the problem occurred few hours after the update) I was in the middle of setting up an array of assembly machines and I noticed the usual autosave green progress bar and instead of going away as usual after a second or two it stopped and then I got a message that server was not responding and another green progress bar appeared.
Next the game asked me to save the file but when the "Save file" window popped up - the game crashed.
Current and previous log + dump file are attached.
When I restarted the game I have noticed that I was unable to load the save I tried to create prior to crash.
Game created a unusable Server.tmp.zip (attached) which was gave error when I tried to load it from the local saves.
When I tried connecting to the server (Debian 12 virtual machine - headless / command line only - fully upgraded and working fine till this very morning) it refused:
When I rebooted the server the status of the service was:
I have noticed that the latest server autosave file (attached) has the .tmp.zip extension as well.
After removing the autosave "_autosave58.tmp.zip" from the server and restarting factorio service game was back online. I lost about 5 minutes of gameplay which is not much BUT the problem re-occurred again during next autosave which basically did the same thing, and then again which is why I am reporting this bug.
What else could I add... Game client is on Windows 11 24H2, its fully upgraded - its the steam version.
Server is a virtual machine (based in Proxmox) and its fully updated Debian 12 with 2 cores and 4 gigs of ram allocated. Till this morning I never experienced a problem and I've spend 200+ hours in game (I know its not a lot lot but its quite a bit).
Oh I forgot to add - no mods are in use.
Please do not hesitate to ask for more details.
Thank you in advance for all help provided.
I apologise in advance for any typos or unclear statements.
Kindest regards.
AndrzejL.eu
[2.0.23] Crash when trying to save / when server is autosaving
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
[2.0.23] Crash when trying to save / when server is autosaving
- Attachments
-
- factorio-current.log
- (6.92 KiB) Downloaded 6 times
-
- factorio-previous.log
- (6.92 KiB) Downloaded 6 times
-
- factorio-dump-previous.dmp
- (1012.85 KiB) Downloaded 4 times
Last edited by AndrzejL.eu on Mon Dec 02, 2024 7:21 pm, edited 1 time in total.
Re: [2.0.23] Crash when trying to save / when server is autosaving
Sounds like the save file got corrupted at some point after updating. The consistency checks run immediately after updating, so I would expect the 2.0.22 file is not corrupted.
Do you have a backup of the save that worked in 2.0.22? Do you have any of the previous autosaves from 2.0.23 that load correctly, or are they also corrupted?
Do you have a backup of the save that worked in 2.0.22? Do you have any of the previous autosaves from 2.0.23 that load correctly, or are they also corrupted?
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
Re: [2.0.23] Crash when trying to save / when server is autosaving
Previous file (prior to removing the .tmp.zip file loaded just fine, and I left the game running for 10 minutes - it did 2 autosaves in the meanwhile without crashing.robot256 wrote: ↑Mon Dec 02, 2024 5:55 pm Sounds like the save file got corrupted at some point after updating. The consistency checks run immediately after updating, so I would expect the 2.0.22 file is not corrupted.
Do you have a backup of the save that worked in 2.0.22? Do you have any of the previous autosaves from 2.0.23 that load correctly, or are they also corrupted?
I tried adding the array of assembly machines just like before and:
The game crashed.
I wonder if its ANY building after the current save that will cause issue OR is it just an array of assembly machines that is supposed to build assembly machines...
I have tons of the _autosave files. I am saving 200 iterations every 5 minutes
Attaching previous saves.
I have updated the game around 14:00 (2 pm.)
The saves are listed as:
So 34 was way before the update, then there was Server.zip (original save file) and it was probably first .23 save file. Then I have autosave 35 which is probably first autosave after update.
Not sure what to do but I am going to try saving the latest working file to local machine, add the array, save the file and then upload it to the server - see what happens...
Kindest regards.
AndrzejL.eu
Last edited by AndrzejL.eu on Tue Dec 03, 2024 12:54 am, edited 4 times in total.
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
Re: [2.0.23] Crash when trying to save / when server is autosaving
Added array of assembly machines onto the server:
The game crashed while autosaving:
Mega curious... I will clear the server-side saves, I will save the file locally in the windows game again and try uploading that to the server...
Wish me luck.
Kindest regards.
AndrzejL.eu
The game crashed while autosaving:
Mega curious... I will clear the server-side saves, I will save the file locally in the windows game again and try uploading that to the server...
Wish me luck.
Kindest regards.
AndrzejL.eu
Re: [2.0.23] Crash when trying to save / when server is autosaving
The logs are not the ones with actual crashes, so if you still have those or it happens again that could be of interest. The rest is just fallout of the crash itself.
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
Re: [2.0.23] Crash when trying to save / when server is autosaving
Yeah that save file is corrupted...
While trying to save the file locally...
Gona try and find a previous version of a save that works...
Its going to be a chore...
Regards.
AndrzejL.eu
While trying to save the file locally...
Gona try and find a previous version of a save that works...
Its going to be a chore...
Regards.
AndrzejL.eu
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
Re: [2.0.23] Crash when trying to save / when server is autosaving
If the corruption happens because of a crash, a log of that crash would be of interest. If the crash happens because of a corruption, only a reliable method to create the corruption in the first place would be of interest.
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
Re: [2.0.23] Crash when trying to save / when server is autosaving
I am afraid I don't have those logs... The only logs I had were the ones attached to the original post. Sorry...
Kindest regards.
AndrzejL.eu
- AndrzejL.eu
- Burner Inserter
- Posts: 8
- Joined: Thu Nov 07, 2024 2:50 pm
- Contact:
Re: [2.0.23] Crash when trying to save / when server is autosaving
Ok, found a "not corrupted" save and replaced the server saves with this file. Not lost much. I am just glad its back to working.
Kindest regards.
AndrzejL.eu
Kindest regards.
AndrzejL.eu