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
[0.17.2] Train crash infinite waypoint loop (Stack overflow error)
[0.17.2] Train crash infinite waypoint loop (Stack overflow error)
- Attachments
-
- schedule of the train that creates the crash
- screenshot.12.png (158.88 KiB) Viewed 2885 times
-
- factorio-current.log
- (4.15 KiB) Downloaded 154 times
-
- bugreport.zip
- (1.85 MiB) Downloaded 140 times
Last edited by itepastra on Wed Feb 27, 2019 7:29 pm, edited 3 times in total.
Re: [0.17.1] Train crash infinite waypoint loop
Looks similar to my issue here.
viewtopic.php?f=7&t=65545
viewtopic.php?f=7&t=65545
Re: [0.17.1] Train crash infinite waypoint loop
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)
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.