when creating a shared folder Photos hangs
There is a large number of photos ~1000 but it should work, right?
Date/Time: 2021-06-02 03:35:37.167 +0300
End time: 2021-06-02 03:38:52.723 +0300
OS Version: macOS 11.4 (Build 20F71)
Architecture: arm64e
Report Version: 32
Data Source: Stackshots
Shared Cache: DA77D7E4-88AC-3DFA-8D74-CEBA36827791 slid base address 0x19dd90000, slide 0x1dd90000
Shared Cache: 482F0EF9-B940-309E-8378-2B670C55A83E slid base address 0x7fff2000c000, slide 0xc000
Command: Photos
Path: /System/Applications/Photos.app/Contents/MacOS/Photos
Identifier: com.apple.Photos
Version: 6.0 (350.0.100)
Build Version: 199
Project Name: Photos_Apps
Source Version: 350000100000000
Parent: launchd [1]
PID: 8223
Time Since Fork: 416s
Duration: 195.56s
Duration Sampled: 10.01s (process was unresponsive for 186 seconds before sampling)
Steps: 1001 (10ms sampling interval)
Hardware model: MacBookPro17,1
Active cpus: 8
Time Awake Since Boot: 9997s
Time Since Wake: n/a (machine hasn't slept)
Fan speed: 0 rpm
----------------------------------------
Heavy format: stacks are sorted by count
----------------------------------------
Process: Photos [8223]
UUID: 9AA02CFE-3934-30DE-9B61-EAAC24B8EC24
Shared Cache: DA77D7E4-88AC-3DFA-8D74-CEBA36827791 slid base address 0x19dd90000, slide 0x1dd90000
App Version: 6.0
Build Version: 350.0.100
Path: /System/Applications/Photos.app/Contents/MacOS/Photos
Architecture: arm64e
Parent: launchd [1]
UID: 501
Footprint: 636.93 MB
Time Since Fork: 416s
Num samples: 1001 (1-1001)
Note: Unresponsive for 186 seconds before sampling
Dispatch Thread Hard Limit Reached: 512 (too many dispatch threads blocked in synchronous operations)
Thread 0x13fa1 DispatchQueue "com.apple.main-thread"(1) 1001 samples (1-1001) priority 46 (base 46)
1001 start + 4 (libdyld.dylib + 99408) [0x19e099450]
1001 NSApplicationMain + 1064 (AppKit + 14108) [0x1a092971c]
1001 -[NSApplication run] + 596 (AppKit + 203948) [0x1a0957cac]
1001 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1292 (AppKit + 261664) [0x1a0965e20]
1001 _DPSNextEvent + 836 (AppKit + 267392) [0x1a0967480]
1001 _BlockUntilNextEventMatchingListInModeWithFilter + 72 (HIToolbox + 196052) [0x1a6092dd4]
1001 ReceiveNextEventCommon + 552 (HIToolbox + 196628) [0x1a6093014]
1001 RunCurrentEventLoopInMode + 292 (HIToolbox + 197280) [0x1a60932a0]
1001 CFRunLoopRunSpecific + 600 (CoreFoundation + 533992) [0x19e1785e8]
1001 __CFRunLoopRun + 2524 (CoreFoundation + 538428) [0x19e17973c]
1001 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CoreFoundation + 806184) [0x19e1bad28]
1001 _dispatch_main_queue_callback_4CF + 608 (libdispatch.dylib + 74240) [0x19deda200]
1001 _dispatch_source_invoke + 1284 (libdispatch.dylib + 105340) [0x19dee1b7c]
1001 _dispatch_continuation_pop + 448 (libdispatch.dylib + 29592) [0x19decf398]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 __23-[MTKView __initCommon]_block_invoke + 48 (MetalKit + 23304) [0x1ab9d8b08]
1001 -[MTKView draw] + 288 (MetalKit + 23624) [0x1ab9d8c48]
1001 -[PXGMetalRenderer drawInMTKView:] + 92 (PhotosUICore + 296244) [0x1d4cee534]
1001 -[PXGEngine rendererPerformRender:] + 60 (PhotosUICore + 296336) [0x1d4cee590]
1001 -[PXGEngine _render] + 588 (PhotosUICore + 297132) [0x1d4cee8ac]
1001 -[PXGEngine _enumerateRenderers:] + 200 (PhotosUICore + 297716) [0x1d4ceeaf4]
1001 __20-[PXGEngine _render]_block_invoke + 336 (PhotosUICore + 298168) [0x1d4ceecb8]
1001 -[PXGMetalRenderer renderSpritesWithTextures:dataStore:presentationDataStore:presentationMetadataStore:layout:] + 1552 (PhotosUICore + 303664) [0x1d4cf0230]
1001 -[PXGMetalRenderer _render:withCompletionCompletion:] + 1948 (PhotosUICore + 307100) [0x1d4cf0f9c]
1001 -[_MTLCommandBuffer waitUntilScheduled] + 84 (Metal + 126560) [0x1a5d21e60]
1001 _pthread_cond_wait + 1248 (libsystem_pthread.dylib + 32172) [0x19e07bdac]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 17736) [0x19e044548]
*1001 psynch_cvcontinue + 0 (pthread + 17576) [0xfffffe000a9c44a8]
Thread 0x17ac0 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9569) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17aa0 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9575) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17a9d DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9581) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17ab9 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9587) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17a9b DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9594) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17aa4 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9602) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17ac4 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9608) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17b05 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9615) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17b04 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9623) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Thread 0x17b09 DispatchQueue "PHAssetExportRequest.ResourceProcessingQueue"(9631) 1001 samples (1-1001) priority 37 (base 37)
1001 start_wqthread + 8 (libsystem_pthread.dylib + 9684) [0x19e0765d4]
1001 _pthread_wqthread + 276 (libsystem_pthread.dylib + 14492) [0x19e07789c]
1001 _dispatch_workloop_worker_thread + 764 (libdispatch.dylib + 93044) [0x19dedeb74]
1001 _dispatch_lane_invoke + 456 (libdispatch.dylib + 49880) [0x19ded42d8]
1001 _dispatch_lane_serial_drain + 620 (libdispatch.dylib + 46760) [0x19ded36a8]
1001 _dispatch_client_callout + 20 (libdispatch.dylib + 16064) [0x19decbec0]
1001 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 8488) [0x19deca128]
1001 __137-[PHAssetExportRequest handleResultWithFileURLs:cancelled:withError:forAsset:withOptions:progress:processingUnitCount:completionHandler:]_block_invoke.594 + 1096 (Photos + 338384) [0x1bad259d0]
1001 -[PHAssetExportRequest processResourcesAtFileURLs:forAsset:withOptions:progress:processingUnitCount:completion:] + 1772 (Photos + 316348) [0x1bad203bc]
1001 _dispatch_group_wait_slow + 60 (libdispatch.dylib + 19528) [0x19deccc48]
1001 _dlock_wait + 56 (libdispatch.dylib + 18592) [0x19decc8a0]
1001 __ulock_wait + 8 (libsystem_kernel.dylib + 11156) [0x19e042b94]
*1001 ??? (kernel.release.t8101 + 5777592) [0xfffffe000819a8b8]
Posted on Jun 1, 2021 6:01 PM
Upvote if this is a clear question
Downvote if this question isn’t clear