• 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: URL loading system not threadsafe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL loading system not threadsafe?


  • Subject: Re: URL loading system not threadsafe?
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 18 Nov 2005 15:04:29 -0800
  • Thread-topic: URL loading system not threadsafe?

on 05/11/18 05:33, Henk Kampman at email@hidden wrote:

> The following code always crashes in NSURLCache (see partial
> crashlogs) after running for a few minutes.

> BTW I'm using a G5 DP2.0 running OSX 10.4.3

My app creates, cancels and releases a lot of NSURLConnections.  A couple
weeks ago, after the 10.4.3 update, I started getting reports of crashes,
but only from users with dual-processor Macs.  In preliminary testing (i.e.
fire-fighting) I observed that it seemed to be leaking, and I was able to
stop the crashes by over-retaining the NSURLConnections' delegates (thus
leaking even more).

I filed a "preliminary" bug report with Apple (4347324), but they probably
won't read it until I verify that there is not some stupid error in my code
by compiling a smoking-gun demo.  I'm hoping I can do this in a couple
weeks.

In the meantime Henk, if you get a chance, try your app on a
single-processor Mac and see if it still blows.

Jerry


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

This email sent to email@hidden

  • Follow-Ups:
    • Re: URL loading system not threadsafe?
      • From: Henk Kampman <email@hidden>
References: 
 >URL loading system not threadsafe? (From: Henk Kampman <email@hidden>)

  • Prev by Date: Re: Distributed Objects - which frameworks?
  • Next by Date: Re: Using keyboard to toggle checkboxes in NSTableView cell
  • Previous by thread: Re: URL loading system not threadsafe?
  • Next by thread: Re: URL loading system not threadsafe?
  • Index(es):
    • Date
    • Thread