RR sets two routes on the same block side
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rocrail |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi,
RR (v4547) sets (and locks) two routes on the same side of a block and at the same time under the following conditions:
- Reserve second next block is enabled
- The block has no waiting enabled
I assume that RR locks the route going into the block and going out of the block at the same time, since "reserve second next block" is enabled. However, this may result into a crash, since the switches for entering the block are in a wrong state. The expected behavior is that in this case (incoming and outgoing on the same block side), the second block is not reserved (or at least the second route is not set until the loco entered the block completely).
The issue has been discussed here: http://
A simple example can be found here: http://
To reproduce the behavior, enable "reserve second next block", disable waiting in block 2, and let the loco go from block B3 to B1.
Best regards
Related branches
Changed in rocrail: | |
status: | In Progress → Fix Released |
Before this bug is fixed a valid workaround is to set the wait flag in block 2.