Page 1 of 1

[0.17.2] Train crash infinite waypoint loop (Stack overflow error)

Posted: Wed Feb 27, 2019 5:09 pm
by itepastra
1. We had a train move in a ring with 2 waypoints just like in FFF-280
2. In the train GUI we had both stations entered twice
3. If we delete 1 of the 2 train stops while the train is moving (thus while its pathfinding), it will crash the game (single and multiplayer)

The game crashes, while I would expect the train to stop at the station instead because its the only one even though it's duplicate.


a video of the crash not happening with 3 train stations, and it does happen with 2




thanks to albionthegreat for helping to test/find the bug

Re: [0.17.1] Train crash infinite waypoint loop

Posted: Wed Feb 27, 2019 5:35 pm
by Nexarius
Looks similar to my issue here.
viewtopic.php?f=7&t=65545

Re: [0.17.1] Train crash infinite waypoint loop

Posted: Wed Feb 27, 2019 5:41 pm
by itepastra
Nexarius wrote:
Wed Feb 27, 2019 5:35 pm
Looks similar to my issue here.
viewtopic.php?f=7&t=65545
It looks similar but not the same, when looking at the log file yours gives a different error.

Re: [0.17.2] Train crash infinite waypoint loop (Stack overflow error)

Posted: Mon Mar 04, 2019 7:48 am
by Syhn
Simplest way to reproduce: Place a single stop on a rail line. Place a train with fuel before that stop. Schedule that stop as a waypoint twice in a row. Toggle the train to automatic.

Re: [0.17.2] Train crash infinite waypoint loop (Stack overflow error)

Posted: Tue Mar 05, 2019 5:26 pm
by Loewchen
Ref.: 66855