FS#6046 - Signals: train gets stuck when placing multiple signals over it

Attached to Project: OpenTTD
Opened by Grzegorz Duczyński (adf88) - Sunday, 15 June 2014, 10:00 GMT
Last edited by andythenorth (andythenorth) - Thursday, 31 August 2017, 07:04 GMT
Type Bug
Category Vehicles
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


1. Run a train on a track
2. By performing a single mouse drag-drop, build many one-way signals in a way that:
- signals are faced against the train
- at least two signals are placed over the train
3. The train gets stuck

Kind of signals doesn't matter, the only requirement is that they are non-passable by the train from the side it is coming.

Could be related to FS#6039.
   a.png (51.7 KiB)
   b.png (56.7 KiB)
This task depends upon

Comment by pagnon stephane (krinn) - Wednesday, 18 June 2014, 19:23 GMT
did you check?
grep reverse_at openttd.cfg
reverse_at_signals = false

Comment by Grzegorz Duczyński (adf88) - Tuesday, 19 August 2014, 12:55 GMT
'reverse_at_signals' doesn't have any impact on the problem. When 'reverse_at_signals' is on then yes, trains will reverse after some time. But the problem is that they shouldn't stop in the first place.

This problem is really annoying and destructive sometimes. It happens quite frequently when you are placing signals on occupied tracks. Short stretches are not a problem, but with longer stretches (ctrl+drag) it is easy to miss that some train stopped. You are finding this out when it's too late (a traffic jam).

Changing 'reverse_at_signals' is not always an option (multiplayer). Besides, current behaviour is not "elegant" ('reverse_at_signals' is just a workaround).

Also 'reverse_at_signals' has other side effects that you may not want to have (reversing it's optional for a reason).
Comment by Grzegorz Duczyński (adf88) - Tuesday, 19 August 2014, 12:57 GMT
Comment by Marctraider (Marctraider) - Saturday, 23 August 2014, 19:39 GMT
just curious, is this the bug where a train simply doesnt move at all for no apparent reason? If so I probably encountered the same isssue.
Comment by Alberth (Alberth) - Sunday, 24 August 2014, 09:17 GMT
Unless you fiddled with signals at a 'live' track, no.