New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading old TTD save crashes game (station / oil rig related) #8108
Comments
I commented out the assert, and I get a crash about "vector iterators incompatible", when loading the savegame, here: OpenTTD/src/saveload/afterload.cpp Lines 2196 to 2210 in fde28ec
At the part where it says |
…ompatible iterator crash
…ompatible iterator crash
…ompatible iterator crash
…th phantom oil rigs
The floating train crash requires Settings > Limitations > When paused allow: All actions. |
Version of OpenTTD
Release: 1.10.1
Nightly: 20200426
Expected result
In both versions, the savegame loads correctly.
Actual result (Release):
The game loads normally, but crashes after a few days if you demolish the bridge located at tile 0x299A (154, 41).
Crash log (after demolishing everything): crash_oil_rig_1.zip
Crash log (after demolishing bridge at 0x299A): crash_floating_train.zip
Additionally, demolishing the bridge at tile 0x4181 (129, 65) causes the train on it to perpetually say "No Power".
Actual result (Nightly):
The game asserts here:
OpenTTD/src/station_cmd.cpp
Line 4205 in fde28ec
This is called during the station-based tileloop at
OpenTTD/src/saveload/afterload.cpp
Line 945 in 57553cd
Crash log: crash_oil_rig_nightly.zip
Steps to Reproduce
In a release version, load the attached savegame.
Pause the game.
Give yourself a few billion.
Demolish everything.
Wait up to 30 days.
Crash
In a nightly version, load the attached savegame.
Crash
Savegame
#3601 - TRT01.zip
The text was updated successfully, but these errors were encountered: