[Interest] Qt App iOS Simulator Crash

Brian Dentino brian.dentino at gmail.com
Sat Sep 6 22:40:40 CEST 2014


I'm running into a really strange issue that I've hit a dead end with. 

I'm working on a Qt iOS app, and was able to run it fine within the simulator until one day it just started crashing a few seconds after starting. The call stack I get when debugging this crash is pretty much all greek to me, as it fails somewhere different every time, but typically around some "realizeClass" or "lookupImpOrForward" iOS function.

I've noticed that this only happens when simulating non-64-bit hardware; the app runs fine when using the "iPhone Retina (4-inch 64-bit)" or "iPad Retina (64-bit)" hardware options work fine.

So I thought this must be an architecture issue, but the strange thing is that if I go into the app bundle in my Simulator folder (/Users/bdentino/Library/Application Support/iPhone Simulator/7.1/Applications) and rename the actual executable (not the bundle itself) to something else (and modify the corresponding Info.plist setting to match), the app runs perfectly fine on all hardware simulators. 

I literally have no clue what could be the cause of this. I've tried clearing all the caches I know about (Xcode Derived Data, above mentioned iPhone Simulator app directory, /var/folders, and Qt app build directory) and even uninstalled/reinstalled Xcode completely, but everything still fails when the app executable has this specific name ('Bluu', FWIW), and works perfectly fine as soon as the name is changed to anything else (but it's the same exact binary!).

Does anyone have any idea what might be going on here? Is there some cache I'm missing that might be corrupted? I'm pretty stuck on this one...

Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140906/f4c90545/attachment.html>


More information about the Interest mailing list