Page 1 of 1

[kovarex] [0.17.56] Crash on loading save, train signal issue

Posted: Thu Jul 11, 2019 11:17 pm
by scrouds
Just updated game and game crashes on load.

Save file: https://we.tl/t-mHU0k7NFfM

No mods.

Re: [0.17.56] Crash on loading save, train signal issue

Posted: Fri Jul 12, 2019 1:30 am
by bnvy
Here's another one, "Error RailSignalBase.cpp:361: outgoingBlock->getInboundSignals().count(const_cast<RailSignalBase*>(this)) was not true".

Tried to load a save, see your error dialog offering to open the log folder, cancel that and then the game exits. No dump for me, but log and save attached. No mods at this time. I did have a small set of QoL mods enabled last night, but nothing that should matter. I have *not* been playing with any of the recent rail signal anomalies, however this is test world with a lot of garbage laying around (I would like to recover it...).

Re: [0.17.56] Crash on loading save, train signal issue

Posted: Fri Jul 12, 2019 4:29 am
by Manny_White
I'm getting the same error with 0.17.56 only with a save file generated from the more recent updates. Any saves from the stable version convert OK. Thinking it was a complex train signal issue I loaded up another, older experimental save I have with a complex signal and schedule setup. No error. Saving, exiting, reloading the working save does not error. It seems to be an issue with a more recent version of the game. Perhaps it's specific to the rail signal fixes?

Error in log:
Error RailSignalBase.cpp:363: incomingBlock->getOutboundSignals().count(const_cast<RailSignalBase*>(this)) was not true

EDIT:
I am not using, nor have I ever used, any mods.
Reverting to 0.17.55 allows the save to load. Still crashes after saving in 0.17.55, updating back to 0.17.56, and loading the save.

Re: [kovarex] [0.17.56] Crash on loading save, train signal issue

Posted: Fri Jul 12, 2019 2:29 pm
by kovarex
Thanks for the report, this was another corner case I didn't thought about. (I added that to the tests)

Fixed for the next release.