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

This subforum contains all the issues which we already resolved.
arphen
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Oct 22, 2024 8:08 am
Contact:

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

Post 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
Attachments
univ.zip
(2.7 MiB) Downloaded 19 times
factorio-current.log
(10.67 KiB) Downloaded 23 times
StrangePan
Factorio Staff
Factorio Staff
Posts: 130
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

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

Post 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?
arphen
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Oct 22, 2024 8:08 am
Contact:

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

Post 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:

Attachments
10-22-2024, 16-13-25.png
10-22-2024, 16-13-25.png (2.58 MiB) Viewed 1160 times
10-22-2024, 16-08-37.png
10-22-2024, 16-08-37.png (3.16 MiB) Viewed 1160 times
10-22-2024, 16-08-33.png
10-22-2024, 16-08-33.png (3.16 MiB) Viewed 1160 times
arphen
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Oct 22, 2024 8:08 am
Contact:

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

Post by arphen »

Also ... this seems bugged?
10-22-2024, 17-15-02.png
10-22-2024, 17-15-02.png (101.93 KiB) Viewed 1150 times
StrangePan
Factorio Staff
Factorio Staff
Posts: 130
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

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

Post 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.
arphen
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Oct 22, 2024 8:08 am
Contact:

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

Post 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
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3108
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

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

Post by BlueTemplar »

Watch out, you're going to overflow the stack with all that <3 ! :P
BobDiggity (mod-scenario-pack)
Post Reply

Return to “Resolved Problems and Bugs”