9.5 C
New York
Tuesday, March 11, 2025

ios – UINavigationBar crash: “Format requested for seen navigation bar”


This crash randomly happens to our iOS app customers and we obtain crash studies like this through Apple crash reporting. The connected stack hint is from Xcode, but it surely’s nonetheless unclear what preceded the issue. Can anybody clarify what is going on? Since there’s nothing usable about our app within the stack hint, it is tough to inform what occurred to trigger the crash or what to do to stop it.

CollectionContentsViewController.selectListItem 904B16F6-9945-4A7B-A53D-89A972B0F690/Foyer is NOT within the checklist
Snapshotting a view (0x104a1aae0, _UIButtonBarStackView) that has not been rendered at the very least as soon as requires afterScreenUpdates:YES.
*** Assertion failure in -[UINavigationBar layoutSubviews], UINavigationBar.m:3895
*** Terminating app as a result of uncaught exception 'NSInternalInconsistencyException', motive: 'Format requested for seen navigation bar, > delegate=0x105077800, when the highest merchandise belongs to a unique navigation bar. topItem =  title="Tales" model=navigator backBarButtonItem=0x104a3f220 leftBarButtonItems=0x600000c98000 leftItemsSupplementBackButton rightBarButtonItems=0x600000c98b40 standardAppearance=0x60000295ddc0 scrollEdgeAppearance=0x60000295de30, navigation bar = > delegate=0x106813200 standardAppearance=0x600002902a00, probably from a shopper try and nest wrapped navigation controllers.'
*** First throw name stack:
(
    0   CoreFoundation                      0x00000001804b910c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x0000000180092da8 objc_exception_throw + 72
    2   Basis                          0x0000000180e67c70 _userInfoForFileAndLine + 0
    3   UIKitCore                           0x000000018505b418 -[UINavigationBar layoutSubviews] + 704
    4   UIKitCore                           0x00000001860a3418 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2404
    5   UIKitCore                           0x000000018505aff8 -[UINavigationBar layoutSublayersOfLayer:] + 188
    6   QuartzCore                          0x000000018b335624 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 432
    7   UIKitCore                           0x000000018609429c -[UIView(Hierarchy) layoutBelowIfNeeded] + 308
    8   UIKitCore                           0x000000018530ca98 -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 584
    9   UIKitCore                           0x000000018530cc6c -[UINavigationController _positionNavigationBarHidden:edge:] + 292
    10  UIKitCore                           0x000000018531cc9c -[UINavigationController __viewWillLayoutSubviews] + 128
    11  UIKitCore                           0x0000000185304498 -[UILayoutContainerView layoutSubviews] + 168
    12  UIKitCore                           0x00000001860a3418 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2404
    13  QuartzCore                          0x000000018b335624 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 432
    14  QuartzCore                          0x000000018b3403f8 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 124
    15  QuartzCore                          0x000000018b272430 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 464
    16  QuartzCore                          0x000000018b2a0c70 _ZN2CA11Transaction6commitEv + 652
    17  QuartzCore                          0x000000018b2a21c4 _ZN2CA11Transaction25flush_as_runloop_observerEb + 68
    18  UIKitCore                           0x0000000185b302fc _UIApplicationFlushCATransaction + 48
    19  UIKitCore                           0x0000000185a60eb4 __setupUpdateSequence_block_invoke_2 + 352
    20  UIKitCore                           0x00000001850a5cec _UIUpdateSequenceRun + 76
    21  UIKitCore                           0x0000000185a60858 schedulerStepScheduledMainSection + 168
    22  UIKitCore                           0x0000000185a5fc90 runloopSourceCallback + 80
    23  CoreFoundation                      0x000000018041d294 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
    24  CoreFoundation                      0x000000018041d1dc __CFRunLoopDoSource0 + 172
    25  CoreFoundation                      0x000000018041c99c __CFRunLoopDoSources0 + 324
    26  CoreFoundation                      0x0000000180416e84 __CFRunLoopRun + 788
    27  CoreFoundation                      0x00000001804166f4 CFRunLoopRunSpecific + 552
    28  GraphicsServices                    0x00000001905e5b10 GSEventRunModal + 160
    29  UIKitCore                           0x0000000185b319dc -[UIApplication _run] + 796
    30  UIKitCore                           0x0000000185b35bd4 UIApplicationMain + 124
    31  Our App                             0x000000010302e6cc fundamental + 64
    32  dyld                                0x000000010402d410 start_sim + 20
    33  ???                                 0x0000000104232274 0x0 + 4364378740
    34  ???                                 0x4d19000000000000 0x0 + 5555471615338217472
)
libc++abi: terminating as a result of uncaught exception of kind NSException

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles