After some careful debugging, I have discovered a bug in my application that is rooted in the system frameworks loading a buggy Apple bundle:
/System/Library/CoreServices/MLTEFile.bundle
I am confident that I am not benefiting from the services of this bundle, and am doubtful that many apps are. In fact I learned by studying Xcode itself that the bundle CANNOT be loaded into Xcode's memory space because the bundle is not Garbage Collection compatible.
So ideally, I'd like to prevent this bundle from being loaded into my app as well. One way about doing that would be to require GC in my own app, but I'm not about to do that. Can anybody think of a way to circumvent attempts by system frameworks to call dlopen()
on this library?