Well, that was quick. With NSZombieEnabled, I get this when
deallocating my context:

*** -[VetVisit_VetVisit_ _hasRetainedStoreResources]: message sent to
deallocated instance 0x16b85600

VetVisit is class that represents an Entity in my object model - the
Pet entity has a collection of VetVisit objects. I don't actually ever
manage these directly - I let Core Data NSArrayControllers handle
them. In this case, the model is never seeing any array controllers.

Is this something wrong with my model? I can't see anything wrong at
surface level - indeed, the app itself has been working perfectly with
its model for some time. I'd appreciate any pointers.

You've over released a managed object. If you use Instruments ObjectAlloc tool with retain counting and Zombies enabled it will record each stack trace of every retain and release. It makes these things a lot easier to track down.

- Ben



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to