[1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Grifonice99
Burner Inserter
Burner Inserter
Posts: 7
Joined: Wed Sep 09, 2020 2:06 pm
Contact:

[1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)

Post by Grifonice99 »

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.
Last edited by Grifonice99 on Mon Feb 12, 2024 10:47 pm, edited 1 time in total.

Genhis
Factorio Staff
Factorio Staff
Posts: 467
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)

Post by Genhis »

Hello, please attach the save file and the server log file which contains the crash.

Grifonice99
Burner Inserter
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)

Post by Grifonice99 »

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).
Last edited by Grifonice99 on Mon Feb 12, 2024 10:47 pm, edited 1 time in total.

Grifonice99
Burner Inserter
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)

Post by Grifonice99 »

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.

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

Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)

Post by Rseding91 »

Grifonice99 wrote:
Mon Feb 12, 2024 1:24 pm
On the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
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.
If you want to get ahold of me I'm almost always on Discord.

Genhis
Factorio Staff
Factorio Staff
Posts: 467
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)

Post by Genhis »

Grifonice99 wrote:
Mon Feb 12, 2024 1:24 pm
On the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
In that case, do you have the full stack trace? Can you reproduce this crash repeatedly?

The save file has mods which aren't on the mod portal, can you upload them?

Grifonice99
Burner Inserter
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)

Post by Grifonice99 »

Genhis wrote:
Mon Feb 12, 2024 3:18 pm
Grifonice99 wrote:
Mon Feb 12, 2024 1:24 pm
On the log are not present the crash because factorio are been killed by the kernel (Segmentation fault).
In that case, do you have the full stack trace? Can you reproduce this crash repeatedly?

The save file has mods which aren't on the mod portal, can you upload them?
The segmentation fault happens randomly during gameplay and with always different crash times.

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.

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

Re: [1.1.104] random Segmentation faults with coredumps (Noise.cpp:626)

Post by Rseding91 »

Grifonice99 wrote:
Mon Feb 12, 2024 4:07 pm
Anyway the segmentation fault happens randomly during gameplay and with always different crash times.
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.

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.

Grifonice99
Burner Inserter
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)

Post by Grifonice99 »

Rseding91 wrote:
Mon Feb 12, 2024 4:50 pm
Grifonice99 wrote:
Mon Feb 12, 2024 4:07 pm
Anyway the segmentation fault happens randomly during gameplay and with always different crash times.
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.

Could you run a memory test on that computer? https://www.memtest.org/
After doing an update of the whole os (linux) it seems to have been resolved.

Post Reply

Return to “1 / 0 magic”