Core Data : 'prepareForSave:: save for NSSQLCore already in progress
Core Data : 'prepareForSave:: save for NSSQLCore already in progress
- Subject: Core Data : 'prepareForSave:: save for NSSQLCore already in progress
- From: Jerry Krinock <email@hidden>
- Date: Fri, 24 Jun 2011 13:08:10 -0700
I received a crash report from a user, Mac OS 10.5.8. Here's the gist:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason:
'prepareForSave:: save for NSSQLCore 0x75d740 is already in progress'
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x96a75e94 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1 libobjc.A.dylib objc_exception_throw + 40
2 com.apple.CoreData -[NSManagedObjectContext save:] + 1598
Can anyone suggest how that might have occurred? This occurred in a background tool, not an app. The process is multithreaded; however I've been pretty careful, I think, to only do Core Data stuff on the main thread.
Thanks,
Jerry Krinock_______________________________________________
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