[Tobias] [2.0.10] Crash removing station from train group schedule (Schedulable.cpp:324: Invalid current index: 1 >= 1)

This subforum contains all the issues which we already resolved.
isogash
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Oct 25, 2024 12:26 am
Contact:

[Tobias] [2.0.10] Crash removing station from train group schedule (Schedulable.cpp:324: Invalid current index: 1 >= 1)

Post by isogash »

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.
Attachments
_autosave3.zip
(3 MiB) Downloaded 16 times
factorio-current.log
(18.6 KiB) Downloaded 17 times
Tobias1595
Factorio Staff
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 >=

Post by Tobias1595 »

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.
Post Reply

Return to “Resolved Problems and Bugs”