[raiguard][2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

This subforum contains all the issues which we already resolved.
Aquaholic27
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Jan 25, 2019 2:35 am
Contact:

[raiguard][2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Post by Aquaholic27 »

I just attempted to rotate / place over this copy+paste I did of the pipes around my crashed spaceship to try mark out a 'buffer zone' around the ship--
Screenshot 2024-10-22 at 9.35.54 am.png
Screenshot 2024-10-22 at 9.35.54 am.png (10.46 MiB) Viewed 618 times
And the game crashed as I pressed R to rotate the 'L' section of pipes - it didn't occur when I pressed it with just a single line of the underground pipe segments, maybe it's to do with the copy area including the ship?

I expected the pipe segments to rotate so I could place them over the preexisting ones to 'fill out' the corners a little like they were on the top left, but this time on the bottom left.
When attempting to reproduce this, I was able to find that it seemingly occurs when you'd overwrite an existing pipe connection with the undergrounds facing another direction? I've attached two videos of the attempts to hopefully clarify this. I can't quite classify what causes it to crash or not, given that it doesn't always seem to crash when showing the blueprints hovering over. I haven't clicked at any point in here, and one thing I am wondering is if the focus is required to be on another window for it to work (hence having the screenshots / videos as the main focus)

Apologies for the inconvenience!
Attachments
latest_crash.mp4
(7.72 MiB) Downloaded 15 times
factorio-current latest.log
(8.77 KiB) Downloaded 15 times
factorio-current.log
(8.77 KiB) Downloaded 18 times
Screen Recording 2024-10-22 at 9.42.51 am.mp4
(2.38 MiB) Downloaded 14 times
_autosave1.zip
(2.34 MiB) Downloaded 13 times
factorio-current.log
(9.33 KiB) Downloaded 15 times
Loewchen
Global Moderator
Global Moderator
Posts: 9148
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.8][mac] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Post by Loewchen »

From the video it does not seem you are able to actually reproduce it, it's more like "if I mess around with it long enough it will crash at some point". If that is accurate it could suggest an issue with your machine itself.
If you find steps performed on one of the saves that reliably (100% of the time) cause it to crash that would be helpful.
Aquaholic27
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Jan 25, 2019 2:35 am
Contact:

Re: [2.0.8][mac] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Post by Aquaholic27 »

I'm able to reproduce it consistently now!

1. Load save
2. Hover the paste over the right-hand side of the pipes
3. Crash
Attachments
reproduced.mp4
(3.45 MiB) Downloaded 23 times
factorio-current.log
(9.57 KiB) Downloaded 19 times
Aqua Start 05.zip
(4.82 MiB) Downloaded 18 times
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 181
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: [2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Post by Lou »

Thank you for the reproductions steps. I used those to reproduce this on windows machine, so removed the [mac] tag.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.8] Crash hovering pipe blueprints over other pipes (drawUndergroundConnections)

Post by raiguard »

Thanks for the report, this has been fixed for the next release.

This was quite difficult to pin down. Essentially, entities within the blueprint were modifying entities outside of the blueprint, but only when the entities inside the blueprint were in a very specific order. Then the entity outside of the blueprint would have a garbage pointer to a now-nonexistent blueprint entity which caused chaos.
Don't forget, you're here forever.
Post Reply

Return to “Resolved Problems and Bugs”