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
Crash of OpenTTD master gf81cb0a90d possibly after trying to sell the default human user #7737
Comments
I quickly checked crash.log and indeed crash.dmp will be needed. |
When trying to upload crash.zip with the crash.dmp in it it says We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. |
|
I can reproduce this without any AI too. Just start a new map (I used 512x512 now, start in 1980), don't build anything and use fast forward. |
I think I see what happens, but my system seems too slow to reproduce it. |
A probable faster way to trigger it is to disable inflation and set max loan to the minimum possible value, then when the game starts spend all money in terraforming. |
Can't you just cheat -1000000...00 money? |
just out of curiosity, can you reproduce that without afbf6a5? |
I think this fixes it:
|
there's two other breaks in the other function that should also be returns |
Version of OpenTTD: master gf81cb0a90d.
OS: Windows 10 Home 64 bits build 1809.
Expected result: Continue running.
Actual result: Crash.
crash.log
It seems like GitHub doesn't like the crash.sav and crash.dmp even if I zip them up. Maybe they are too big? crash.dmp is about 20 MB.
Steps to reproduce.
Started a test run with myself and 1 AI: the development version of my AI WormAIDev testing only trains for computer players, max trains 50.
Started in 1980 and let it run for a long time. Me (the human user didn't do any building at all).
Around 2147 it crashes and it looks like it possibly was trying to sell the human user company.
Same or similar looking crash happened on a previous master from around Sept 5 around the same date.
The text was updated successfully, but these errors were encountered: