-
Notifications
You must be signed in to change notification settings - Fork 176
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
Heap corruption happens #1366
Comments
So you can reproduce the crash with opengl renderer? |
@tritonas00 Nope, miniredmars spawns OK for me with OpenGL. But I'm getting other weird crashes. UPDATE: I just ran my OGRE testbed application () with the same debug tool --> Same output! |
Nice, now you don't need to search the whole RoR 😄 |
cannot test, crashing due to heap corruption see RigsOfRods#1366
It turned out a lot of the heap corruption issues with my "unlimited-nb" were my fault - I simply allocated less memory than was needed. There are still mysterious crashes going on, but it's not as freaky anymore. |
The proposed solution here #1256 (comment) fixes the miniredmars issue here also. |
Looks like all this breakage started with my recent refactor: 8eeb060, but there are 2 possible scenarios:
I need to take a close look, and I'm that won't happen anytime soon (busy). Anyway, @Bob-Z @tritonas00 Thanks a lot for testing! |
Closing as resolved:
|
To laymen: heap corruption is a problem with dynamic RAM allocation and practically means: there's a bug somewhere in RoR which trashes our data in RAM, it's extra hard to find and it can theoretically crash RoR anytime for anybody 😟
Links:
I'm trying to use Microsoft Application Verifier to track it down, but I'm getting stuck on renderer init - both renderers exhibit some memory issues which halt the AppVerifier.
The text was updated successfully, but these errors were encountered: