AssetsPickerViewController icon indicating copy to clipboard operation
AssetsPickerViewController copied to clipboard

PHChange-queue crash

Open w33z opened this issue 4 years ago • 2 comments

Hello,

I'm facing with crash. Here is stacktrace from crashlytics:

Crashed: PHChange-queue 0 AssetsPickerViewController 0x1039a3d2c specialized Array.checkSubscript(:wasNativeTypeChecked:) + 4361125164 (:4361125164) 1 AssetsPickerViewController 0x103994d90 AssetsManager.synchronizeAssets(updatedAlbumIndexSets:fetchMapBeforeChanges:changeInstance:) + 4361063824 (:4361063824) 2 AssetsPickerViewController 0x10399541c AssetsManager.photoLibraryDidChange(:) + 197 (AssetsManager+Sync.swift:197) 3 AssetsPickerViewController 0x103995518 @objc AssetsManager.photoLibraryDidChange(:) + 4361065752 (:4361065752) 4 Photos 0x18ff4dddc __40-[PHPhotoLibrary _processPendingChanges]_block_invoke.831 + 412 5 Photos 0x18ff12ff4 -[PHChange preloadChangeDetailsForFetchResults:inManagedObjectContext:handler:] + 1272 6 Photos 0x18ff4d904 -[PHPhotoLibrary _processPendingChanges] + 1308 7 AssetsLibraryServices 0x199548ed0 __pl_dispatch_after_block_invoke + 44 8 libdispatch.dylib 0x184222ec4 _dispatch_call_block_and_release + 32 9 libdispatch.dylib 0x18422433c _dispatch_client_callout + 20 10 libdispatch.dylib 0x18422a85c _dispatch_lane_serial_drain + 568 11 libdispatch.dylib 0x18422b290 _dispatch_lane_invoke + 400 12 libdispatch.dylib 0x184234928 _dispatch_workloop_worker_thread + 584 13 libsystem_pthread.dylib 0x18428b714 _pthread_wqthread + 276 14 libsystem_pthread.dylib 0x1842919c8 start_wqthread + 8

I notice this bugs on iphone 11 (13.5.1) and iphone 11 pro max (13.6.1). Currently i didn't find the way how to reproduce this issue.

Can you advice me what can i do?

w33z avatar Sep 21 '20 09:09 w33z

Hi @w33z, I am also not able to reproduce the issue, one of my users on an iPad has been getting this crash quite frequently. were you able to resolve the issue?

aman-at-appinventiv avatar Jun 28 '21 17:06 aman-at-appinventiv

Hi, I have the same problem on 2.9.7 version - any idea or somebody fixed it in own fork?

shnmxvi avatar Jan 06 '23 10:01 shnmxvi