Re: Crash in terminate: on Mavericks [SOLVED]
Re: Crash in terminate: on Mavericks [SOLVED]
- Subject: Re: Crash in terminate: on Mavericks [SOLVED]
- From: James Walker <email@hidden>
- Date: Tue, 22 Jan 2019 13:37:29 -0800
I narrowed the problem down to a plug-in bundle being unloaded using
CFBundleUnloadExecutable. (I know, that's not the recommended approach,
but this is legacy code.) So I looked into the plug-in. It's mostly
C++, but there was one Objective-C++ source file that wasn't being used
and didn't contain any exported symbols, so I removed that from the
target and rebuilt. Then the crash went away! I don't quite see why
simply having that file there, with nothing exported and dead code
stripping turned on, would affect anything. But I verified with otool
-L that the old plug-in referenced the Foundation framework, and the new
one does not.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden