Page 1 of 1

Another PBS crash

Posted: 21 Nov 2005 08:19
by 3iff
Aplogies in advance for finding these things.

A crash between 2 trains in an area where I have done no work for a game year or so.

A67, windows version. To the right of the crash was a rubber plantation. This used to be active with a branch line to the right of the main line. I suspended the service when production lowered, and ripped out the line sometime later. I then redesigned the line slightly but apparently left a PBS signal in there.

The crash then occurred (some time later) and I paused the game to find out what happened. The only thing I can think of is when the rubber plantation was removed from the game, that lone PBS signal was reset somehow. That caused a train to enter the next block (of a very busy line) and caused a crash.

That section of line had remained untouched for a considereable time and dozens of trains must have passed that section without problems.

Unfortunately, I don't have a savegame just prior to the crash...the previous save is 2 years back.

Posted: 21 Nov 2005 16:40
by Patchman
Unfortunately, it's impossible to fix PBS problems without the savegame+ttdpatch.cfg+newgrf(w).cfg.

Posted: 21 Nov 2005 18:16
by Menno
maybe you have an auto-savegame?

Posted: 21 Nov 2005 19:40
by Geo Ghost
Might just be me, but the crashed train, around the middle, is that signal right? It just doesnt seem like the right kind to have in the centre of that stretch.

Posted: 21 Nov 2005 22:40
by nicfer
With normal PBS signals I get sometimes trains getting stuck at the signals (that was after a67). And when I try it in a67, sometimes the game crashes to Windows. With my cfg start a new game, make a straight railroad, and a depot in the start, and pbs normal signals in some railtracks. The game will crash, or the train will get stuck.

Posted: 21 Nov 2005 22:52
by Patchman
Check the last line in the crash log, and download that file again.

Posted: 21 Nov 2005 23:11
by nicfer
Ah, I don't checked that, thanks. But the train still getting stucked at the signal. What am I doing bad?

Posted: 22 Nov 2005 01:33
by Patchman
Post a screenshot of the junction in question (use Irfanview or something to convert it to PNG first!).

Posted: 22 Nov 2005 08:25
by 3iff
Regrettably I don't have a savegame for that crash. Perhaps I can magic up a crash by deliberately killing an industry. I'll have a go at that. I realised that I didn't have a recent savegame and forgot about the autosave until it was too late.

The signal in the middle of the crash is a leftover PBS signal that used to be part of a branch line to the closed down industry. I inadvertently left it in there when I redesigned the line. The point is though that a single PBS signal should not have cause to spontaneously reset and allow a crash.

I know I need to provide the savegame and configs. I just wanted to alert everyone to the possibility that there is a potential problem when industries close down...

Posted: 22 Nov 2005 18:01
by nicfer
Screenshot (cfg's not changed).

Posted: 22 Nov 2005 18:05
by Patchman
Trains without orders may not pass PBS signals.

Posted: 22 Nov 2005 18:20
by nicfer
Thanks. I tested it without stations because I previously haved troubles with that signals and I don't knowed that without stations in list the trains can't pass PBS signals.

Posted: 23 Nov 2005 08:13
by 3iff
Problem solved. It's the PBS signal but I suspect it's really my fault.

I recovered an old savegame and fastforwarded it waiting for the industry to close down. It never did, but a crash occurred anyway. Here's what happened (save+configs enclosed)

28th July
I suggest you halt the game immediately.
Train 66 is manually stopped at the junction, just clear of the rogue PBS
signal (to force the effect). The killer train sits at that PBS signal.

1st August
Train 2 sweeps into the lower junction by La Quiaca Transfer, moving from
east to west. As it passes through the junction, it resets the rogue PBS
signal, allowing the killer train to move forward. (Scr2)

The copper train moving from the west to the north does not appear to have an effect (I stopped it before it entered the junction as a test).

CRASH... (Scr4)

I accept that the rogue PBS signal should not be there and it's possible that nothing can be done to prevent such a situation. It's certainly beyond the limits of a normal PBS block IIRC.

Posted: 23 Nov 2005 08:53
by 3iff
Whoops, forgot the savegame!

Posted: 26 Nov 2005 13:33
by Geo Ghost
what happens if you change the Rogue PBS signal to a normal signal?

Posted: 28 Nov 2005 08:14
by 3iff
If changed to a normal signal, it will behave normally. That is to say a PBS signal further down the line will not reset this signal and trains won't crash.

Later in the same game in an entirely different spot, I had another train crash...and guess what...there was a PBS signal embedded in a normal one-way track. It was reset by the junction further down the line.

Entirely my fault.