> On 2014 Sep 29, at 12:54, Romain Piveteau <romainpivet...@me.com> wrote:
> 
> I am facing the exact same crash as you in my NSPersistentDocument app.

Indeed it looks like the same to me.

I have no news on this since I reported it six months ago.  Actually, that’s 
good news, because my workaround, to close and reopen the document, apparently 
does not have any bad side effects.  Again, I think it’s probably a good 
workaround because an out-of-box NSPersistentDocument app will, unlike 
NSDocument, close and reopen the window when user clicks “Revert”.  So it’s not 
surprising to me at all that “Save As” requires the same hack.  In either case, 
Core Data needs to somehow switch SQLite to a new database file while 
pretending to Cocoa Bindings that nothing happened, in an operation that is 
rarely used and thus rarely tested.

I hope you can isolate the problem in a demo project and file a bug.  I didn’t 
try that hard.  Honestly, when it comes to NSPersistentDocument, since OS X 
10.7, if I can find a workaround that makes some sense, I just patch it in and 
move on.


_______________________________________________

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

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

Reply via email to