[2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition

Post your bugs and problems so we can fix them.
MSgtGunny
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Dec 07, 2020 1:30 am
Contact:

[2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition

Post by MSgtGunny »

When the space platform is auto requesting build materials during a large initial build event (like pasting a blueprint for an entire spaceship), its possible for the build to deadlock.
Steps:
1) Paste large blueprint of a space platform, its easier to deadlock if there is only a single cargo bay directly touching the Space platform hub
2) Have the surface fill up the hub with items and overflow prior to sending up a single load of cargo bays
3) At the time when the hub storage overflows onto the space platform, have no Space platform foundation in the hub storage
4) Have the overflowed items land where the cargo bay should be placed

At this point even if you manually send up cargo bays or platform tiles, they immediately become overflow that land on the platform, so you the space platform build stalls and requires manual intervention; such as manually sending back items from space to the surface and forcing cargo bays/platform tiles to be sent next.
Screenshot 2024-11-19 171815.png
Screenshot 2024-11-19 171815.png (6.08 MiB) Viewed 191 times

Save file with deadlocked platform build attached as well as a save file from about 90 seconds before the deadlock occurs:
Space Age Day17.zip
Save ~90 seconds before deadlock occurs
(29.03 MiB) Downloaded 5 times
Space Age Day18_bug.zip
Deadlocked platform
(29.1 MiB) Downloaded 6 times


This is a weird edge case race condition causing a deadlock that is pretty easily manually fixed and doesn't cause a crash (and probably not a de-sync, although I didn't test that), so totally understandable if this gets classified as "Won't Fix."
Techjar
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jan 13, 2015 11:33 pm
Contact:

Re: [2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition

Post by Techjar »

I think a simple fix for this could be to simply prioritize sending space platform foundation, if that's possible.
MechBFP
Inserter
Inserter
Posts: 47
Joined: Sun Nov 03, 2024 4:02 am
Contact:

Re: [2.0.20] Space Platform can deadlock on initial build preventing build progression due to race condition

Post by MechBFP »

Techjar wrote: Tue Nov 19, 2024 11:48 pm I think a simple fix for this could be to simply prioritize sending space platform foundation, if that's possible.
Ya I think platforms should be number 1 priority, followed by cargo hubs, followed by everything else.
Post Reply

Return to “Bug Reports”