[0.15.23] Train deadlocking with itself on a roundabout

Things that has been reported already before.
One33Seven
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Jun 27, 2015 9:05 pm
Contact:

[0.15.23] Train deadlocking with itself on a roundabout

Post by One33Seven »

Every once in a while I will get a train which is deadlocked with itself on a roundabout. The train will try to make a 450 degree turn and thus run into it's own tail. I'm not entirely sure what is happening but this is my best guess.

I have deciders which disables a station when there's a train at that station, this will force a train to reroute. When this reroute happens while the train is on a roundabout the pathfinder could try to go into a direction which is blocked by the train itself.

/edit:

Do not have any mods installed (100% vanilla).
Attachments
Train in red square is deadlocked with itself.
Train in red square is deadlocked with itself.
DEADLOCK1.png (246.38 KiB) Viewed 1272 times
Design
Design
deadlock3.png (202.78 KiB) Viewed 1272 times
Last edited by One33Seven on Mon Jun 26, 2017 2:46 pm, edited 1 time in total.
BlakeMW
Filter Inserter
Filter Inserter
Posts: 954
Joined: Thu Jan 21, 2016 9:29 am
Contact:

Re: [0.15.23] Train deadlocking with itself on a roundabout

Post by BlakeMW »

In case this issue gets some attention, here is a very minimalistic setup to reproduce it:
train deadlocking itself.jpg
train deadlocking itself.jpg (261.3 KiB) Viewed 1258 times
train deadlocking itself.zip
(2.4 MiB) Downloaded 55 times
The train has been (manually) put into a position where it deadlocks itself when trying to reach the station. Let's put aside the can of worms which is the train freeing itself by ignoring the signals or changing the behavior of the signals. In this setup there is an alternative, longer path available which does not require passing through a block reserved by itself.

I'd consider the "ideal" solution to this issue being that trains reject a path which intersects a self-reserved block, if an alternative path is available it takes it otherwise it displays "No Path", that way trains and signals can continue to interact in a very absolute way.
Post Reply

Return to “Duplicates”