ALAssetsLibrary violate Core Data multithreading policy
| Originator: | singjie | ||
| Number: | rdar://20705256 | Date Originated: | 27-Apr-2015 03:05 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 8.3 |
| Classification: | Reproducible: | Always |
Summary: When I have "-com.apple.CoreData.ConcurrencyDebug 1" enabled, it crashes immediately when I access ALAssetsLibrary using 'enumerateGroupsWithTypes:usingBlock:failureBlock:'. Crashes with #0 0x000000018272a614 in +[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] () Steps to Reproduce: 1. Open demo project and ensure "-com.apple.CoreData.ConcurrencyDebug 1" is set in scheme run argument . 2. Build & Run project Expected Results: App shouldn't crash Actual Results: App crashes on both 8.3 simulators and devices. Works fine on 8.2. It crashes with the following stacktrace: #0 0x000000018272a614 in +[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] () #1 0x00000001826f3e00 in -[_PFBatchFaultingArray dealloc] () #2 0x0000000194231724 in (anonymous namespace)::AutoreleasePoolPage::pop(void*) () #3 0x00000001828cd074 in _CFAutoreleasePoolPop () #4 0x00000001829a18a8 in __CFRunLoopRun () #5 0x00000001828cd2d4 in CFRunLoopRunSpecific () #6 0x000000018c0e36fc in GSEventRunModal () #7 0x0000000187492fac in UIApplicationMain () #8 0x00000001000f2e20 in main at /Users/singjie/projects/work/temp/Assets/Assets/main.m:14 #9 0x0000000194896a08 in start () Version: iOS 8.3 Notes: Configuration: iPhone 6/6+ / Simulator
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Reproduced
This appears to still be an issue. Any update regarding it's status.