• 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
KeychainCore: Crashes related to SSL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KeychainCore: Crashes related to SSL?


  • Subject: KeychainCore: Crashes related to SSL?
  • From: Νικόλας Τουμπέλης <email@hidden>
  • Date: Sat, 28 Feb 2009 15:40:25 +0200

Hello,
I'm writing a Mac application that connects to a server over https. I get
random crashes that appear to be linked to how the KeychainCore handles SSL.
This is the offending thread:

Thread 2 Crashed:
0   libstdc++.6.dylib             0x9128fa03 __dynamic_cast + 15
1   com.apple.security             0x95b0e45a Security::CssmClient::CLImpl&
Security::CssmClient::Object::impl<Security::CssmClient::CLImpl>() const +
54
2   com.apple.security             0x95b0c535
Security::KeychainCore::Certificate::clHandle() + 151
3   com.apple.security             0x95b0c881
Security::KeychainCore::Certificate::copyFirstFieldValue(cssm_data const&) +
19
4   com.apple.security             0x95b4e834
Security::KeychainCore::UserTrustItem::makeCertIndex(Security::KeychainCore::Certificate*,
Security::CssmOwnedData&) + 42
5   com.apple.security             0x95b4ecef
Security::KeychainCore::TrustStore::findItem(Security::KeychainCore::Certificate*,
Security::KeychainCore::Policy*,
std::vector<Security::KeychainCore::Keychain,
std::allocator<Security::KeychainCore::Keychain> >&) + 59
6   com.apple.security             0x95b4ee81
Security::KeychainCore::TrustStore::find(Security::KeychainCore::Certificate*,
Security::KeychainCore::Policy*,
std::vector<Security::KeychainCore::Keychain,
std::allocator<Security::KeychainCore::Keychain> >&) + 53
7   com.apple.security             0x95b4b881
Security::KeychainCore::Trust::evaluateUserTrust(Security::CertGroup const&,
CSSM_TP_APPLE_EVIDENCE_INFO const*, Security::CFCopyRef<__CFArray const*>) +
733
8   com.apple.security             0x95b4be61
Security::KeychainCore::Trust::evaluate() + 1395
9   com.apple.security             0x95b41ab0 SecTrustEvaluate + 90
10  com.apple.security             0x95af96a6 sslVerifyCertChain + 920
11  com.apple.security             0x95aff184 SSLProcessCertificate + 321
12  com.apple.security             0x95b02284 SSLProcessHandshakeRecord +
530
13  com.apple.security             0x95b05b27 SSLProcessProtocolMessage + 77
14  com.apple.security             0x95b05cc3 SSLHandshakeProceed + 322
15  com.apple.security             0x95b05d38 SSLHandshake + 68
16  com.apple.CFNetwork           0x90ad59d1
SocketStream::_PerformSecurityHandshake_NoLock() + 115
17  com.apple.CFNetwork           0x90b0fa10
SocketStream::socketCallback(__CFSocket*, unsigned long, __CFData const*,
void const*) + 620
18  com.apple.CFNetwork           0x90b0fcd1
SocketStream::_SocketCallBack_stream(__CFSocket*, unsigned long, __CFData
const*, void const*, void*) + 77
19  com.apple.CoreFoundation       0x900f4920 __CFSocketDoCallback + 640
20  com.apple.CoreFoundation       0x900f5f65 __CFSocketPerformV0 + 133
21  com.apple.CoreFoundation       0x900eb5f5 CFRunLoopRunSpecific + 3141
22  com.apple.CoreFoundation       0x900ebcd8 CFRunLoopRunInMode + 88
23  com.apple.Foundation           0x91cfbd40
+[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
24  com.apple.Foundation           0x91c987ed -[NSThread main] + 45
25  com.apple.Foundation           0x91c98394 __NSThread__main__ + 308
26  libSystem.B.dylib             0x90216095 _pthread_start + 321
27  libSystem.B.dylib             0x90215f52 thread_start + 34

I would appreciate any ideas about what could be causing this, and any
defensive measures to avoid it.

Thank you,


Nick


--
Nick Toumpelis

email: email@hidden
twitter: macsphere
_______________________________________________

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

  • Prev by Date: Re: Simple text encryption
  • Next by Date: Re: Patched OpenSSL
  • Previous by thread: Re: Implementing 4 different view modes of finder
  • Next by thread: Optimizing, uiview caching, and clearing that cached view.
  • Index(es):
    • Date
    • Thread