Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x9204 __pthread_kill + 8
1 libsystem_pthread.dylib 0x6cec pthread_kill + 288
2 libsystem_c.dylib 0x792c8 abort + 180
3 UIKitMacHelper 0x9bc4c -[UINSEventTranslator convertSceneDeltaToSceneReferenceDelta:] + 304
4 UIKitMacHelper 0x33318 -[UINSMouseEventTranslator _nextScrollGestureDelta:wait:] + 228
5 UIKitMacHelper 0x335b8 -[UINSMouseEventTranslator _handleGestureScrollEvent:] + 136
6 UIKitMacHelper 0x32ff4 -[UINSMouseEventTranslator _handleScrollWheelEvent:] + 136
7 UIKitMacHelper 0x32964 -[UINSMouseEventTranslator scrollWheel:] + 80
8 UIKitMacHelper 0x2e380 -[UINSInputView scrollWheel:] + 60
9 AppKit 0x167444 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 4896
10 AppKit 0x165f50 -[NSWindow(NSEventRouting) sendEvent:] + 284
11 AppKit 0x16517c -[NSApplication(NSEvent) sendEvent:] + 1924
12 UIKitMacHelper 0x18508 -[NSApplication(UINSApplicationSwizzling) _uinsSwizzledSendEvent:] + 252
13 AppKit 0x3b6da8 -[NSApplication _handleEvent:] + 60
14 AppKit 0x2c178 -[NSApplication run] + 500
15 AppKit 0x36c4 NSApplicationMain + 880
16 AppKit 0x25db24 _NSApplicationMainWithInfoDictionary + 22
17 UIKitMacHelper 0x441c UINSApplicationMain + 988
18 UIKitCore 0x3524 UIApplicationMain + 148
20 ??? 0x198843e50 (Missing)
Post
Replies
Boosts
Views
Activity
Hello
I have get this crash with my app
XCode 14.2
iPadOS - 16.4.0
Device - iPad Pro 11 inch 2nd Gen
Unable to activate constraint with anchors <NSLayoutYAxisAnchor:0x2816efa40 "TUIInputAccessoryBackdropView:0x110847c20.top"> and <NSLayoutYAxisAnchor:0x281c6b480 "IQToolbar:0x1045d4dc0.bottom"> because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That's illegal.
0 CoreFoundation 0x9d94 __exceptionPreprocess
1 libobjc.A.dylib 0x183d0 objc_exception_throw
2 CoreAutoLayout 0x1ef0 NSLayoutConstraintIsPotentiallyDanglyInContainer
3 CoreAutoLayout 0x5d54 __55+[NSLayoutConstraint _addOrRemoveConstraints:activate:]_block_invoke
4 CoreAutoLayout 0x4fcc -[NSISEngine withBehaviors:performModifications:]
5 CoreAutoLayout 0x1cec +[NSLayoutConstraint _addOrRemoveConstraints:activate:]
6 TextInputUI 0x41d04 -[TUIInputAssistantHostView updateInputAccessoryBackdrop]
7 TextInputUI 0x41f74 -[TUIInputAssistantHostView setInputAccessoryView:]
8 UIKitCore 0xb73c84 -[UIInputViewSetPlacement_FloatingAssistantApplicator setupHostViewIfNeeded]
9 UIKitCore 0xb73a38 -[UIInputViewSetPlacement_FloatingAssistantApplicator prepare]
10 UIKitCore 0x267454 -[UIInputWindowControllerHostingItem updateVisibilityConstraintsForPlacement:]
11 UIKitCore 0x2ee944 -[UIInputWindowControllerHostingItem updateViewConstraints]
12 UIKitCore 0x2ed360 -[UIInputWindowControllerHosting updateViewConstraints]
13 UIKitCore 0x36d76c -[UIInputWindowController updateViewConstraints]
14 UIKitCore 0x36da64 -[UIInputWindowController updateInputAssistantViewForInputViewSet:]
15 UIKitCore 0x52c9d8 -[UIInputWindowController updateForKeyplaneChangeWithContext:]
16 UIKitCore 0x567cc0 -[UIInputWindowControllerHostingItem updateForKeyplaneChangeWithContext:]
17 UIKitCore 0x200ca8 -[_UIRemoteKeyboards performOnControllers:]
18 UIKitCore 0x56bfb4 -[UIInputSetHostView _didChangeKeyplaneWithContext:]
19 UIKitCore 0x3b8a40 -[UIView(UIKB_UIViewExtras) _didChangeKeyplaneWithContext:]
20 UIKitCore 0x3bab58 -[_UIKBCompatInputView _didChangeKeyplaneWithContext:]
21 UIKitCore 0x3b8a40 -[UIView(UIKB_UIViewExtras) _didChangeKeyplaneWithContext:]
22 UIKitCore 0x3b88d4 -[UIKeyboard _didChangeKeyplaneWithContext:]
23 UIKitCore 0x3b8a40 -[UIView(UIKB_UIViewExtras) _didChangeKeyplaneWithContext:]
24 UIKitCore 0x3b8644 -[UIKeyboardImpl _didChangeKeyplaneWithContext:]
25 UIKitCore 0x3b8b44 -[UIKeyboardImpl updateAssistantView]
26 UIKitCore 0x3b8420 -[UIKeyboardImpl clearInputWithCandidatesCleared:]
27 UIKitCore 0x3cd9c4 -[UIKeyboardImpl updateForChangedSelectionWithExecutionContext:]
28 UIKitCore 0xb9ffac __61-[UIKeyboardImpl setDelegate:force:fromBecomeFirstResponder:]_block_invoke_3
29 UIKitCore 0x3cd630 -[UIKeyboardTaskEntry execute:]
30 UIKitCore 0x3cd514 -[UIKeyboardTaskQueue continueExecutionOnMainThread]
31 UIKitCore 0x15f9fc -[UIKeyboardTaskQueue addTask:]
32 UIKitCore 0x48cf08 __82-[UIKeyboardLayoutStar(UIKeyboardLayoutJapanese50OnFlick) handleDismissFlickView:]_block_invoke
33 libdispatch.dylib 0x2320 _dispatch_call_block_and_release
34 libdispatch.dylib 0x3eac _dispatch_client_callout
35 libdispatch.dylib 0x126a4 _dispatch_main_queue_drain
36 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF
37 CoreFoundation 0x98d18 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
38 CoreFoundation 0x7a650 __CFRunLoopRun
39 CoreFoundation 0x7f4dc CFRunLoopRunSpecific
40 GraphicsServices 0x135c GSEventRunModal
41 UIKitCore 0x39d37c -[UIApplication _run]
42 UIKitCore 0x39cfe0 UIApplicationMain
43 My App 0x4eef4 main + 14 (main.m:14)
44 ??? 0x1cd72cdec (Missing)
Fatal Exception: NSInvalidArgumentException
<UIPrintPanelNavigationController: 0x144010a00> is pushing the same view controller instance (<UIPrinterBrowserViewController: 0x142854400>) more than once which is not supported and is most likely an error in the application : com.myapp.myapp
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0xec870 __exceptionPreprocess
1 libobjc.A.dylib 0x2bc00 objc_exception_throw
2 UIKitCore 0xcb284 -[UINavigationController pushViewController:transition:forceImmediate:]
3 UIKitCore 0xca398 -[UINavigationController pushViewController:animated:]
4 PrintKitUI 0x45024 -[UIPrintPanelNavigationController pushViewController:animated:]
5 UIKitCore 0x129b78 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:]
6 UIKitCore 0x129680 -[_UIViewControllerTransitionContext _runAlongsideCompletions]
7 UIKitCore 0x128d10 -[_UIViewControllerTransitionContext completeTransition:]
8 UIKitCore 0x7a3d48 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_5
9 UIKitCore 0x84a38 __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__
10 UIKitCore 0x841d0 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:]
11 UIKitCore 0x83848 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:]
12 UIKitCore 0x65aa4 -[UIViewAnimationState animationDidStop:finished:]
13 UIKitCore 0x65bb8 -[UIViewAnimationState animationDidStop:finished:]
14 QuartzCore 0x72098 run_animation_callbacks(void*)
15 libdispatch.dylib 0x4300 _dispatch_client_callout
16 libdispatch.dylib 0x12998 _dispatch_main_queue_drain
17 libdispatch.dylib 0x125b0 _dispatch_main_queue_callback_4CF
18 CoreFoundation 0x3720c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
19 CoreFoundation 0x33f18 __CFRunLoopRun
20 CoreFoundation 0x33668 CFRunLoopRunSpecific
21 GraphicsServices 0x35ec GSEventRunModal
22 UIKitCore 0x22c2b4 -[UIApplication _run]
23 UIKitCore 0x22b8f0 UIApplicationMain
24 MyApp 0x4a940 main + 14 (main.m:14)
25 ??? 0x1ac55adcc (Missing)
I found this crash in Firebase crashlytics.
This is device info
Model:iPad Air (5th generation)
Version:17.1.1
Orientation:Landscape
Please help me to findout the root cause of the crash and possible solution.
I have tried to reprduce the crash but didn't reproduce.