Skip navigation.
 
mlre: CoreData Statement Still Active (CoreData Multithreading)
FROM : Ben Trumbull
DATE : Thu May 22 22:48:49 2008

Dex,

This error message is pretty much always a multi-threading bug.
-tryLock before a fetch request is not one of the recommended
patterns.  Consider reviewing the Core Data Programming Guide's
multithreading section.

You should try the Debug Libraries from ADC.  These allow you to
enable a user default that will programmatically enforce Core Data's
threading guidelines.  See:

<http://lists.apple.com/archives/cocoa-dev/2008/Mar/msg01098.html>

--

-Ben

Related mailsAuthorDate
mlCore-Data Multithreading question about save Dex Morgan May 21, 22:25
mlRe: Core-Data Multithreading question about save Hamish Allan May 22, 00:18
mlRe: Core-Data Multithreading question about save Dex Morgan May 22, 00:36
mlRe: Core-Data Multithreading question about save Hamish Allan May 22, 01:00
mlRe: Core-Data Multithreading question about save Dex Morgan May 22, 12:37
mlRe: Core-Data Multithreading question about save Hamish Allan May 22, 14:25
mlCoreData Statement Still Active (CoreData Multithreading) Dex Morgan May 22, 16:50
mlre: CoreData Statement Still Active (CoreData Multithreading) Ben Trumbull May 22, 22:48
mlRe: Core-Data Multithreading question about save Ben Trumbull May 22, 23:07
mlRe: CoreData Statement Still Active (CoreData Multithreading) Hal Mueller May 23, 00:29