DHSmartScreenshot icon indicating copy to clipboard operation
DHSmartScreenshot copied to clipboard

iOS 18 Crash

Open drewpitchford opened this issue 4 months ago • 0 comments

The pod crashes upon calling with this stack trace

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=3.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001804b70ec __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x000000018008ede8 objc_exception_throw + 72
	2   Foundation                          0x0000000180e73c40 -[NSMutableDictionary(NSMutableDictionary) classForCoder] + 0
	3   UIKitCore                           0x0000000185637770 _UIGraphicsBeginImageContextWithOptions + 564
	4   DHSmartScreenshot                   0x0000000104eb6960 -[UIView(DHSmartScreenshot) screenshotForCroppingRect:] + 112
	5   DHSmartScreenshot                   0x0000000104eb4d34 -[UITableView(DHSmartScreenshot) screenshotOfHeaderView] + 180
	6   DHSmartScreenshot                   0x0000000104eb5450 -[UITableView(DHSmartScreenshot) screenshotExcludingHeadersAtSections:excludingFootersAtSections:excludingRowsAtIndexPaths:] + 144
	7   DHSmartScreenshot                   0x0000000104eb4b50 -[UITableView(DHSmartScreenshot) screenshot] + 60
	8   IncomeShares_v2.debug.dylib         0x000000010621bce8 $s15IncomeShares_v221ResultsViewControllerC14showShareSheetyySo15UIBarButtonItemCF + 320
	9   IncomeShares_v2.debug.dylib         0x000000010621c794 $s15IncomeShares_v221ResultsViewControllerC14showShareSheetyySo15UIBarButtonItemCFTo + 52
	10  UIKitCore                           0x0000000185aa7fa0 -[UIApplication sendAction:to:from:forEvent:] + 96
	11  UIKitCore                           0x0000000184fd07ec -[UIBarButtonItem _triggerActionForEvent:fallbackSender:] + 204
	12  UIKitCore                           0x0000000184fabc6c __45-[_UIButtonBarTargetAction _invoke:forEvent:]_block_invoke + 28
	13  UIKitCore                           0x0000000184fabb70 -[_UIButtonBarTargetAction _invoke:forEvent:] + 160
	14  UIKitCore                           0x0000000185aa7fa0 -[UIApplication sendAction:to:from:forEvent:] + 96
	15  UIKitCore                           0x0000000185384c1c -[UIControl sendAction:to:forEvent:] + 108
	16  UIKitCore                           0x0000000185384f60 -[UIControl _sendActionsForEvents:withEvent:] + 268
	17  UIKitCore                           0x0000000185384f9c -[UIControl _sendActionsForEvents:withEvent:] + 328
	18  UIKitCore                           0x0000000185383bf8 -[UIControl touchesEnded:withEvent:] + 392
	19  UIKitCore                           0x0000000185adb7b8 -[UIWindow _sendTouchesForEvent:] + 972
	20  UIKitCore                           0x0000000185adcbc8 -[UIWindow sendEvent:] + 2840
	21  UIKitCore                           0x0000000185abc93c -[UIApplication sendEvent:] + 376
	22  UIKitCore                           0x0000000185b45664 __dispatchPreprocessedEventFromEventQueue + 1156
	23  UIKitCore                           0x0000000185b485f4 __processEventQueue + 5592
	24  UIKitCore                           0x0000000185b409f0 updateCycleEntry + 156
	25  UIKitCore                           0x0000000185030388 _UIUpdateSequenceRun + 76
	26  UIKitCore                           0x00000001859d22e8 schedulerStepScheduledMainSection + 168
	27  UIKitCore                           0x00000001859d1720 runloopSourceCallback + 80
	28  CoreFoundation                      0x000000018041b324 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
	29  CoreFoundation                      0x000000018041b26c __CFRunLoopDoSource0 + 172
	30  CoreFoundation                      0x000000018041a9d0 __CFRunLoopDoSources0 + 232
	31  CoreFoundation                      0x00000001804150b0 __CFRunLoopRun + 788
	32  CoreFoundation                      0x0000000180414960 CFRunLoopRunSpecific + 536
	33  GraphicsServices                    0x0000000190183b10 GSEventRunModal + 160
	34  UIKitCore                           0x0000000185aa2b40 -[UIApplication _run] + 796
	35  UIKitCore                           0x0000000185aa6d38 UIApplicationMain + 124
	36  IncomeShares_v2.debug.dylib         0x0000000106236cd8 __debug_main_executable_dylib_entry_point + 64
	37  dyld                                0x0000000104fb1410 start_sim + 20
	38  ???                                 0x00000001048e6154 0x0 + 4371407188
	39  ???                                 0x5401000000000000 0x0 + 6053119374162657280
)
libc++abi: terminating due to uncaught exception of type NSException

drewpitchford avatar Oct 11 '24 13:10 drewpitchford