• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in terminate: on Mavericks [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Crash in terminate: on Mavericks (From: James Walker <email@hidden>)
 >Re: Crash in terminate: on Mavericks (From: Ken Thomases <email@hidden>)
 >Re: Crash in terminate: on Mavericks (From: James Walker <email@hidden>)
 >Re: Crash in terminate: on Mavericks (From: Georg Seifert <email@hidden>)
 >Re: Crash in terminate: on Mavericks (From: James Walker <email@hidden>)

  • Prev by Date: Re: printing black
  • Previous by thread: Re: Crash in terminate: on Mavericks
  • Next by thread: Re: Crash in terminate: on Mavericks
  • Index(es):
    • Date
    • Thread