-
Notifications
You must be signed in to change notification settings - Fork 59
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
w3dview texture crash #1131
Comments
Here is what these values look like on a healthy load, same texture cbh2oplnt_ng.dds
|
Looks like memory corruption to me. Something has corrupted part of |
This issue still happens with latest w3dview |
So Perhaps is a threading issue? |
I noticed there are some bad/missing locks around |
This crash occurred again. Fixing the locks around |
Callstack
Error
128 x 128 is just 16384
Both sizes and offsets look strange? |
Loading that same texture "pmsandbags2.dds" fresh will show create proper sizes and offsets:
This looks like both buffers were previously corrupted. |
w3dview crash happens very often when loading and viewing cbngovbuil models. |
Easiest Repro:
When selecting loaded model:
DDSFileClass
Watch
m_levelOffsets
at index 2 has garbage value.The text was updated successfully, but these errors were encountered: