Posts

Post not yet marked as solved
8 Replies
Same crash here on the release version of iOS 16.0 (20A362) Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000058 Exception Codes: 0x0000000000000001, 0x0000000000000058 VM Region Info: 0x58 is not in any region. Bytes before following region: 4374265768 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 104ba0000-107bc0000 [ 48.1M] r-x/r-x SM=COW ...p/godlike_iOS Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [1841] Thread 0 name: Dispatch queue: */file=89) Thread 0: 0 libobjc.A.dylib 0x19a141cc4 objc_msgSend + 196 1 CoreData 0x1a84d7940 -[NSXPCStore executeFetchRequest:withContext:error:] + 463 2 CoreData 0x1a84730b0 -[NSXPCStore executeRequest:withContext:error:] + 143 3 CoreData 0x1a859cb6c __65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke.551 + 4183 4 CoreData 0x1a84685f4 -[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 263 5 CoreData 0x1a842ca8c -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1079 6 CoreData 0x1a841fd30 -[NSManagedObjectContext executeFetchRequest:error:] + 687 7 PhotoLibraryServices 0x1b59fa0b8 -[PLManagedObjectContext _pl_executeFetchRequest:error:] + 255 8 PhotoLibraryServices 0x1b5859688 -[PLManagedObjectContext executeFetchRequest:error:] + 87 9 Photos 0x1b5596a00 __98-[PHPhotoLibrary fetchDictionariesByPHClassForOIDs:propertyHint:includeTrash:overrideWithPHClass:]_block_invoke + 467 10 PhotoLibraryServices 0x1b59f9e94 __53-[PLManagedObjectContext _directPerformBlockAndWait:]_block_invoke + 47 11 CoreData 0x1a8489c20 developerSubmittedBlockToNSManagedObjectContextPerform + 155 12 libdispatch.dylib 0x1a8205fdc _dispatch_client_callout + 19 13 libdispatch.dylib 0x1a8215574 _dispatch_lane_barrier_sync_invoke_and_complete + 55 14 CoreData 0x1a84897a8 -[NSManagedObjectContext performBlockAndWait:] + 263 15 PhotoLibraryServices 0x1b59f9e48 -[PLManagedObjectContext _directPerformBlockAndWait:] + 143 16 PhotoLibraryServices 0x1b59f94e8 -[PLManagedObjectContext performBlockAndWait:] + 195 17 Photos 0x1b55b0574 -[PHPhotoLibrary fetchDictionariesByPHClassForOIDs:propertyHint:includeTrash:overrideWithPHClass:] + 579 18 Photos 0x1b55af24c -[PHPhotoLibrary fetchPHObjectsForOIDs:propertyHint:includeTrash:overrideResultsWithClass:] + 135 19 Photos 0x1b55af040 -[PHBatchFetchingArray _phObjectsForOIDs:] + 415 20 Photos 0x1b55aedcc -[PHBatchFetchingArray _fetchObjectsInBatchNumber:] + 435 21 Photos 0x1b55aeb74 __67-[PHBatchFetchingArray _batchForBatchNumber:shouldUpdateLastBatch:]_block_invoke + 47 22 PhotoLibraryServicesCore 0x1b5fe1658 __27-[PLLazyObject objectValue]_block_invoke + 83 23 PhotoLibraryServicesCore 0x1b5fda3fc PLResultWithUnfairLock + 55 24 PhotoLibraryServicesCore 0x1b5fd0fcc -[PLLazyObject objectValue] + 103 25 Photos 0x1b559c544 -[PHBatchFetchingArray _batchForBatchNumber:shouldUpdateLastBatch:] + 443 26 Photos 0x1b559c288 -[PHBatchFetchingArray _phObjectAtIndex:] + 59 27 Photos 0x1b559f8c8 -[PHBatchFetchingArray _populateObjectBuffer:range:] + 87 28 Photos 0x1b559f850 -[PHBatchFetchingArray countByEnumeratingWithState:objects:count:] + 91 29 Photos 0x1b559f688 -[PHFetchResult countByEnumeratingWithState:objects:count:] + 59 30 App 0x107636230 -[PhotoPickerManager getCameraRollAlbumContentImage:contentVideo:ascending:completion:] + 535 31 App 0x1078ee31c __100-[ShowPhotoPickerManager innerShowPhotoPickerInController:pickerConfig:isFromPublish:finishBlock:]_block_invoke + 235 32 libdispatch.dylib 0x1a82044b4 _dispatch_call_block_and_release + 31 33 libdispatch.dylib 0x1a8205fdc _dispatch_client_callout + 19 34 libdispatch.dylib 0x1a82147f4 _dispatch_main_queue_drain + 927 35 libdispatch.dylib 0x1a8214444 _dispatch_main_queue_callback_4CF + 43 36 CoreFoundation 0x1a0e1aa08 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 15 37 CoreFoundation 0x1a0dfc368 __CFRunLoopRun + 2035 38 CoreFoundation 0x1a0e011e4 CFRunLoopRunSpecific + 611 39 GraphicsServices 0x1d9c21368 GSEventRunModal + 163 40 UIKitCore 0x1a32b0d88 -[UIApplication _run] + 887 41 UIKitCore 0x1a32b09ec UIApplicationMain + 339 42 App 0x107bc1740 main + 215 (main.m:49) 43 dyld 0x1bf125948 start + 2503 Thread 16 name: Dispatch queue: com.apple.privacyaccounting.PAAccessLogger Thread 16 Crashed: 0 libdispatch.dylib 0x1a821b4a8 _dispatch_source_set_runloop_timer_4CF + 32 1 PrivacyAccounting 0x1bf2b41e8 -[PACoalescingIntervalTracker coalesce:] + 423 2 PrivacyAccounting 0x1bf2b41e8 -[PACoalescingIntervalTracker coalesce:] + 423 3 PrivacyAccounting 0x1bf2a8d34 __22-[PAAccessLogger log:]_block_invoke + 359 4 libdispatch.dylib 0x1a8215114 _dispatch_block_async_invoke2 + 147 5 libdispatch.dylib 0x1a8205fdc _dispatch_client_callout + 19 6 libdispatch.dylib 0x1a820d694 _dispatch_lane_serial_drain + 671 7 libdispatch.dylib 0x1a820e214 _dispatch_lane_invoke + 435 8 libdispatch.dylib 0x1a8218e10 _dispatch_workloop_worker_thread + 651 9 libsystem_pthread.dylib 0x1ed6a8df8 _pthread_wqthread + 287 10 libsystem_pthread.dylib 0x1ed6a8b98 start_wqthread + 7 Main thread is enumerating PHAssetResult when crashed.   PHFetchResult<PHAssetCollection *> *smartAlbums = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeSmartAlbum subtype:PHAssetCollectionSubtypeAlbumRegular options:nil];   for (PHAssetCollection *collection in smartAlbums) { // Stuck at this line. /// ... }