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: cannot dereference end map/set iterator #7098
Labels
Comments
Reproduced with MSVC 2017 build. No issue on Linux. ts.tile_to_new_height does not contain tile. I wonder if the check on line 316 is inverted? It doesn't make sense as is. |
That would be the integration of #7061 introducing this bug then. |
PeterN
added a commit
to PeterN/OpenTTD
that referenced
this issue
Jan 25, 2019
PeterN
added a commit
to PeterN/OpenTTD
that referenced
this issue
Jan 25, 2019
nielsmh
pushed a commit
to nielsmh/OpenTTD
that referenced
this issue
Mar 11, 2019
douiwby
pushed a commit
to douiwby/OpenTTD
that referenced
this issue
Apr 16, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can only trigger this crash in debug build.
Steps:
Crashes exactly here:
05da5a1#diff-2ae6b3007c6f3365cdb8e428dc6439d2R316
Microsoft Visual C++ Runtime Library
Debug Assertion Failed!
Program: ...OpenTTD GitHub\OpenTTD\projects..\objs\x64\Debug\openttd.exe
File: c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xtree
Line: 222
Expression: cannot dereference end map/set iterator
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Abortar Repetir Ignorar
The text was updated successfully, but these errors were encountered: