• 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: Crashes when implicitly accessing the Keychain from NSURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashes when implicitly accessing the Keychain from NSURL


  • Subject: Re: Crashes when implicitly accessing the Keychain from NSURL
  • From: Mike Fischer <email@hidden>
  • Date: Wed, 23 Jan 2008 14:22:01 +0100

Am 10.01.2008 um 13:25 schrieb Hamish Allan:

On Jan 10, 2008 12:14 PM, Mike Fischer <email@hidden> wrote:

Like the header of the crash log says: 10.5.1 (9B18)

Ah yes.

Should I report this as a bug on BugReporter?

I would *always* report bugs in Apple's frameworks, even if you have a workaround, or you know it's already been reported by someone else.

It took me a while but I have finally decided to report this as a bug:

<rdar://5702001>


At first I thought my code was somehow at fault. But after completely rewriting the code to use the lower level NSUrlConnection instead of NSURL resourceDataUsingCache: I am still seeing exactly the same type of crashes. I'm usually not seeing them right away. In fact often it takes a couple of hours and several thousand downloads to trigger the bug. But I am now pretty sure that it's not my fault.


To me it looks like a multi-threading/multi-access bug in the Apple Keychain access code. My app querying the Keychain very often only increases the likelyhood of triggering the bug I believe.


BTW: There is one workaround: Including the name and password in the url (http://<name>:<password>@<host><path>) will prevent the Url loading system from asking the Keychain, thus avoiding the bug.



Thanks for you comments! Mike -- Mike Fischer Softwareentwicklung, EDV-Beratung Schulung, Vertrieb Note: I read this list in digest mode! Send me a private copy for faster responses.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Crashes when implicitly accessing the Keychain from NSURL (From: Mike Fischer <email@hidden>)
 >Re: Crashes when implicitly accessing the Keychain from NSURL (From: Mike Fischer <email@hidden>)
 >Re: Crashes when implicitly accessing the Keychain from NSURL (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: How to create an auth model similar to the networking prefs?
  • Next by Date: Re: Connect to Server smb path containing :139 resets / kills Finder
  • Previous by thread: Re: Crashes when implicitly accessing the Keychain from NSURL
  • Next by thread: Re: IPSec not a "supported" protocol for PPP interfaces?
  • Index(es):
    • Date
    • Thread