Skip to content

Crash - NSLayoutConstraint constant is not finite! #282

@haffez23

Description

@haffez23

I logged a crash in my firebase console, it happned for one user 3 times and I cant reproduce it 
Here

Environment

  • Device: iPhone 13 Pro
  • iOS version: 16
  • Instructions version: main
  • Dependency Manager: CocoaPods

Trace of crash:
Fatal Exception: NSInternalInconsistencyException
NSLayoutConstraint constant is not finite! That's illegal. constant:inf firstAnchor:<NSLayoutYAxisAnchor:0x283d7fd80 "Instructions.CoachMarkView:0x11ffb0050.bottom"> secondAnchor:<NSLayoutYAxisAnchor:0x283db3840
"Instructions.InstructionsRootView:0x11ffa7ab0.bottom">



Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0xa248 __exceptionPreprocess
1 libobjc.A.dylib 0x17a68 objc_exception_throw
2 Foundation 0x54681c _userInfoForFileAndLine
3 CoreAutoLayout 0xb8e4 -[NSLayoutConstraint _setSymbolicConstant:constant:symbolicConstantMultiplier:]
4 CoreAutoLayout 0x1574 -[NSLayoutConstraint setConstant:]
5 CoreAutoLayout 0x1324 +[NSLayoutConstraint constraintWithAnchor:relatedBy:toAnchor:multiplier:constant:]
6 Instructions 0xfa80 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
7 Instructions 0xe868 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
8 Instructions 0x16b84 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
9 Instructions 0x19f44 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
10 Instructions 0x192a0 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
11 Instructions 0x166e8 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
12 Instructions 0x20bc8 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
13 Instructions 0x204e0 (Manquant UUID e5aa90ad73623213b26ec3ed2d547935)
14 UIKitCore 0x10251b0 UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK
15 UIKitCore 0xd2114 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:]
16 UIKitCore 0xd1070 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:]
17 UIKitCore 0xd0790 -[UIViewAnimationState animationDidStop:finished:]
18 QuartzCore 0x13ae8 CA::Layer::run_animation_callbacks(void*)
19 libdispatch.dylib 0x3fdc dispatch_client_callout
20 libdispatch.dylib 0x127f4 dispatch_main_queue_drain
21 libdispatch.dylib 0x12444 dispatch_main_queue_callback_4CF
22 CoreFoundation 0x9aa08 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
23 CoreFoundation 0x7c368 __CFRunLoopRun
24 CoreFoundation 0x811e4 CFRunLoopRunSpecific
25 GraphicsServices 0x1368 GSEventRunModal
26 UIKitCore 0x3a2d88 -[UIApplication run]
27 UIKitCore 0x3a29ec UIApplicationMain
28 libswiftUIKit.dylib 0x352a0 UIApplicationMain(
:
:
:
:)
22 MYAPP 0xdfcc main + 4371423180 (MF.swift:4371423180)
23 ??? 0x1be3bd948 (Manquant)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions