Hi we are getting this crash from Crashlytics, We are unable to reproduce it. Sharing the logs we have. Please help in this.
Crash Item : UIKitCore-[UIViewController _nonModalAncestorViewControllerStopAtIsPresentationContext:]
Issue Details : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1f58 objc_msgSend + 56
1 UIKitCore 0x519e78 -[UIViewController _nonModalAncestorViewControllerStopAtIsPresentationContext:] + 56
2 UIKitCore 0x21a818 -[UIViewController _rootAncestorViewControllerInWindow:] + 44
3 UIKitCore 0x27d4f8 -[UIViewController _window] + 152
4 UIKitCore 0x1ae824 -[UIViewController loadViewIfRequired] + 240
5 UIKitCore 0x181bac -[UIViewController view] + 32
6 UIKitCore 0x323178 -[UIInputWindowController changeToInputViewSet:] + 1088
7 UIKitCore 0xd434ac __43-[UIInputWindowController setInputViewSet:]_block_invoke.1288 + 40
8 UIKitCore 0xd401d4 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1045 + 1600
9 UIKitCore 0x12aa4dc UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK + 36
10 UIKitCore 0x2c2fa4 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 728
11 UIKitCore 0x18ed04 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 248
12 UIKitCore 0x1a3504 -[UIViewAnimationState animationDidStop:finished:] + 244
13 QuartzCore 0xcbe50 CA::Layer::run_animation_callbacks(void*) + 280
14 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
15 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain + 928
16 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
17 CoreFoundation 0x51800 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
18 CoreFoundation 0xb704 __CFRunLoopRun + 2532
19 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
20 GraphicsServices 0x1374 GSEventRunModal + 164
21 UIKitCore 0x514b58 -[UIApplication _run] + 1100
22 UIKitCore 0x296090 UIApplicationMain + 364
23 App 0xbad894 main + 39 (AppDelegate.swift:39)
24 ??? 0x104d65da4 (Missing)
Post
Replies
Boosts
Views
Activity
CoreAuto layout crash issue
I absolutely do not have any idea, what can occure this problem and how can i reproduce. It crashes randomly. I use Crashlytics v3.14 in my project. Does anybody face with the same problem?
Crashlytics : iOS Crash : CoreAutoLayout _col_rawAddForEngineVar
Crash Item : _col_rawAddForEngineVar
Issue Details : Crashed: com.apple.main-thread
0 CoreAutoLayout 0xbb20 _col_rawAddForEngineVar + 180
1 CoreAutoLayout 0x5990 _engineVar_addForVariableIfNeeded + 464
2 CoreAutoLayout 0x152f0 -[NSISLinearExpression setCoefficient:forVariable:] + 56
3 CoreAutoLayout 0xc9e8 -[NSLayoutConstraint _lowerIntoExpression:reportingConstantIsRounded:] + 188
4 CoreAutoLayout 0xef4c -[NSLayoutConstraint _addToEngine:mutuallyExclusiveConstraints:] + 140
5 UIKitCore 0x1df1ec __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2 + 372
6 CoreAutoLayout 0x85c4 -[NSISEngine withBehaviors:performModifications:] + 88
7 UIKitCore 0x1ccf70 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 560
8 UIKitCore 0x3ba200 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216
9 UIKitCore 0x1df134 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2 + 188
10 CoreAutoLayout 0x85c4 -[NSISEngine withBehaviors:performModifications:] + 88
11 UIKitCore 0x1ccf70 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 560
12 UIKitCore 0x3ba200 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216
13 UIKitCore 0x1df134 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2 + 188
14 CoreAutoLayout 0x85c4 -[NSISEngine withBehaviors:performModifications:] + 88
15 UIKitCore 0x1ccf70 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 560
16 UIKitCore 0x3ba200 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216
17 UIKitCore 0x4845c0 -[UIView(AdditionalLayoutSupport) _initializeHostedLayoutEngine] + 212
18 UIKitCore 0x1ecdd8 -[UIView _layoutEngine_windowDidChange] + 124
19 UIKitCore 0x2b6de0 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 280
20 UIKitCore 0x2b706c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 932
21 UIKitCore 0x1dd82c __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 140
22 CoreAutoLayout 0x85c4 -[NSISEngine withBehaviors:performModifications:] + 88
23 UIKitCore 0x26d060 -[UIView(Hierarchy) _postMovedFromSuperview:] + 840
24 UIKitCore 0x189b90 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 2152
25 UIKitCore 0x3b0638 -[UITableView _addSubview:positioned:relativeTo:] + 108
26 UIKitCore 0x178554 -[UIScrollView _addContentSubview:atBack:] + 380
27 UIKitCore 0x19e01c -[UITableView _addContentSubview:atBack:] + 252
28 UIKitCore 0x19a754 __53-[UITableView _configureCellForDisplay:forIndexPath:]_block_invoke + 1772
29 UIKitCore 0x1729a8 +[UIView(Animation) performWithoutAnimation:] + 104
30 UIKitCore 0x419dbc -[UITableView _configureCellForDisplay:forIndexPath:] + 272
31 UIKitCore 0x286ac4 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 1788
32 UIKitCore 0x484030 -[UITableView _updateVisibleCellsForRanges:createIfNecessary:] + 732
33 UIKitCore 0x2abbbc -[UITableView _updateVisibleCellsNow:] + 1432
34 UIKitCore 0x17bed8 -[UITableView layoutSubviews] + 456
35 UIKitCore 0x18c17c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592
36 QuartzCore 0x407fc CA::Layer::layout_if_needed(CA::Transaction*) + 532
37 QuartzCore 0x32c60 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136
38 QuartzCore 0x475b4 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452
39 QuartzCore 0x504a8 CA::Transaction::commit() + 704
40 QuartzCore 0x323a0 CA::Transaction::flush_as_runloop_observer(bool) + 88
41 CoreFoundation 0x410c4 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
42 CoreFoundation 0x10080 __CFRunLoopDoObservers + 592
43 CoreFoundation 0xb13c __CFRunLoopRun + 1052
44 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
45 GraphicsServices 0x1374 GSEventRunModal + 164
46 UIKitCore 0x514b58 -[UIApplication _run] + 1100
47 UIKitCore 0x296090 UIApplicationMain + 364
48 TCP App 0xbad894 main + 39 (AppDelegate.swift:39)
49 ??? 0x10674dda4 (Missing)
Hi we are getting this crash from Crashlytics, We are unable to reproduce it. Sharing the logs we have. Please help in this.
Issue Details : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x9db8 __exceptionPreprocess
1 libobjc.A.dylib 0x17a68 objc_exception_throw
2 CoreFoundation 0x17d8a4 __CFExceptionProem
3 CoreFoundation 0x1fed0 forwarding
4 CoreFoundation 0x87f50 _CF_forwarding_prep_0
5 UIKitCore 0xd134 -[UIView(UIKitManual) actionForLayer:forKey:]
6 QuartzCore 0xacb4 -[CALayer actionForKey:]
7 QuartzCore 0xaa04 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
8 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
9 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
10 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
11 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
12 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
13 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
14 QuartzCore 0xa8c0 CA::Layer::mark_visible(CA::Transaction*, bool, bool)
15 QuartzCore 0xd287c CA::Layer::set_visible(unsigned int)
16 QuartzCore 0x1bd0c CA::Context::set_layer(void const*)
17 UIKitCore 0x3491e8 __UIContextBinderDisposeContextForBindable
18 UIKitCore 0x3042a8 -[_UIContextBinder purgeContextsWithPurgeAction:afterPurgeAction:]
19 UIKitCore 0x211d68 -[UIWindowScene _prepareForSuspend]
20 UIKitCore 0x4adc5c -[UIScene _invalidate]
21 UIKitCore 0x511578 -[UIWindowScene _invalidate]
22 UIKitCore 0x47a520 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:]
23 UIKitCore 0x468598 -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:]
24 FrontBoardServices 0x1c4e0 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:]
25 FrontBoardServices 0x20afc __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2
26 FrontBoardServices 0x6940 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
27 FrontBoardServices 0x1b15c __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke
28 libdispatch.dylib 0x40fc _dispatch_client_callout
29 libdispatch.dylib 0x7b7c _dispatch_block_invoke_direct
30 FrontBoardServices 0x10d88 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK
31 FrontBoardServices 0x10924 -[FBSSerialQueue _targetQueue_performNextIfPossible]
32 FrontBoardServices 0x13104 -[FBSSerialQueue _performNextFromRunLoopSource]
33 CoreFoundation 0xd5bd4 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
34 CoreFoundation 0xe1f70 __CFRunLoopDoSource0
35 CoreFoundation 0x65e2c __CFRunLoopDoSources0
36 CoreFoundation 0x7b7d8 __CFRunLoopRun
37 CoreFoundation 0x80b04 CFRunLoopRunSpecific
38 GraphicsServices 0x1360 GSEventRunModal
39 UIKitCore 0x3a3484 -[UIApplication _run]
40 UIKitCore 0x3a30e8 UIApplicationMain
41 TCPApp 0xa44940 main + 39 (AppDelegate.swift:39)
42 ??? 0x25957c8f8 (Missing)
Device For Max count : Model:iPhone 13 Pro Max
OS for Max count : 16.0.0
`Crash Item : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1f40 objc_msgSend + 32
1 UIKitCore 0x5bc1b4 -[UIInputWindowController changeChild:toAppearState:animated:] + 124
2 UIKitCore 0x601d7c -[UIInputWindowController updateAppearStatesForPlacement:start:animated:] + 124
3 UIKitCore 0xd3ef38 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1045 + 1448
4 UIKitCore 0x12a8cdc UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK + 36
5 UIKitCore 0x2c2ca4 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 728
6 UIKitCore 0x18eb3c -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 248
7 UIKitCore 0x1a333c -[UIViewAnimationState animationDidStop:finished:] + 244
8 UIKit 0xd305c -[UIViewAnimationStateAccessibility animationDidStop:finished:] + 212
9 QuartzCore 0xcb320 CA::Layer::run_animation_callbacks(void*) + 280
10 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
11 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain + 928
12 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
13 CoreFoundation 0x51800 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
14 CoreFoundation 0xb704 __CFRunLoopRun + 2532
15 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
16 GraphicsServices 0x1374 GSEventRunModal + 164
17 UIKitCore 0x514648 -[UIApplication _run] + 1100
18 UIKitCore 0x295d90 UIApplicationMain + 364
19 TCPApp 0xbad894 main + 39 (AppDelegate.swift:39)
20 ??? 0x106979ce4 (Missing)
Crash Events : This issue has 3 crash events affecting 3 users`
Crashlytics : iOS Crash : CoreFoundation -[NSOrderedSet initWithSet:copyItems:]
Crash Item : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x13296c __exceptionPreprocess
1 libobjc.A.dylib 0x6028 objc_exception_throw
2 CoreFoundation 0x30dcc -[NSOrderedSet initWithSet:copyItems:]
3 UIKitCore 0xa72c24 -[UIResponder doesNotRecognizeSelector:]
4 CoreFoundation 0x137048 forwarding
5 CoreFoundation 0x1393a0 _CF_forwarding_prep_0
6 UltraSDK 0x3a698 _hidden#2304 + 52 (_hidden#2295:52)
7 libdispatch.dylib 0x1b7c _dispatch_call_block_and_release
8 libdispatch.dylib 0x2fd8 _dispatch_client_callout
9 libdispatch.dylib 0xecc8 _dispatch_main_queue_callback_4CF
10 CoreFoundation 0xadcc8 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
11 CoreFoundation 0xa8a24 __CFRunLoopRun
12 CoreFoundation 0xa7f40 CFRunLoopRunSpecific
13 GraphicsServices 0x3534 GSEventRunModal
14 UIKitCore 0xa43a60 UIApplicationMain
15 TCPApp 0xbad894 main + 39 (AppDelegate.swift:39)
16 libdyld.dylib 0xe18 start
Crash Item : TCPApp -[APMAudienceTimestampsCache init]
Issue Details : Crashed: com.google.fira.worker
0 TCPApp 0x237e210 -[APMAudienceTimestampsCache init] + 19399924
1 TCPApp 0x23b25e0 __41-[APMMeasurement(Bundle) bundleRawEvents]_block_invoke + 19613892
2 TCPApp 0x241434c -[APMSqliteStore performTransactionWithError:block:] + 20014640
3 TCPApp 0x2385914 -[APMDatabase performTransaction:] + 19430392
4 TCPApp 0x23b2308 -[APMMeasurement(Bundle) bundleRawEvents] + 19613164
5 TCPApp 0x23c3518 -[APMMeasurement uploadData] + 19683324
6 TCPApp 0x23c9da0 __49-[APMMeasurement
handleAppWillResignActiveEvent:]_block_invoke_3 + 19710084
7 TCPApp 0x24097e0 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 19970756
8 libdispatch.dylib 0x1e6c _dispatch_call_block_and_release + 32
9 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
10 libdispatch.dylib 0xb124 _dispatch_lane_serial_drain + 668
11 libdispatch.dylib 0xbc80 _dispatch_lane_invoke + 392
12 libdispatch.dylib 0x16500 _dispatch_workloop_worker_thread + 648
13 libsystem_pthread.dylib 0x10bc _pthread_wqthread + 288
14 libsystem_pthread.dylib 0xe5c start_wqthread + 8
Crash Events : This issue has 1 crash event affecting 1 user
Device For Max count : iPhone 11
OS for Max count : 15.5.0
Crash Item : Crashed: com.apple.main-thread
0 CouchbaseLiteSwift 0x964f4 _hidden#16128 + 1833 (_hidden#16096:1833)
1 CouchbaseLiteSwift 0x964fc _hidden#16128 + 1834 (_hidden#16096:1834)
2 CouchbaseLiteSwift 0x96508 _hidden#16128 + 334 (_hidden#15573:334)
3 CouchbaseLiteSwift 0x964fc _hidden#16128 + 1834 (_hidden#16096:1834)
4 CouchbaseLiteSwift 0x1c2c9c _hidden#16129 + 1092
(_hidden#16095:1092)
5 libsystem_c.dylib 0x58270 __cxa_finalize_ranges + 408
6 libsystem_c.dylib 0x585c4 exit + 28
7 UIKitCore 0xbd62f0 -[UIApplication terminateWithSuccess] + 502
8 UIKitCore 0x2228d4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128
9 UIKitCore 0x222504 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 220
10 UIKitCore 0xbcbdc0 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212
11 FrontBoardServices 0x69a8 + 88
12 FrontBoardServices 0x353d4 + 80
13 FrontBoardServices 0x196a4 + 240
14 FrontBoardServices 0x3536c + 132
15 libdispatch.dylib 0x481c _dispatch_client_callout + 20
16 libdispatch.dylib 0x830c _dispatch_block_invoke_direct + 268
17 FrontBoardServices 0x5dfa0 + 48
18 FrontBoardServices 0x5dc30 + 448
19 FrontBoardServices 0x5e184 + 32
20 CoreFoundation 0xa407c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
21 CoreFoundation 0xa3f78 __CFRunLoopDoSource0 + 208
22 CoreFoundation 0xa327c __CFRunLoopDoSources0 + 268
23 CoreFoundation 0x9d25c __CFRunLoopRun + 820
24 CoreFoundation 0x9c9f4 CFRunLoopRunSpecific + 600
25 GraphicsServices 0x3734 GSEventRunModal + 164
26 UIKitCore 0xbca75c -[UIApplication _run] + 1072
27 UIKitCore 0xbcffcc UIApplicationMain + 168
28 TCPApp 0xa44940 main + 39 (AppDelegate.swift:39)
29 libdyld.dylib 0x1cf8 start + 4
Crash Events : This issue has 1 crash event affecting 1 user
Crash Item :-libc++abi.dylib
Issue Details : Crashed: com.google.firebase.crashlytics.ios.exception
0 FirebaseCrashlytics 0x1cd90 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1 FirebaseCrashlytics 0x1d170 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2 FirebaseCrashlytics 0x15f88 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3 FirebaseCrashlytics 0x10954 __FIRCLSExceptionRecord_block_invoke + 218 (FIRCLSException.mm:218)
4 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
5 libdispatch.dylib 0x12c90 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6 FirebaseCrashlytics 0x10110 FIRCLSExceptionRecord + 225 (FIRCLSException.mm:225)
7 FirebaseCrashlytics 0xfe60 FIRCLSTerminateHandler() + 295 (FIRCLSException.mm:295)
8 libc++abi.dylib 0x10f18 std::__terminate(void ()()) + 20
9 libc++abi.dylib 0x10eb4 std::terminate() + 64
10 libobjc.A.dylib 0x2d248 objc::DenseMapBase<objc::DenseMap<objc_class, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*> >, objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*> >::FatalCorruptHashTables(objc::detail::DenseMapPair<objc_class*, PendingInitialize*> const*, unsigned int) const + 14
11 libdispatch.dylib 0x3a44 _dispatch_client_callout + 40
12 libdispatch.dylib 0x6eec _dispatch_continuation_pop + 500
13 libdispatch.dylib 0x1a13c _dispatch_source_invoke + 1596
14 libdispatch.dylib 0x11e9c _dispatch_main_queue_drain + 756
15 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
16 CoreFoundation 0x51800 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
17 CoreFoundation 0xb704 __CFRunLoopRun + 2532
18 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
19 GraphicsServices 0x1374 GSEventRunModal + 164
20 UIKitCore 0x514648 -[UIApplication _run] + 1100
21 UIKitCore 0x295d90 UIApplicationMain + 364
22 TCPApp 0xa44940 main + 39 (AppDelegate.swift:39)
23 ??? 0x106b59ce4 (Missing)
Device For Max count : Model:iPhone XR
OS for Max count : 15.5.0