Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Crash in kdtree.hpp when removing track in development version #7530
OS: Ubuntu 19.04, AMD64.
The mentioned OpenTTD version has crashed twice on me. As far as I can remember I was removing track on both occasions. The crashes also happened within 15 tiles from each other.
EDIT: The crash also happens when just load my save and do nothing.
Crash.log, crash.sav and crash.png are here:
Yep it's caused by a station sign having moved since it was last updated in the kdtree, same as #7481 is about. The cause is not you removing track, but rather an oil rig closing down and its station being deleted.
It's very useful having a savegame that will consistently trigger the bug, so thank you for providing that.