[0.9.8] Train runs a red light

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
sillyfly
Smart Inserter
Smart Inserter
Posts: 1099
Joined: Sun May 04, 2014 11:29 am
Contact:

[0.9.8] Train runs a red light

Post by sillyfly »

I'm a bit hesitant to file this as a bug, because I am currently unable to reproduce it, but I have some guesses, and maybe the developers can find it anyway :)

So - my rail system was working for a long time, and I was off on the other side of the map adding a new station, when I got a message that objects got destroyed. Looking at the info - it showed that a locomotive and a few cargo wagons were destroyed, without being attacked first - rail crash.
I reloaded the last autosave and rushed back to the main station, where I found this:

Image

Look at the leftmost diagonal rail - the train in front was there for a long time, not programmed to go anywhere, and this setup has worked for a long time. As you can see - there is a signal before it, so the train at the back must have run it while it was red, thus getting stuck and now showing "No Path".

At this stage I wondered - I got here after the train had run the red light, so how come I didn't see a crash? As I mentioned - I have reloaded the autosave and rushed back quickly, so I didn't place down another signal I did place in the first run. As I mentioned - this was far far away, and shouldn't have made a difference, but apparently - it did!
So - my guess, and it is a wild guess, I admit, is that somehow placing a signal at a remote location at the exact right moment changed the block numbers while a train was trying to figure if it can or cannot enter a certain block, thus causing a crash.

I would upload a saved game, but I have explored a lot in this game, and the file is already at 35MB :(
I tried reproducing it in a new (smaller) game, but couldn't. Perhaps it really is a matter of exact timing.

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.9.8] Train runs a red light

Post by cube »

The save file would probably help, try uploading it to rapidshare or something...
I have no idea what I'm talking about.

sillyfly
Smart Inserter
Smart Inserter
Posts: 1099
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: [0.9.8] Train runs a red light

Post by sillyfly »

I googled "free file upload" and this is the first site that came up. I hope it works :)

this is the saved game once I arrived at the main station:
http://www.filedropper.com/sbred-light-run

This is to autosave, a few minutes earlier (I don't know if by that time the train had already crossed the red light or not):

http://www.filedropper.com/autosave2

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9.8] Train runs a red light

Post by slpwnd »

Hi, thanks for the report. It is really difficult to figure out what went wrong though. It would be really handy to have a reproducible scenario for this ...

Post Reply

Return to “Pending”