PHCachingImageManager crashed on iOS 13.0

Does someone encounter this crash on iOS 13.0?


Crashed: com.apple.photos.imageManagerCache  
0  libobjc.A.dylib                0x1a5ac4188 objc_msgSend + 8  
1  CoreFoundation                 0x1a5c7ac04 -[__NSDictionaryM objectForKeyedSubscript:] + 180  
2  Photos                         0x1b0fff780 -[PHCompositeMediaResult isDegraded] + 36  
3  Photos                         0x1b1057964 -[PHCachingImageManager _canPopulateCacheForResult:] + 36  
4  Photos                         0x1b105a588 __90-[PHCachingImageManager additionalWorkForImageRequestCompletedWithResult:request:context:]_block_invoke + 64  
5  libdispatch.dylib              0x1a5a6c658 _dispatch_call_block_and_release + 24  
6  libdispatch.dylib              0x1a5a6d1cc _dispatch_client_callout + 16  
7  libdispatch.dylib              0x1a5a19524 _dispatch_lane_serial_drain$VARIANT$mp + 608  
8  libdispatch.dylib              0x1a5a19f18 _dispatch_lane_invoke$VARIANT$mp + 420  
9  libdispatch.dylib              0x1a5a23400 _dispatch_workloop_worker_thread + 588  
10 libsystem_pthread.dylib        0x1a5abcfa8 _pthread_wqthread + 276  
11 libsystem_pthread.dylib        0x1a5abfae4 start_wqthread + 8 



We use PHCachingImageManager in a serial queue. But it seems there is a concurrency issue inside PHCachingImageManager.

It only happen on iOS 13.0, did't see any reported from iOS13.1.

Replies

Currently seeing this same issue, not sure of the fix at the moment.

I'm seeing the same issue in the app i'm working on.

I'm also seeing the same issue.