[2.0.39 ] (linux mint) sometimes sytem crash during auto-save
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
[2.0.39 ] (linux mint) sometimes sytem crash during auto-save
So I've noticed that factorio likes to crash my PC (completely nonresponsive) when auto-saving on linux (no time loss saving is activated)
I have not yet noticed this behavior while manual saving.
My PC is an IdeaPad C340
CPU: Intel Core i5-8265U
GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620]
In the attachements is the corrupted auto-save which caused the crash
If you need anything more, please let me know.
I have not yet noticed this behavior while manual saving.
My PC is an IdeaPad C340
CPU: Intel Core i5-8265U
GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620]
In the attachements is the corrupted auto-save which caused the crash
If you need anything more, please let me know.
- Attachments
-
- _autosave1.tmp.zip
- (28.29 MiB) Downloaded 18 times
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
If the system is crashing then there is something wrong with the system.
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Well I'm a fresh windows refuge who is quite new new to linux.
If it's something wrong with the system, then how do I find out what that "something" is?
If it's something wrong with the system, then how do I find out what that "something" is?
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Check out 114778, the os event log might also give insight.
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Please share dmesg.txt generated by this command run in terminal
Maybe it will indicate why system is getting unresponsive when trying to save a file?
Also do a full pass in Memtest86+ for a good measure, to start stability checks of your computer.
Code: Select all
sudo dmesg >dmesg.txt
Also do a full pass in Memtest86+ for a good measure, to start stability checks of your computer.
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
I've moved from linux mint to ubuntu.
I thought that fixed it, but during my playsession today, it reappeared, but it behaved slightly differently.
Firstly, it did happen only after a substantial amount of time passed and secondly, the system forcefully closed factorio with the SIGTERM command, after which the system recovered.
I'll throw a memtest in there, but I doubt it'll find anything more (which is nothing) than the tests I've ran in between OS switch.
In the attachments I've thrown the logs and the corrupted autosave (_autosave2), which caused the crash + the autosave (_autosave1) just before the failed autosave.
Hopefully the issue can be finally be found and resolved
I thought that fixed it, but during my playsession today, it reappeared, but it behaved slightly differently.
Firstly, it did happen only after a substantial amount of time passed and secondly, the system forcefully closed factorio with the SIGTERM command, after which the system recovered.
I'll throw a memtest in there, but I doubt it'll find anything more (which is nothing) than the tests I've ran in between OS switch.
In the attachments I've thrown the logs and the corrupted autosave (_autosave2), which caused the crash + the autosave (_autosave1) just before the failed autosave.
Hopefully the issue can be finally be found and resolved
- Attachments
-
- _autosave1.zip
- (29.53 MiB) Downloaded 18 times
-
- _autosave2.tmp.zip
- (26.35 MiB) Downloaded 22 times
-
- factorio-current.log
- (25.17 KiB) Downloaded 28 times
-
- factorio-previous.log
- (28.11 KiB) Downloaded 30 times
Last edited by Legendendear on Fri Mar 14, 2025 5:19 pm, edited 1 time in total.
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
As expected, memtest did not show me anything.pioruns wrote: Sun Mar 09, 2025 9:52 am Please share dmesg.txt generated by this command run in terminalMaybe it will indicate why system is getting unresponsive when trying to save a file?Code: Select all
sudo dmesg >dmesg.txt
Also do a full pass in Memtest86+ for a good measure, to start stability checks of your computer.
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Can you share dmesg.txt from the time when you had factorio forcibly closed with SIGTERM?
How did you figure out it was SIGTERM?
How did you figure out it was SIGTERM?
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
I think the relevant dmesg.txt file was already overwritten :-/
And I just found out that I cannot post the dmesg...
When I try it returns:
Error
Invalid file extension: dmesg
And I figured that it was SIGTERM by reading the factorio-current.log, which I posted previously.
And I just found out that I cannot post the dmesg...
When I try it returns:
Error
Invalid file extension: dmesg
And I figured that it was SIGTERM by reading the factorio-current.log, which I posted previously.
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
You have restarted your computer since Factorio crash? If your computer operates normally, you don't need to do that. Sleep/suspend on Linux works well. I only restart my laptop when there is a kernel update. In between, laptop is sleeping, for months.
You can capture dmesg log using the command I shared earlier:
Created .txt file you can open with any text editor and upload to pastebin and so on. If you are trying to upload it here without extension, then I am not surprised forum does not accept it. Either give it extension or upload to pastebin.
Normally, dmesg saves information about crashing processes, so it may leave some information there, if you are able to reproduce the error again.
What about your memory usage, do you have free RAM during gameplay?
You can capture dmesg log using the command I shared earlier:
Code: Select all
sudo dmesg >dmesg.txt
Normally, dmesg saves information about crashing processes, so it may leave some information there, if you are able to reproduce the error again.
What about your memory usage, do you have free RAM during gameplay?
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
I had to restart the PC to run memtest...
And yes, my notebook is shut down when not in use.
Now I know.
Hope I can reproduce the crash...
Sserious issues are incredible rare with Wube,
so I might have discovered a unicorn lol
And yes, my notebook is shut down when not in use.
Now I know.
Hope I can reproduce the crash...
Sserious issues are incredible rare with Wube,
so I might have discovered a unicorn lol
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Factorio needs remarkable little RAM.pioruns wrote: Fri Mar 14, 2025 6:15 pm You have restarted your computer since Factorio crash? If your computer operates normally, you don't need to do that. Sleep/suspend on Linux works well. I only restart my laptop when there is a kernel update. In between, laptop is sleeping, for months.
You can capture dmesg log using the command I shared earlier:Created .txt file you can open with any text editor and upload to pastebin and so on. If you are trying to upload it here without extension, then I am not surprised forum does not accept it. Either give it extension or upload to pastebin.Code: Select all
sudo dmesg >dmesg.txt
Normally, dmesg saves information about crashing processes, so it may leave some information there, if you are able to reproduce the error again.
What about your memory usage, do you have free RAM during gameplay?
My poor PC has only 8 Gigs of RAM and I still have ~1.8GB left over
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Yes it is very rare to get any crash at all with Factorio. Maybe that's why your bug report already has been moved to Bug Reports -> 1/0 Magic section.Legendendear wrote: Fri Mar 14, 2025 6:31 pm Hope I can reproduce the crash...
Sserious issues are incredible rare with Wube,
so I might have discovered a unicorn lol

