Re: coredata framework daemon-safe?
Re: coredata framework daemon-safe?
- Subject: Re: coredata framework daemon-safe?
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 17 May 2006 01:06:35 -0700
On May 17, 2006, at 12:51 AM, P Smith wrote:
While saving to a file for the first time, my daemon crashes at
[ moc save]
OK -- that indicates that one of your managed objects is hosed --
corrupted or over-released --prior to the save.
What does the backtrace look like at the point of the crash?
Also, the code you posted includes references to locking/unlocking
the managed object context. That indicates that there is potential
threading going on? What are the other threads doing?
(relatively straightforward code example deleted)
Entity *entity = [[[Entity alloc] initWithEntity:myEntity
insertIntoManagedObjectContext:moc] autorelease];
[ myEntity setName : [NSString stringWithCString: fileName]];
This looks a bit odd. entity then myEntity?
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden