klippa-app / flutter-klippa-identity-verification-sdk

A Flutter plugin that implements the Klippa Identtiy Verification SDK for Android and iOS.
https://pub.dev/packages/klippa_identity_verification_sdk
MIT License
3 stars 1 forks source link

__swift_instantiateGenericMetadata #27

Open NorbertCsorgoEF opened 1 month ago

NorbertCsorgoEF commented 1 month ago

Hi there,

We are receiving a few of these via Firebase Crashlytics across device types and OS versions. Can you help pinpoint the issue? We could not reproduce it so far.

SDK version: 0.2.7

Screenshot 2024-10-10 at 11 25 21

com.apple.main-thread 0 libsystem_kernel.dylib 0x16c8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4ec8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4de0 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x4c20 mach_msg + 24 4 CoreFoundation 0x53f5c CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x53600 CFRunLoopRun + 1208 6 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608 7 GraphicsServices 0x11a8 GSEventRunModal + 164 8 UIKitCore 0x40aae8 -[UIApplication _run] + 888 9 UIKitCore 0x4bed98 UIApplicationMain + 340 10 UIKitCore 0x638504 keypath_get_selector_hoverStyle + 11024 11 Runner 0x9f94 main + 4338605972 (AppDelegate.swift:4338605972) 12 ??? 0x1b10eb154 (Missing)

Thread 0 libsystem_kernel.dylib 0x1450 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x4980 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x10cc start_wqthread + 8

com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x16c8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4ec8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4de0 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x4c20 mach_msg + 24 4 CoreFoundation 0x53f5c CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x53600 CFRunLoopRun + 1208 6 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608 7 Foundation 0xc7b5c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0xc79ac -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x41e81c -[UIEventFetcher threadMain] + 420 10 Foundation 0xde428 NSThreadstart__ + 732 11 libsystem_pthread.dylib 0x606c _pthread_start + 136 12 libsystem_pthread.dylib 0x10d8 thread_start + 8

Thread 0 libsystem_pthread.dylib 0x10c4 start_wqthread + 8224575682

