Post

Replies

Boosts

Views

Activity

Reply to Crash when presenting UIPrintInteractionController on iOS 16
We also have related crashes with UIPrintPreviewPageFetcher Exception Type: SIGSEGV Exception Codes: SEGV_MAPERR at 0x8 Crashed Thread: 0 Thread 0 Crashed: 0 CoreGraphics 0x000000018ae88ab0 CGContextDrawPDFPageWithDrawingCallbacks + 208 1 CoreGraphics 0x000000018ae1ea00 CGContextDrawPDFPage + 32 2 PrintKitUI 0x00000001d110fa50 getPageImageForPage + 1676 3 PrintKitUI 0x00000001d1131b30 -[UIPrintPreviewPageFetcher _drawPageContextIntoImage:] + 292 4 PrintKitUI 0x00000001d11313b4 -[UIPrintPreviewPageFetcher sheetImageForItemAt:] + 108 5 PrintKitUI 0x00000001d110219c -[UIPrintPreviewViewController collectionView:cellForItemAtIndexPath:] + 128 6 UIKitCore 0x000000018b51874c -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 952 7 UIKitCore 0x000000018b55de8c -[UICollectionView _preparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 180 8 UIKitCore 0x000000018bad07e4 __114-[UICollectionView _createAndAppendViewAnimationsForInsertsInCurrentUpdate:appearingAnimations:newSubviewManager:]_block_invoke + 348 9 UIKitCore 0x000000018bad05bc -[UICollectionView _createAndAppendViewAnimationsForInsertsInCurrentUpdate:appearingAnimations:newSubviewManager:] + 1408 10 UIKitCore 0x000000018b58d9ec -[UICollectionView _viewAnimationsForCurrentUpdateWithCollectionViewAnimator:] + 256 11 UIKitCore 0x000000018bad4640 __102-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]_block_invoke.748 + 264 12 UIKitCore 0x000000018b3fca3c +[UIView(Animation) performWithoutAnimation:] + 72 13 UIKitCore 0x000000018b6de954 -[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:] + 1384 14 UIKitCore 0x000000018b6ddf70 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] + 9016 15 UIKitCore 0x000000018b63cb54 -[UICollectionView _updateRowsAtIndexPaths:updateAction:updates:] + 392 16 UIKitCore 0x000000018b63ded0 -[UICollectionView reloadItemsAtIndexPaths:] + 48 17 PrintKitUI 0x00000001d11027b8 -[UIPrintPreviewViewController reloadVisibleItems:] + 252 18 PrintKitUI 0x00000001d11012b0 __63-[UIPrintPreviewViewController updatePdfURL:options:completed:]_block_invoke_2 + 40 19 Foundation 0x0000000183611060 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 20 20 Foundation 0x00000001835e51b0 -[NSBlockOperation main] + 100 21 Foundation 0x00000001835e5140 __NSOPERATION_IS_INVOKING_MAIN__ + 12 22 Foundation 0x00000001835a64f4 -[NSOperation start] + 704 23 Foundation 0x00000001835a6228 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 12 24 Foundation 0x00000001835ab940 __NSOQSchedule_f + 168 25 libdispatch.dylib 0x0000000190828114 _dispatch_block_async_invoke2 + 144 26 libdispatch.dylib 0x0000000190818f88 _dispatch_client_callout + 16 27 libdispatch.dylib 0x00000001908277f4 _dispatch_main_queue_drain + 924 28 libdispatch.dylib 0x0000000190827444 _dispatch_main_queue_callback_4CF + 40 29 CoreFoundation 0x00000001892916c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 30 CoreFoundation 0x000000018927302c __CFRunLoopRun + 2032 31 CoreFoundation 0x0000000189277eb0 CFRunLoopRunSpecific + 608 32 GraphicsServices 0x00000001c346d368 GSEventRunModal + 160 33 UIKitCore 0x000000018b76d668 -[UIApplication _run] + 884 34 UIKitCore 0x000000018b76d2cc UIApplicationMain + 336 35 MyAppp 0x0000000104ef2bc4 main (main.m:28) 36 ??? 0x00000001a7b70960 0x0 + 0 Device iPhone13,1 OS iOS 16.3.1
Mar ’23