The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Jando on January 22, 2019, 01:53:00 PM

Title: Bit of track keeps reservation after passing of train
Post by: Jando on January 22, 2019, 01:53:00 PM
Hello all!

(http://i.imgur.com/gbN3U0um.png) (https://imgur.com/gbN3U0u)

Please see above screenshot. Occasionally (thus not every time) when a train pulls into the above station one tile of track keeps the reservation while the rest of the track correctly gets set to not reserved.  I've only ever seen this when a trains pulls into the left platform of the station. It's always the same tile of track that stays reserved.

Saved game of this situation is here: https://simutrans-germany.com/files/upload/AA_Test.sve

Manually removing the wrongly reserved tile has always worked so far.
Title: Re: Bit of track keeps reservation after passing of train
Post by: accord2 on January 22, 2019, 04:01:56 PM
Sometimes I have the same problem, but with me it is when I change the train schedule making it change it's path. The old path still gets occupied until the end of month.
Title: Re: Bit of track keeps reservation after passing of train
Post by: NoMorePacers on January 22, 2019, 06:46:53 PM
Whenever I've been affected by this problem, I've found that going over the tile with the track or electrification tool fixes the problem as well.
Title: Signalling. segment of track incorrectly stays reserved
Post by: Jando on February 08, 2019, 01:25:02 PM
Here is a case of a train passing from a double line (absolute block) to a (token block) single track line and not correctly removing a reservation on a tile behind the train. Please see the following screenshot:

(http://i.imgur.com/cIOuGYnl.png) (https://imgur.com/cIOuGYn)

Whether this tile stays reserved or correctly gets cleared depends on the number of cars in the consist. A 4-tile long train with 9 cars will act correctly, a 4-tile long train with 10 or 11 cars will not clear the reservations. I can see this behaviour consistently on several locations of my current map.

How to reproduce:
- Download the following saved game: https://simutrans-germany.com/files/upload/AA_Bug_report.sve
- Hit pause. Locate the railway depot at the centre of the screen. There are 3 test convoys prepared in that depot, all of them 4 tiles long and all with a schedule that will cause the convoy to leave the depot onto the main line and head to the single track token block line. Only difference between the convoys is the number of cars in it, from 9 to 11.
- Select the convoy with 9 cars, hit the start button in the depot and you'll see the convoy heading out and correctly clearing the main line tile from reservations after heading onto the single track segment.
- Reload the saved game, select a convoy with 10 or 11 cars (still a 4-tile long convoy) and you see it leaving the wrongly reserved tile behind.
Title: Re: Signalling. segment of track incorrectly stays reserved
Post by: jamespetts on February 11, 2019, 10:32:07 PM
Thank you for the report. Unfortunately, I am not able to download the saved game, as I get a 404 error when attempting to do so. Would you be able to re-upload somewhere with perhaps a little more longevity? I am often not able to respond to bug reports for a few days. Thank you.
Edit I have merged the two topics as they appear to be the same report (apologies if this is not the case). The issue regarding the unavailability of the saved game applies equally to both.
Title: Re: Bit of track keeps reservation after passing of train
Post by: Jando on February 11, 2019, 10:47:48 PM
My fault, James, I didn't specify how long to keep the file.

Same file here, with 30 days longevity now: https://simutrans-germany.com/files/upload/AA_Bug_report2.sve
Title: Re: Bit of track keeps reservation after passing of train
Post by: jamespetts on February 11, 2019, 11:02:45 PM
I am afraid that I cannot reproduce this at Pinterridge. Can you let me know at what specific in-game time that this occurs in this saved game?
Title: Re: Bit of track keeps reservation after passing of train
Post by: Jando on February 11, 2019, 11:50:43 PM
Awfully sorry, James, in-game time? The trains showing the bug are in the depot in the centre of the screen, from my earlier post:

- Hit pause. Locate the railway depot at the centre of the screen. There are 3 test convoys prepared in that depot, all of them 4 tiles long and all with a schedule that will cause the convoy to leave the depot onto the main line and head to the single track token block line. Only difference between the convoys is the number of cars in it, from 9 to 11.
- Select the convoy with 9 cars, hit the start button in the depot and you'll see the convoy heading out and correctly clearing the main line tile from reservations after heading onto the single track segment.
- Reload the saved game, select a convoy with 10 or 11 cars (still a 4-tile long convoy) and you see it leaving the wrongly reserved tile behind.

No in-game time needed, the convoys that show the bug are in that depot roughly in the centre of the screen.
Title: Re: Bit of track keeps reservation after passing of train
Post by: Vladki on February 17, 2019, 10:11:31 PM
I can confirm this happening on the stephenson-siemens on-line game in the passing loop controlled by signal-box at (572,216)
Title: Re: Bit of track keeps reservation after passing of train
Post by: jamespetts on February 18, 2019, 12:22:11 AM
I think that I have fixed this: I should be grateful if you could re-test with the next nightly build.
Title: Re: Bit of track keeps reservation after passing of train
Post by: Vladki on February 19, 2019, 08:58:25 PM
It seems that odd bit of reservation is still created while waiting for clearance, but is correctly cleared after the train passes the signal.
Title: Re: Bit of track keeps reservation after passing of train
Post by: jamespetts on February 20, 2019, 11:02:14 AM
This is created at the rear tile of the train when a reservation is cleared; I cannot think of any circumstances in which this will cause a conflict with another train incorrectly; unless you are aware of any such circumstances, I will record this as fixed.
Title: Re: Bit of track keeps reservation after passing of train
Post by: Vladki on February 20, 2019, 06:50:16 PM
No, it does not cause any problems. Just looks funny that the reservation is not continuous. Not really worth bothering.
Title: Re: Bit of track keeps reservation after passing of train
Post by: jamespetts on February 21, 2019, 01:05:21 AM
Splendid, thank you for confirming.