Re: iOS Core Data property getting released unexpectedly
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