With the latest version of the headless server for linux I am experiencing several crashes (Segmentation fault).
Analyzing the coredumps with coredumpctl debug <pid> I noticed that it is always the same function that fails in /tmp/factorio-build-p7gquL/src/Noise/Noise.cpp:626.
Below I attach all the collected material.
[1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
-
- Burner Inserter
- Posts: 7
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
[1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
Last edited by Grifonice99 on Mon Feb 12, 2024 10:47 pm, edited 1 time in total.
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
Hello, please attach the save file and the server log file which contains the crash.
-
- Burner Inserter
- Posts: 7
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
The log file of the server are already attached on the post.
Below i attach the save file (that are basically a new game started with factorio 1.1.101 with 6 minutes of playtime).
On the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
Below i attach the save file (that are basically a new game started with factorio 1.1.101 with 6 minutes of playtime).
On the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
Last edited by Grifonice99 on Mon Feb 12, 2024 10:47 pm, edited 1 time in total.
-
- Burner Inserter
- Posts: 7
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
Below i post two .7z containing the two crashdumps.
Last edited by Grifonice99 on Mon Feb 12, 2024 10:47 pm, edited 1 time in total.
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
That's super strange because we detect segmentation faults and write the current stack trace when they happen. So if it's not triggering that logic it sounds like the OS is possibly halting the process and killing it itself instead of allowing the normal internal crash logic to happen.Grifonice99 wrote: ↑Mon Feb 12, 2024 1:24 pmOn the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
If you want to get ahold of me I'm almost always on Discord.
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
In that case, do you have the full stack trace? Can you reproduce this crash repeatedly?Grifonice99 wrote: ↑Mon Feb 12, 2024 1:24 pmOn the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
The save file has mods which aren't on the mod portal, can you upload them?
-
- Burner Inserter
- Posts: 7
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
The segmentation fault happens randomly during gameplay and with always different crash times.Genhis wrote: ↑Mon Feb 12, 2024 3:18 pmIn that case, do you have the full stack trace? Can you reproduce this crash repeatedly?Grifonice99 wrote: ↑Mon Feb 12, 2024 1:24 pmOn the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
The save file has mods which aren't on the mod portal, can you upload them?
For the mod for now i would prefer not to publish it which is in wip, if ever i am willing to send it privately.
In any case the mod only adds belt and some furnaces that are not even unlocked at that point of gameplay.
Last edited by Grifonice99 on Mon Feb 12, 2024 10:48 pm, edited 1 time in total.
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
This screams unstable/failing hardware to me. Additionally if there was some issue with noise logic I would expect there to be a lot more crashes and a lot more people here complaining. The automatic crash logs don't show a single crash around noise logic in 1.1.104 and we just have this one report so far.Grifonice99 wrote: ↑Mon Feb 12, 2024 4:07 pmAnyway the segmentation fault happens randomly during gameplay and with always different crash times.
Could you run a memory test on that computer? https://www.memtest.org/
If you want to get ahold of me I'm almost always on Discord.
-
- Burner Inserter
- Posts: 7
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)
After doing an update of the whole os (linux) it seems to have been resolved.Rseding91 wrote: ↑Mon Feb 12, 2024 4:50 pmThis screams unstable/failing hardware to me. Additionally if there was some issue with noise logic I would expect there to be a lot more crashes and a lot more people here complaining. The automatic crash logs don't show a single crash around noise logic in 1.1.104 and we just have this one report so far.Grifonice99 wrote: ↑Mon Feb 12, 2024 4:07 pmAnyway the segmentation fault happens randomly during gameplay and with always different crash times.
Could you run a memory test on that computer? https://www.memtest.org/