Page 1 of 1

[StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Tue Oct 22, 2024 11:20 am
by arphen
I strongly expect this has something to do with the new selector combinators
Mods:
Editor Extensions
Factorio Library
Quality
Space Age
Elevated Rails

Re: [StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Tue Oct 22, 2024 1:19 pm
by StrangePan
This is a wild one; the crash is in a different place every time, and is usually related to memory allocation/deallocation. Makes me suspect there's a memory leak somewhere.

Do you need assistance in recovering this save, or do you have an older save from which you can resume playing?

Re: [StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Tue Oct 22, 2024 1:22 pm
by arphen
All good, it's an editor extension save.

I'd just like to use the ... contraption I made in there and I'm not sure which item is causing the problem.
I could say it started crashing violently around the time I started making Efficiency Modules or Speed Modules with "Set Recipe".

If you have a hunch which are the offending signals you could save me hours of trial-and-error so I can use my mall.

EDIT:
It crashed on this configuration where the lower left assembling machine is assigned to make Chain Rail Signal,

Image
I believe it should be impossible for this circuit to generate a signal of chain rail to that assembling machine, since they're only assigned to make
certain intermediaries like pipes,iron sticks and Copper Cable
Image

The blueprint seems to also reliably crash the game after a few seconds:


Re: [StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Tue Oct 22, 2024 3:15 pm
by arphen
Also ... this seems bugged?
10-22-2024, 17-15-02.png
10-22-2024, 17-15-02.png (101.93 KiB) Viewed 1121 times

Re: [StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Wed Oct 30, 2024 6:36 am
by StrangePan
It seems that the underlying cause was related to 118412, as I'm able to reproduce this issue before the fix but not after. So I suppose we can conclude that this will be fixed in 2.0.13. My guess is that the faulty comparator behavior was somehow corrupting unrelated memory.

Edit: confirmed that it was definitely memory corruption on the heap.

Re: [StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Wed Oct 30, 2024 8:33 am
by arphen
<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3

Re: [StrangePan][2.0.8][Space Age] Save crashes almost immediately on load

Posted: Wed Oct 30, 2024 9:11 am
by BlueTemplar
Watch out, you're going to overflow the stack with all that <3 ! :P