io.flutter.1.ui 0 libsystem_kernel.dylib 0x16c8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4ec8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4de0 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x4c20 mach_msg + 24 4 CoreFoundation 0x53f5c CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x53600 CFRunLoopRun + 1208 6 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608 7 Flutter 0x8174c (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 8 Flutter 0x81394 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 9 Flutter 0x81024 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 10 libsystem_pthread.dylib 0x606c _pthread_start + 136 11 libsystem_pthread.dylib 0x10d8 thread_start + 8

io.flutter.1.raster 0 libsystem_kernel.dylib 0x16c8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4ec8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4de0 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x4c20 mach_msg + 24 4 CoreFoundation 0x53f5c CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x53600 CFRunLoopRun + 1208 6 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608 7 Flutter 0x8174c (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 8 Flutter 0x81394 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 9 Flutter 0x81024 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 10 libsystem_pthread.dylib 0x606c _pthread_start + 136 11 libsystem_pthread.dylib 0x10d8 thread_start + 8

io.flutter.1.io 0 libsystem_kernel.dylib 0x16c8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4ec8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4de0 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x4c20 mach_msg + 24 4 CoreFoundation 0x53f5c CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x53600 CFRunLoopRun + 1208 6 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608 7 Flutter 0x8174c (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 8 Flutter 0x81394 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 9 Flutter 0x81024 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 10 libsystem_pthread.dylib 0x606c _pthread_start + 136 11 libsystem_pthread.dylib 0x10d8 thread_start + 8

io.worker.1 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x36e4 _pthread_cond_wait + 1228 2 Flutter 0x60004 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 3 Flutter 0x7a8e0 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 4 libsystem_pthread.dylib 0x606c _pthread_start + 136 5 libsystem_pthread.dylib 0x10d8 thread_start + 8

io.worker.2 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x36e4 _pthread_cond_wait + 1228 2 Flutter 0x60004 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 3 Flutter 0x7a8e0 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 4 libsystem_pthread.dylib 0x606c _pthread_start + 136 5 libsystem_pthread.dylib 0x10d8 thread_start + 8

io.worker.3 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x36e4 _pthread_cond_wait + 1228 2 Flutter 0x60004 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 3 Flutter 0x7a8e0 (Missing UUID 4c4c44de55553144a17ba03eb53ba6f3) 4 libsystem_pthread.dylib 0x606c _pthread_start + 136 5 libsystem_pthread.dylib 0x10d8 thread_start + 8

dart:io EventHandler 0 libsystem_kernel.dylib 0x84c8 kevent + 8 1 Flutter 0x56d058 InternalFlutterGpu_Texture_AsImage + 4654416 2 Flutter 0x5988e4 InternalFlutterGpu_Texture_AsImage + 4832732 3 libsystem_pthread.dylib 0x606c _pthread_start + 136 4 libsystem_pthread.dylib 0x10d8 thread_start + 8

Crashed: com.klippa.IdentityVerification.captureSessionQueue 0 libswiftCore.dylib 0x398d8 assertionFailure(:_:file:line:flags:) + 264 1 KlippaIdentityVerification 0x6106c __swift_instantiateGenericMetadata + 76244 2 KlippaIdentityVerification 0x5f798 __swift_instantiateGenericMetadata + 69888 3 KlippaIdentityVerification 0xd2740 block_destroy_helper.18 + 31104 4 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32 5 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20 6 libdispatch.dylib 0xb400 _dispatch_lane_serial_drain + 748 7 libdispatch.dylib 0xbf30 _dispatch_lane_invoke + 380 8 libdispatch.dylib 0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288 9 libdispatch.dylib 0x16528 _dispatch_workloop_worker_thread + 404 10 libsystem_pthread.dylib 0x4934 _pthread_wqthread + 288 11 libsystem_pthread.dylib 0x10cc start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer 0 FirebaseCrashlytics 0x21bac FIRCLSProcessRecordAllThreads + 184 1 FirebaseCrashlytics 0x21f8c FIRCLSProcessRecordAllThreads + 1176 2 FirebaseCrashlytics 0x18e1c FIRCLSHandler + 48 3 FirebaseCrashlytics 0x1b7ac FIRCLSMachExceptionServer + 688 4 libsystem_pthread.dylib 0x606c _pthread_start + 136 5 libsystem_pthread.dylib 0x10d8 thread_start + 8

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x631a08 InternalFlutterGpu_Texture_AsImage + 5459712 4 Flutter 0x6d20a4 InternalFlutterGpu_Texture_AsImage + 6116764 5 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 6 libsystem_pthread.dylib 0x606c _pthread_start + 136 7 libsystem_pthread.dylib 0x10d8 thread_start + 8

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x631a08 InternalFlutterGpu_Texture_AsImage + 5459712 4 Flutter 0x6d20a4 InternalFlutterGpu_Texture_AsImage + 6116764 5 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 6 libsystem_pthread.dylib 0x606c _pthread_start + 136 7 libsystem_pthread.dylib 0x10d8 thread_start + 8

com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x16c8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4ec8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4de0 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x4c20 mach_msg + 24 4 CoreFoundation 0x53f5c CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x53600 CFRunLoopRun + 1208 6 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608 7 CFNetwork 0xfdc7c _CFHostIsDomainTopLevel + 108176 8 Foundation 0xde428 NSThreadstart__ + 732 9 libsystem_pthread.dylib 0x606c _pthread_start + 136 10 libsystem_pthread.dylib 0x10d8 thread_start + 8

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x631a08 InternalFlutterGpu_Texture_AsImage + 5459712 4 Flutter 0x6d20a4 InternalFlutterGpu_Texture_AsImage + 6116764 5 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 6 libsystem_pthread.dylib 0x606c _pthread_start + 136 7 libsystem_pthread.dylib 0x10d8 thread_start + 8

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x631a08 InternalFlutterGpu_Texture_AsImage + 5459712 4 Flutter 0x6d20a4 InternalFlutterGpu_Texture_AsImage + 6116764 5 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 6 libsystem_pthread.dylib 0x606c _pthread_start + 136 7 libsystem_pthread.dylib 0x10d8 thread_start + 8

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x631a08 InternalFlutterGpu_Texture_AsImage + 5459712 4 Flutter 0x6d20a4 InternalFlutterGpu_Texture_AsImage + 6116764 5 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 6 libsystem_pthread.dylib 0x606c _pthread_start + 136 7 libsystem_pthread.dylib 0x10d8 thread_start + 8

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x631a08 InternalFlutterGpu_Texture_AsImage + 5459712 4 Flutter 0x6d20a4 InternalFlutterGpu_Texture_AsImage + 6116764 5 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 6 libsystem_pthread.dylib 0x606c _pthread_start + 136 7 libsystem_pthread.dylib 0x10d8 thread_start + 8

Thread 0 libsystem_kernel.dylib 0x1450 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x4980 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x10cc start_wqthread + 8

Thread 0 libsystem_pthread.dylib 0x10c4 start_wqthread + 8224575682

DartWorker 0 libsystem_kernel.dylib 0x708c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3710 _pthread_cond_wait + 1272 2 Flutter 0x69666c InternalFlutterGpu_Texture_AsImage + 5872484 3 Flutter 0x6d2070 InternalFlutterGpu_Texture_AsImage + 6116712 4 Flutter 0x696038 InternalFlutterGpu_Texture_AsImage + 5870896 5 libsystem_pthread.dylib 0x606c _pthread_start + 136 6 libsystem_pthread.dylib 0x10d8 thread_start + 8

RobinFarmer commented 2 weeks ago

Thanks for reporting this, could you confirm if you're still getting this problem after bumping to the newest version of the SDK? I'm guessing this is happening somewhere in the MRZ scanning screen but I've been unable to reproduce it. If you have more info regarding the crashes it will be great appreciated!