To give you perspective, I have not experienced any crash or bug since I started playing Factorio before Space Age DLC. Probably clocked 500 or maybe a 1000 hours already. Playing on Linux with native client.
Please share relevant info once you have more knowledge about your bug and how to reproduce it. Good luck!
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Oh and there was another difference with ubuntu compared with linux mint.
The mouse and keyboard remained responsive.
The mouse and keyboard remained responsive.
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Legendendear wrote: Fri Mar 14, 2025 6:37 pm Factorio needs remarkable little RAM.
My poor PC has only 8 Gigs of RAM and I still have ~1.8GB left over
Non-blocking saving can potentially double the RAM consumption of Factorio. I think you're running out of RAM and the OS is hanging/killing Factorio as a result. I would recommend to turn off non-blocking saving.3345.016 Info AppManager.cpp:303: Saving to _autosave2 (non-blocking).
3345.230 Info AsyncScenarioSaver.cpp:177: Saving process PID: 44684
3359.211 [44684] Received SIGTERM, shutting down
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
That was my thought, about RAM.
OP, you can also try adding swap memory to your 8GB laptop, to mitigate this. Or disable non-blocking saving as Bilka suggested.

OP, you can also try adding swap memory to your 8GB laptop, to mitigate this. Or disable non-blocking saving as Bilka suggested.
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Bilka wrote: Sat Mar 15, 2025 10:52 amLegendendear wrote: Fri Mar 14, 2025 6:37 pm Factorio needs remarkable little RAM.
My poor PC has only 8 Gigs of RAM and I still have ~1.8GB left overNon-blocking saving can potentially double the RAM consumption of Factorio. I think you're running out of RAM and the OS is hanging/killing Factorio as a result. I would recommend to turn off non-blocking saving.3345.016 Info AppManager.cpp:303: Saving to _autosave2 (non-blocking).
3345.230 Info AsyncScenarioSaver.cpp:177: Saving process PID: 44684
3359.211 [44684] Received SIGTERM, shutting down
Are there settings I can change to minimize RAM usage instead?
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Probably not much that's simple. On integrated graphics the iGPU will use RAM, but it looks like you have quality on medium and texture compression on already. There might be some others you could look at (one about rotations?), but you'd probably reach diminishing returns there.Legendendear wrote: Sun Mar 16, 2025 4:08 pmAre there settings I can change to minimize RAM usage instead?Bilka wrote: Sat Mar 15, 2025 10:52 amLegendendear wrote: Fri Mar 14, 2025 6:37 pm Factorio needs remarkable little RAM.
My poor PC has only 8 Gigs of RAM and I still have ~1.8GB left overNon-blocking saving can potentially double the RAM consumption of Factorio. I think you're running out of RAM and the OS is hanging/killing Factorio as a result. I would recommend to turn off non-blocking saving.3345.016 Info AppManager.cpp:303: Saving to _autosave2 (non-blocking).
3345.230 Info AsyncScenarioSaver.cpp:177: Saving process PID: 44684
3359.211 [44684] Received SIGTERM, shutting down
Beyond that, most memory (I think) is used for the simulation (it's not like Wube decided to use a bunch of RAM for absolutely no purpose), so really the only way to change that would be to have a smaller world. There are mods/scripts you can find to delete unused chunks around the periphery of your map (if you have a lot of area explored), but again there's only so far you can go there.
There are 10 types of people: those who get this joke and those who don't.
-
- Inserter
- Posts: 25
- Joined: Tue Jun 25, 2019 11:04 am
- Contact:
Re: [2.0.39 ] (linux mint) sometimes sytem crash during auto-save
Eh.
Since I switched to Ubuntu a while ago Ive only had one crash. I can live with it.
But thanks anyways ^
Since I switched to Ubuntu a while ago Ive only had one crash. I can live with it.
But thanks anyways ^