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 rm...@latencyzero.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com