[Qt-interest] Qt x64 Mac Cocoa app crashing randomly (4.6.2)

Nikos Chantziaras realnc at arcor.de
Thu Apr 22 20:31:54 CEST 2010


On 04/22/2010 04:45 PM, Paul Miller wrote:
> I've been playing around with the 64-bit Cocoa Qt build on Mac and I'm
> seeing some very odd random crashes.
>
> My app will work once or twice a couple of times. Then it may crash on
> launch the next time, or crash on exit, then it'll work again.
>
> The crashes are "way down" in Qt. When it crashes on startup, it's
> crashing in QHashData::resize(), or maybe in the initial event
> dispatching in QCoreApplication::exec(). When it crashes on exit, it's
> usually in some QWidget clean up code.
>
> It's like memory is getting corrupted somewhere. But, and here's the
> weird thing, when compiled in 32-bit, it works perfectly.
>
> My code is 64-bit clean, as the 64-bit version of the same app on
> Windows works with no problems.

AFAIK, 64-bit clean on Windows is not the same as 64-bit on Unix, unless 
you're using mingw32 to build on Windows instead of MSVC.



More information about the Qt-interest-old mailing list