Skip to content

Crash on 'NSInvalidArgumentException' of 'NSLayoutConstraint' in 'Document not recognized' alert. #401

Description

@ireshetnikov24
  • Xcode version: 14.3.1
  • BlinkID SDK version: 6.2.0
  • What are you trying to scan: Production case, no information.

Step 3: Describe the problem

Application crashed twice during last 30 days. It seems like user tried to scan something what wasn't recognised.

Affected devices: iPhone 1, iPhone 14 Pro Max.
OS Versions: 16.6, 16.6.1

Stacktrace:

OS Version: iOS 16.6.1 (20G81)
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Crashed Thread: 0

Application Specific Information:
NSLayoutConstraint for <NSLayoutXAxisAnchor:0x28089bd00 "MBBaseAlertViewController:0x115c09150'Dokument nicht erkannt'.leading">: A constraint cannot be made from <NSLayoutXAxisAnchor:0x28089bd00 "MBBaseAlertViewController:0x115c09150'Dokument nicht erkannt'.leading"> to a constant. Location anchors require being paired.

Thread 0 Crashed:
0   CoreFoundation                  0x32e3b3cb4         __exceptionPreprocess
1   libobjc.A.dylib                 0x3204cc3cc         objc_exception_throw
2   CoreAutoLayout                  0x368d45468         +[NSLayoutConstraint constraintWithAnchor:relatedBy:toAnchor:multiplier:constant:]
3   BlinkID                         0x1129a9b0c         NSMutableAttributedString.init
4   libdispatch.dylib               0x33cd4b32c         _dispatch_continuation_pop
5   libdispatch.dylib               0x33cd5e904         _dispatch_source_invoke
6   libdispatch.dylib               0x33cd565f4         _dispatch_main_queue_drain
7   libdispatch.dylib               0x33cd562f0         _dispatch_main_queue_callback_4CF
8   CoreFoundation                  0x32e442c24         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
9   CoreFoundation                  0x32e42455c         __CFRunLoopRun
10  CoreFoundation                  0x32e4293e8         CFRunLoopRunSpecific
11  GraphicsServices                0x3a4ed3358         GSEventRunModal
12  UIKitCore                       0x332824f54         -[UIApplication _run]
13  UIKitCore                       0x332824bb8         UIApplicationMain
14  Vergleiche                      0x20095c434         main (AppDelegate.swift:17)
15  <unknown>                       0x1c6928dec         <redacted>


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions