• 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
All of a sudden, app security exception?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

All of a sudden, app security exception?


  • Subject: All of a sudden, app security exception?
  • From: Rick Mann <email@hidden>
  • Date: Fri, 27 Mar 2015 14:43:05 -0700

So, I'm working along on a little OS X app, and everything is fine. I modify a tiny bit of code (rearranging some if statements in a method, and suddenly I'm getting an exception. I didn't set or change anything related to code signing. I did, just after hitting "run", go over to Safari and check out some WebGL example someone sent me.

What happened?

#0	0x00007fff845fdab7 in __cxa_throw ()
#1	0x00007fff872265d6 in Security::CssmError::throwMe(int) ()
#2	0x00007fff8729ea26 in oidToFields(Security::CssmData const&) ()
#3	0x00007fff87208187 in DecodedCert::getCertFieldData(Security::CssmData const&, unsigned int, unsigned int&, Security::CssmOwnedData&) ()
#4	0x00007fff8721cc8f in AppleX509CLSession::CertGetFirstCachedFieldValue(long, Security::CssmData const&, unsigned int&, cssm_data*&) ()
#5	0x00007fff8721cb58 in cssm_CertGetFirstCachedFieldValue(long, long, cssm_data const*, long*, unsigned int*, cssm_data**) ()
#6	0x00007fff8721c9e9 in CSSM_CL_CertGetFirstCachedFieldValue ()
#7	0x00007fff8721c59c in Security::KeychainCore::Certificate::copyFirstFieldValue(cssm_data const&) ()
#8	0x00007fff8732a59c in SecCertificateCopyFirstFieldValue ()
#9	0x00007fff872e19a6 in Security::CodeSigning::certificateHasField(OpaqueSecCertificateRef*, cssm_data const&) ()
#10	0x00007fff872d5e3e in Security::CodeSigning::Requirement::Interpreter::certFieldGeneric(Security::CssmData const&, Security::CodeSigning::Requirement::Interpreter::Match const&, OpaqueSecCertificateRef*) ()
#11	0x00007fff872d53e8 in Security::CodeSigning::Requirement::Interpreter::evaluate() ()
#12	0x00007fff872d4f8b in Security::CodeSigning::Requirement::Interpreter::evaluate() ()
#13	0x00007fff872d4f9e in Security::CodeSigning::Requirement::Interpreter::evaluate() ()
#14	0x00007fff872d4f9e in Security::CodeSigning::Requirement::Interpreter::evaluate() ()
#15	0x00007fff872d4f9e in Security::CodeSigning::Requirement::Interpreter::evaluate() ()
#16	0x00007fff872d4f9e in Security::CodeSigning::Requirement::Interpreter::evaluate() ()
#17	0x00007fff872d3ba8 in Security::CodeSigning::Requirement::validates(Security::CodeSigning::Requirement::Context const&, int) const ()
#18	0x00007fff872ce1c2 in Security::CodeSigning::SecStaticCode::isAppleDeveloperCert(__CFArray const*) ()
#19	0x00007fff872cd6ac in Security::CodeSigning::SecStaticCode::verifySignature() ()
#20	0x00007fff872cd1dc in Security::CodeSigning::SecStaticCode::validateDirectory() ()
#21	0x00007fff872cfc96 in Security::CodeSigning::SecStaticCode::getDictionary(unsigned int, bool) ()
#22	0x00007fff872ce6f8 in Security::CodeSigning::SecStaticCode::resourceDictionary(bool) ()
#23	0x00007fff872ce685 in Security::CodeSigning::SecStaticCode::estimateResourceWorkload() ()
#24	0x00007fff872d0098 in Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) ()
#25	0x00007fff872c7502 in SecStaticCodeCheckValidityWithErrors ()
#26	0x00007fff80471692 in _LSAddEntitlementsToDictionary(__CFURL const*, __CFDictionary*) ()
#27	0x00007fff80469042 in _LSRegisterDirectoryNode(LSContext*, FSNode*, FSNode*, LSRegistrationInfo*, __CFData const*, __CFDictionary const*, __CFArray**, unsigned char*, unsigned int*) ()
#28	0x00007fff8046a07d in _LSRegisterBundleNode(LSContext*, unsigned int, FSNode*, FSNode*, unsigned int, __CFDictionary const*, __CFArray**, unsigned char*, unsigned int*) ()
#29	0x00007fff803cfe4a in _LSFindOrRegisterBundleNode ()
#30	0x00007fff803ddddd in _LSRegisterSelf ()
#31	0x00007fff803c5cd6 in _LSApplicationCheckIn ()
#32	0x00007fff8bfbfdbe in _RegisterApplication ()
#33	0x00007fff8bfbe4e1 in GetCurrentProcess ()
#34	0x00007fff85e1b0c7 in MenuBarInstance::GetAggregateUIMode(unsigned int*, unsigned int*) ()
#35	0x00007fff85e1b079 in MenuBarInstance::IsVisible() ()
#36	0x00007fff87ec3a6b in _NSInitializeAppContext ()
#37	0x00007fff87ec2d10 in -[NSApplication init] ()
#38	0x00007fff87ec28df in +[NSApplication sharedApplication] ()
#39	0x00007fff87ec1426 in NSApplicationMain ()
#40	0x0000000100001aa2 in main at /Users/rmann/Projects/WorldClock/trunk/WorldClock/main.m:13
#41	0x00007fff89aca5c9 in start ()


--
Rick Mann
email@hidden



_______________________________________________

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


  • Follow-Ups:
    • Re: All of a sudden, app security exception?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: How to Extend Swift Dictionary?
  • Next by Date: Re: All of a sudden, app security exception?
  • Previous by thread: Re: How to Extend Swift Dictionary?
  • Next by thread: Re: All of a sudden, app security exception?
  • Index(es):
    • Date
    • Thread