I was able to trigger this in the attached save file a couple of times but not sure the exact sequence.
1. What did you do? -> I clicked to remove a stop of the train schedule, whilst the trains were moving.
2. What happened? -> Crash
4. Does it always happen? -> No but it has happened more than once.
[Tobias] [2.0.10] Crash removing station from train group schedule (Schedulable.cpp:324: Invalid current index: 1 >= 1)
[Tobias] [2.0.10] Crash removing station from train group schedule (Schedulable.cpp:324: Invalid current index: 1 >= 1)
- Attachments
-
- _autosave3.zip
- (3 MiB) Downloaded 16 times
-
- factorio-current.log
- (18.6 KiB) Downloaded 17 times
Re: [2.0.10] Crash removing station from train group schedule (Schedulable.cpp:324: Invalid current index: 1 >= 1)
Tested on 2.0.16 for a while, unable to reproduce.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
-
- Factorio Staff
- Posts: 40
- Joined: Sat Sep 29, 2018 5:28 pm
- Contact:
Re: [Tobias] [2.0.10] Crash removing station from train group schedule (Schedulable.cpp:324: Invalid current index: 1 >=
Thank you for the report, your autosave helped narrowing down what the issue was. A fix will be included in the 2.0.21 update.
For those interested, this crash had to do with "waypoint" stops, stops in the schedule without any conditions, causing the train to pass through the station without stopping. The crash occurred if the final stop in the schedule is a waypoint stop, and the schedule gets shortened while another train in the group is using that waypoint at that very moment.
For those interested, this crash had to do with "waypoint" stops, stops in the schedule without any conditions, causing the train to pass through the station without stopping. The crash occurred if the final stop in the schedule is a waypoint stop, and the schedule gets shortened while another train in the group is using that waypoint at that very moment.