• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data : 'prepareForSave:: save for NSSQLCore already in progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: AQGridView
  • Next by Date: How to assign a method for touch event to a UIImageView?
  • Previous by thread: Re: AQGridView
  • Next by thread: How to assign a method for touch event to a UIImageView?
  • Index(es):
    • Date
    • Thread