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

This subforum contains all the issues which we already resolved.
Post Reply
itepastra
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Sep 26, 2018 5:33 pm
Contact:

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

Post by itepastra » Wed Feb 27, 2019 5:09 pm

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
Attachments
screenshot.12.png
schedule of the train that creates the crash
screenshot.12.png (158.88 KiB) Viewed 472 times
factorio-current.log
(4.15 KiB) Downloaded 25 times
bugreport.zip
(1.85 MiB) Downloaded 21 times
Last edited by itepastra on Wed Feb 27, 2019 7:29 pm, edited 3 times in total.

User avatar
Nexarius
Fast Inserter
Fast Inserter
Posts: 211
Joined: Sat May 09, 2015 7:34 pm
Contact:

Re: [0.17.1] Train crash infinite waypoint loop

Post by Nexarius » Wed Feb 27, 2019 5:35 pm

Looks similar to my issue here.
viewtopic.php?f=7&t=65545

itepastra
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Sep 26, 2018 5:33 pm
Contact:

Re: [0.17.1] Train crash infinite waypoint loop

Post by itepastra » Wed Feb 27, 2019 5:41 pm

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.

Syhn
Inserter
Inserter
Posts: 33
Joined: Mon Jan 22, 2018 9:13 pm
Contact:

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

Post by Syhn » Mon Mar 04, 2019 7:48 am

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.


Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users