• 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: iOS Core Data property getting released unexpectedly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS Core Data property getting released unexpectedly


  • Subject: Re: iOS Core Data property getting released unexpectedly
  • From: Joar Wingfors <email@hidden>
  • Date: Fri, 20 Aug 2010 22:00:04 -0700

On 20 aug 2010, at 18.50, Rick Mann wrote:

> I have a Core Data entity with an associated class file and a bunch of dynamic properties defined. One of them is:
>
> @property (nonatomic, copy) NSString*		urlName;
>
> For some reason, every now and again when my code goes to access this property, it throws an exception for accessing a zombie. The containing object seems fine, and the other properties seem fine. NSZombieEnabled is YES.


The strings is probably over-released from somewhere else - In other words, not a bug with your property. If you can reproduce the issue, you can use Instruments to track all calls to retain / release / autorelease, etc., allowing you to figure out where the erroneous call to release / autorelease comes from.

j o a r


_______________________________________________

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

  • Follow-Ups:
    • Re: iOS Core Data property getting released unexpectedly
      • From: Rick Mann <email@hidden>
References: 
 >iOS Core Data property getting released unexpectedly (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Modifying the Window Menu
  • Next by Date: Re: iOS Core Data property getting released unexpectedly
  • Previous by thread: iOS Core Data property getting released unexpectedly
  • Next by thread: Re: iOS Core Data property getting released unexpectedly
  • Index(es):
    • Date
    • Thread