[Qt-interest] help tracking down memory corruption on Mac Qt 4.7.3 Cocoa (64 bit)
Paul Miller
paul at fxtech.com
Mon May 23 23:39:27 CEST 2011
I've got a very bizarre memory corruption issue, with an application I'm
developing. Using Qt 4.7.3, Cocoa, 64 bit, on OS X, the app will crash
at various places, sometimes during startup, sometimes during shut-down.
If I build against 32 bit Carbon, the problem doesn't happen.
Most of the time it's crashing down in a QGLWidget, but the place moves
around. Usually when deleting things. If I comment out the entire view,
the application will run properly (though without the functionality I
commented out)
I've enabled various Debug Malloc env vars to help narrow down the
problem. Are there any other OS X tools I can use to potentially help
figure out the exact point at which the memory is getting corrupted? Any
ideas?
I really don't want to switch to a Carbon (32 bit) version of Qt to work
around this but I'm running out of time.
More information about the Qt-interest-old
mailing list