Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0xa248 __exceptionPreprocess
1 libobjc.A.dylib 0x17a68 objc_exception_throw
2 CoreData 0x68c4 _PFFaultHandlerLookupRow
3 CoreData 0x2e82c _PF_FulfillDeferredFault
4 CoreData 0x8a354 _pvfk_header
5 CoreData 0xe4c78 _sharedIMPL_pvfk_core
6 PhotoLibraryServices 0x8b40c -[PLInternalResource scaleGivenAssetHasAdjustments:currentWidth:currentHeight:]
7 Photos 0x4d5bc ___presentFullResourceAtIndex_block_invoke
8 PhotoLibraryServices 0x1a6e94 __53-[PLManagedObjectContext _directPerformBlockAndWait:]_block_invoke
9 CoreData 0x82c20 developerSubmittedBlockToNSManagedObjectContextPerform
10 libdispatch.dylib 0x3fdc _dispatch_client_callout
11 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete
12 CoreData 0x827a8 -[NSManagedObjectContext performBlockAndWait:]
13 PhotoLibraryServices 0x1a6e48 -[PLManagedObjectContext _directPerformBlockAndWait:]
14 PhotoLibraryServices 0x1a64e8 -[PLManagedObjectContext performBlockAndWait:]
15 Photos 0x4b09c _presentFullResourceAtIndex
16 Photos 0x3fc24 PHChooserListContinueEnumerating
17 Photos 0x22224 -[PHImageResourceChooser presentNextQualifyingResource]
18 Photos 0x21a8c -[PHImageRequest startRequest]
19 Photos 0x2118c -[PHMediaRequestContext _registerAndStartRequests:]
20 Photos 0xe8ec -[PHMediaRequestContext start]
21 Photos 0x10c64 -[PHImageManager runRequestWithContext:]
22 Photos 0x10aac -[PHImageManager requestNewCGImageForAsset:targetSize:contentMode:options:resultHandler:]
23 Photos 0x106d0 -[PHImageManager requestImageForAsset:targetSize:contentMode:options:resultHandler:]
Post
Replies
Boosts
Views
Activity
We also encountered the same problem too. It occurs when we call
-[PHImageManager requestImageForAsset:targetSize:contentMode:options:resultHandler:]