I have a problem that is almost identical to the problem described by this person here, but it hasn\'t get answered:
http://www.cocoabuilder.com/arc
I too got a crash related to developerSubmittedBlockToNSManagedObjectContextPerform.
In my case, consider the following method calling pattern:
[privatecontext performBlock:^{
A(CDManager.privatecontext);
}];
where: A(CDManager.privateContext) calls B() B() calls C() C() calls D()
and: method A() and method C() contains some Core Data operations. A() already have the knowledge to which context to work on, but A() doesnt inform B() about the context and so C() too doesnt have any info about on which context to work on, so C() works on default context (main). and this causes the crash due to data inconsistently in db.
fix: all the methods which are to work on db operations are parametrized with the context they are to work on, except D() since it need not work on db operation, like:
A(context) calls B(context) B(context) calls C(context) C(context) calls D()