• 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: NSXML & Auto Release Pools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXML & Auto Release Pools


  • Subject: Re: NSXML & Auto Release Pools
  • From: Michael Ash <email@hidden>
  • Date: Wed, 4 Feb 2009 17:54:12 -0500

On Wed, Feb 4, 2009 at 3:23 PM, Alan Shouls <email@hidden> wrote:
> Hi James,
>
>> The NSXML object is probably calling autorelease on something in its
>> dealloc method (this is perfectly legal, and should generally be seen as
>> implementation detail - you're just seeing a side effect of it here).
>
> Right - thanks for this. This explains what is happening.

And if you want to check it out further, the error message refers to
an _NSAutoreleaseNoPool function being called. Stick a breakpoint on
that function in the debugger and make the problem happen again, and
then you can see precisely where it's happening and, hopefully, get an
idea as to why.

Mike
_______________________________________________

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

References: 
 >NSXML & Auto Release Pools (From: Alan Shouls <email@hidden>)
 >Re: NSXML & Auto Release Pools (From: James Montgomerie <email@hidden>)
 >Re: NSXML & Auto Release Pools (From: Alan Shouls <email@hidden>)

  • Prev by Date: Update an existing Core Data store when the model changes?
  • Next by Date: Re: Confused about NSTrackingAreas with autoscroll
  • Previous by thread: Re: NSXML & Auto Release Pools
  • Next by thread: [Q] Control over the "You cannot use the application ... with this version of Mac OS X" string
  • Index(es):
    • Date
    • Thread