re: Core Data Crash on MOC Release

2009-08-13 Thread Ben Trumbull
I have a iPhone 3.0 application that is using core data in an NSOperation to perform some updates. It is using it's own NSManagedObjectContext connected to a common (with the main thread) persistent store coordinator. Everything works great until the NSOperation ends and is releasing the managed

Re: Core Data Crash on MOC Release

2009-08-13 Thread Kyle Sluder
On Thu, Aug 13, 2009 at 10:03 AM, Volker in Lists wrote: > Why don't you call > self.persistentStoreCoordinator = nil; > instead of releasing the persistentStoreCoordinator ? -dealloc should always access instance variables directly; it should not call accessor methods. Currently this is impossib

Re: Core Data Crash on MOC Release

2009-08-13 Thread Volker in Lists
Hi, do you have any observers or such on objects inside the moc (speak on entities)? I had a hard to trace down crash similar to yours and in my case I just needed some cleanup work on -didTurnToFault for the entity. Are there relationships established and not "destroyed" again completely