App crashing on CGColorSpaceIsUncalibrated with Invalid kernel Address

Hi, I am trying to fix one of the crash coming on the App, I am attaching the Main thread Stack trace, Google search is also not giving any result, if anyone has faced the similar issue, or knew about it, can you help me in understanding the issue.

0 CoreGraphics                  0x179c CGColorSpaceIsUncalibrated + 4 1 QuartzCore                    0x8f410 CARequiresColorMatching + 64 2 QuartzCore                    0xf1614 CA_CGColorGetRGBComponents + 68 3 QuartzCore                    0x20098 -[NSObject(CAAnimatableValue) CA_interpolateValue:byFraction:] + 140 4 QuartzCore                    0x1c608 -[CABasicAnimation applyForTime:presentationObject:modelObject:] + 420 5 QuartzCore                    0x1c35c CA::Layer::presentation_layer(CA::Transaction*) + 428 6 UIKitCore                     0xe944 -[UIViewSpringAnimationState animationForLayer:forKey:forView:] + 136 7 UIKitCore                     0xdbe0 -[UIViewAnimationState actionForLayer:forKey:forView:] + 104 8 UIKitCore                     0xda64 +[UIView(Animation) _defaultUIViewActionForLayer:forKey:] + 92 9 UIKitCore                     0xd128 -[UIView(UIKitManual) actionForLayer:forKey:] + 308 10 QuartzCore                    0xad44 -[CALayer actionForKey:] + 148 11 QuartzCore                    0xabb8 CA::Layer::begin_change(CA::Transaction*, unsigned int, objc_object*, objc_object*&) + 212 12 QuartzCore                    0x130bc CA::Layer::setter(unsigned int, _CAValueType, void const*) + 812 13 QuartzCore                    0xd9c4 -[CALayer setBackgroundColor:] + 56 14 UIKitCore                     0x6b64c -[UIView _setBackgroundCGColor:withSystemColorName:] + 1036 15 UIKitCore                     0x6addc -[UIView _effectiveThemeTraitCollectionDidChangeInternal:] + 472 16 UIKitCore                     0x5f1a4 -[UIView _tintColorDidChange] + 208 17 UIKitCore                     0x5f00c -[_UITintColorVisitor _visitView:] + 312 18 UIKitCore                     0x5ed80 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 220 19 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 20 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 21 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 22 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 23 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 24 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 25 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 26 UIKitCore                     0x5ee28 _UIViewVisitorRecursivelyEntertainDescendingVisitors + 388 27 UIKitCore                     0xee410 +[_UIViewVisitor _startTraversalOfVisitor:withView:] + 196 28 UIKitCore                     0x13ff94 -[UIView _dispatchTintColorVisitorWithReasons:] + 124 29 UIKitCore                     0x34aba8 -[UIView _beginOcclusion:] + 164 30 UIKitCore                     0x34a9fc -[UIPresentationController _enableOcclusion:] + 188 31 UIKitCore                     0x34a8b4 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:] + 240 32 UIKitCore                     0x34a78c -[_UIViewControllerTransitionContext __runAlongsideAnimations] + 272 33 UIKitCore                     0x34a660 __63+[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:]_block_invoke + 36 34 UIKitCore                     0xd25a4 -[UIViewAnimationState _runAlongsideAnimations] + 40 35 UIKitCore                     0xd12e8 -[UIViewAnimationState pop] + 40 36 UIKitCore                     0xd0d14 +[UIViewAnimationState popAnimationState] + 56 37 UIKitCore                     0xd0b40 +[UIView _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 592 38 UIKitCore                     0x48e370 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:] + 124 39 UIKitCore                     0x3e9098 -[UIAlertControllerVisualStyleAlert animateAlertControllerView:ofAlertController:forPresentation:inContainerView:descendantOfContainerView:duration:completionBlock:] + 580 40 UIKitCore                     0x3e8be8 -[_UIAlertControllerAnimatedTransitioning _animateTransition:completionBlock:] + 456 41 UIKitCore                     0x570a6c -[_UIAlertControllerAnimatedTransitioning animateTransition:] + 412 42 UIKitCore                     0x7f765c ___UIViewControllerTransitioningRunCustomTransition_block_invoke_3 + 48 43 UIKitCore                     0x206614 +[UIKeyboardSceneDelegate _pinInputViewsForKeyboardSceneDelegate:onBehalfOfResponder:duringBlock:] + 96 44 UIKitCore                     0x2b6db0 ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 196 45 UIKitCore                     0x1f7e4c +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 180 46 UIKitCore                     0x1f7d08 _UIViewControllerTransitioningRunCustomTransition + 484 47 UIKitCore                     0x762078 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke_3 + 1532 48 UIKitCore                     0x1a4958 -[_UIAfterCACommitBlock run] + 72 49 UIKitCore                     0x1a488c -[_UIAfterCACommitQueue flush] + 176 50 UIKitCore                     0x1a4798 _runAfterCACommitDeferredBlocks + 496 51 UIKitCore                     0x3f6c0 _cleanUpAfterCAFlushAndRunDeferredBlocks + 108 52 UIKitCore                     0x504fc4 _UIApplicationFlushCATransaction + 72 53 UIKitCore                     0x651678 _UIUpdateSequenceRun + 84 54 UIKitCore                     0xc90904 schedulerStepScheduledMainSection + 172 55 UIKitCore                     0xc8fad0 runloopSourceCallback + 92 56 CoreFoundation                0xd622c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 57 CoreFoundation                0xe2614 __CFRunLoopDoSource0 + 176 58 CoreFoundation                0x6651c __CFRunLoopDoSources0 + 244 59 CoreFoundation                0x7beb8 __CFRunLoopRun + 836 60 CoreFoundation                0x811e4 CFRunLoopRunSpecific + 612 61 GraphicsServices              0x1368 GSEventRunModal + 164 62 UIKitCore                     0x3a2d88 -[UIApplication _run] + 888 63 UIKitCore                     0x3a29ec UIApplicationMain + 340 64 PS Express                    0x28490 main + 34 (main.m:34) 65 ???                           0x1c6bc5948 (Missing)

Replies

I am attaching the Main thread Stack trace

Please post the full crash report. For advice on how to do that, see Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hello @eskimo @akashgupta1912 Any update on the reported issue ? I am also facing similar crash reported. Do we have the link if the crash report posted in forum ?

akashgupta1912 never posted their crash report, so I never looked into this. If you’d care to post your own crash report, I’d be happy to look at that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"