Page 1 of 1

[1.1.94] Crashe due to Stack overflow

Posted: Mon Nov 06, 2023 7:18 pm
by Argony
Hello all. I'm not familiar with fixing any Factorio crashes and 15 minutes of googling didn't help much. I've attached the log at the time of crash. I load in the autosave and about 5 seconds later it CTDs. At the time of posting, I have not uninstalled mods or changed any settings. I could use some help. Thanks! :D

Re: [1.1.94] Crashe due to Stack overflow

Posted: Mon Nov 06, 2023 7:37 pm
by Loewchen
Post that save please, see 3638.

Re: [1.1.94] Crashe due to Stack overflow

Posted: Mon Nov 06, 2023 7:56 pm
by Argony
Apologies, can you delete this post then? I'm at work right now so it will be some time until I can upload it.

Re: [1.1.94] Crashe due to Stack overflow

Posted: Mon Nov 06, 2023 8:09 pm
by FuryoftheStars
Argony wrote: Mon Nov 06, 2023 7:56 pm Apologies, can you delete this post then? I'm at work right now so it will be some time until I can upload it.
No need to delete. Just upload when you can.

Re: [1.1.94] Crashe due to Stack overflow

Posted: Tue Nov 07, 2023 1:25 pm
by Argony
Here is the save.

Re: [1.1.94] Crashe due to Stack overflow

Posted: Tue Nov 07, 2023 1:39 pm
by Argony
I also loaded up the autosave before that one and got the same crash at the same time.

Re: [1.1.94] Crashe due to Stack overflow

Posted: Tue Nov 07, 2023 3:06 pm
by Rseding91
It seems like none of those save files attached correctly. If they are too large you may need to upload them to some external hosting service (google drive, dropbox, one-drive, etc)

Re: [1.1.94] Crashe due to Stack overflow

Posted: Tue Nov 07, 2023 11:14 pm
by Argony

Re: [1.1.94] Crashe due to Stack overflow

Posted: Sat Nov 11, 2023 8:50 pm
by Argony
Has anyone found a fix yet?

Re: [1.1.94] Crashe due to Stack overflow

Posted: Sat Nov 11, 2023 11:01 pm
by Rseding91
It's an issue with one or more of the mods you're using. Which combiantion I don't know since I 'haven't looked into the save file itself yet.

The issue being: one or more of the mods has set up an entity to when damaged, to damage entities around itself. That's happening over and over as one is damaged it damages the next which damages the original until eventually it stack overflows.

The only fix is "don't do that" on the mod(s) side or we error on startup if any mod has configured things for that to be possible (super hard to detect).

Re: [1.1.94] Crashe due to Stack overflow

Posted: Mon Nov 13, 2023 2:27 pm
by Rseding91
The issue are specifically coming from the Damage reflecting walls from Reinforced Walls.
Untitled.png
Untitled.png (3.13 MiB) Viewed 1606 times

Re: [1.1.94] Crashe due to Stack overflow

Posted: Mon Nov 13, 2023 4:27 pm
by Rseding91
As far as I can tell what's happening:

1. A biter attacks the wall with some AOE ability
2. The wall reflects the AOE ability back to the biter
3. As part of the AOE damage applied to the biter it does the AOE damage around the biter and finds the wall again and damages it
4. Go to 2

This repeats forever and eventually it crashes.