onfido-ios-sdk icon indicating copy to clipboard operation
onfido-ios-sdk copied to clipboard

Crash ResolverPAAE13resolveOrFail

Open zvjerka24 opened this issue 2 years ago • 0 comments

What was the expected behaviour?

User verification flow without the app crashing.

What happened instead?

$s6Onfido8ResolverPAAE13resolveOrFail_4nameqd__qd__m_SSSgtlF

Crashed: com.apple.main-thread
0  Onfido                         0x216a70 $s6Onfido8ResolverPAAE13resolveOrFail_4nameqd__qd__m_SSSgtlF + 280
1  Onfido                         0x77a88 $s6Onfido14BootstrapViewsO08registerC011inContaineryAA0F0C_tFZAA0A8LogoViewCAA0aG4TypeOcAA8Resolver_pcfU1_AiKcfU_ + 100
2  Onfido                         0x7b3dc $s6Onfido0A8LogoTypeOAA0aB4ViewCIegyo_AcEIegnr_TRTA + 28
3  Onfido                         0x7294c $s6Onfido0A8LogoTypeOAA0aB4ViewCIegnr_AcEIegyo_TRTA + 40
4  Onfido                         0x7d830 $s6Onfido17BottomButtonsViewC04logoD033_7B35707D02330F9A6EB4237C40C2A9D6LLAA0a4LogoD0CvgAGyXEfU_ + 56
5  Onfido                         0x7c3e4 $s6Onfido17BottomButtonsViewC04logoD033_7B35707D02330F9A6EB4237C40C2A9D6LLAA0a4LogoD0CvgTm + 44
6  Onfido                         0x7c8d4 $s6Onfido17BottomButtonsViewC11layoutViews33_7B35707D02330F9A6EB4237C40C2A9D6LLyyF + 88
7  Onfido                         0x7e01c $s6Onfido17BottomButtonsViewC10appearance23displayTextConfigurator31deviceTypeAndPresentationConfig8viewData24shouldDisableOnButtonTap17onfidoLogoFactoryAcA10AppearanceC_AA07DisplaygH0CAA06DevicejklM0OAC0dO0VSgSbAA0avD0CAA0avJ0OctcfcTf4ggngngn_n + 636
8  Onfido                         0x1a0084 $s6Onfido21LivenessChallengeViewC010loadButtonD033_00D76B5DED5D00A046DC6DFEC7ED8BA4LLyyF + 196
9  Onfido                         0x19f4b0 $s6Onfido21LivenessChallengeViewC9loadViews33_00D76B5DED5D00A046DC6DFEC7ED8BA4LLyyF + 276
10 Onfido                         0x1a0d64 $s6Onfido21LivenessChallengeViewC8delegate15overlayProducer8localize23displayTextConfigurator31deviceTypeAndPresentationConfig10appearance17onfidoLogoFactoryAcA0bcD8Delegate_p_AA07OverlayG0_pS2ScAA07DisplayjK0CAA06DevicemnoP0OAA10AppearanceCAA0asD0CAA0asM0OctcfcTf4eennnnnn_nTf4gnggnggn_n + 588
11 Onfido                         0x1a0e48 $s6Onfido21LivenessChallengeViewC8delegate15overlayProducer8localize23displayTextConfigurator31deviceTypeAndPresentationConfig10appearance17onfidoLogoFactoryAcA0bcD8Delegate_p_AA07OverlayG0_pS2ScAA07DisplayjK0CAA06DevicemnoP0OAA10AppearanceCAA0asD0CAA0asM0OctcfCTfq4eennnnnn_nTf4ggggnggn_n + 168
12 Onfido                         0x212964 $s6Onfido25ReciteDigitsChallengeViewC012loadLivenessdE033_6151BB29F17AAE8941A4C90BFF8CA93CLLyyF + 304
13 Onfido                         0x214a9c $s6Onfido25ReciteDigitsChallengeViewC8delegate8localize23displayTextConfigurator31deviceTypeAndPresentationConfig10appearance17onfidoLogoFactoryAcA0bcdE8Delegate_p_S2ScAA07DisplayiJ0CAA06DevicelmnO0OAA10AppearanceCAA0arE0CAA0arL0OctcfcTf4ennnnnn_nAA0bcdE10ControllerC_Tg5Tf4gggnggn_n + 540
14 Onfido                         0x213f04 $s6Onfido35ReciteDigitsChallengeViewControllerC04loadbcdE033_30B8FDA158C1129879AC80FC4AD114F9LLyyF + 312
15 Onfido                         0x213ff4 $s6Onfido35ReciteDigitsChallengeViewControllerC04loadE0yyFTo + 68
16 UIKitCore                      0x1abdc -[UIViewController loadViewIfRequired] + 100
17 UIKitCore                      0x1ab58 -[UIViewController view] + 24
18 Onfido                         0x197d88 $s6Onfido29LivenessCaptureViewControllerC9showChild33_BFB68757B4DAC55A84A4C360171E6917LL04viewE0ySo06UIViewE0C_tF + 60
19 Onfido                         0x198a80 $s6Onfido29LivenessCaptureViewControllerC13showChallenge33_BFB68757B4DAC55A84A4C360171E6917LL_06isLastG0yAA0G0O_SbtF + 432
20 Onfido                         0x1986a8 $s6Onfido29LivenessCaptureViewControllerC05startC033_BFB68757B4DAC55A84A4C360171E6917LLyyFys6ResultOyyts5Error_pGcfU_ + 216
21 Onfido                         0x9a3ac $s6Onfido15CameraLayerImplC18addMicrophoneInput33_3B579F6B402169983D0D1DFF61FD034ELL2to10completionySo16AVCaptureSessionC_ys6ResultOyyts5Error_pGXEtF011$s6Onfido15bcd6C18addf21Input10completionyys6s6Oyyts5T15_pGc_tFyAIXEfU_AMIegg_Tf1ncn_nTf4nng_n + 664
22 Onfido                         0x96eb8 $s6Onfido15CameraLayerImplC18addMicrophoneInput10completionyys6ResultOyyts5Error_pGc_tF + 204
23 Onfido                         0x1985a0 $s6Onfido29LivenessCaptureViewControllerC05startC033_BFB68757B4DAC55A84A4C360171E6917LLyyF + 292
24 Onfido                         0x19b760 $s6Onfido29LivenessCaptureViewControllerC12faceDetectedyySbFyycfU_TA + 20
25 Onfido                         0x1b195c $s6Onfido34LivenessPreRecordingViewControllerC28showFaceDetectedConfirmation12onCompletionyyyc_tFyycfU_yycfU_TA + 36
26 Onfido                         0x1adc64 $s6Onfido24LivenessPreRecordingViewC28showFaceDetectedConfirmation12onCompletionyyyc_tFyycfU_ + 24
27 Onfido                         0x1e86f0 $s6Onfido11OverlayViewC13animateBorder10completionyyyc_tFyycfU_TA + 20
28 Onfido                         0x1e88f4 $s6Onfido11OverlayViewC16hideConfirmation33_28AD47CFB3960FEE1251B5A184B3B467LL10completionyyyc_tFyycfU_yycfU0_TA + 36
29 Onfido                         0x1d6c0 $sIeg_IeyB_TR + 20
30 libdispatch.dylib              0x3fdc _dispatch_client_callout + 20
31 libdispatch.dylib              0x746c _dispatch_continuation_pop + 504
32 libdispatch.dylib              0x1aa58 _dispatch_source_invoke + 1588
33 libdispatch.dylib              0x12748 _dispatch_main_queue_drain + 756
34 libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF + 44
35 CoreFoundation                 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
36 CoreFoundation                 0x7c058 __CFRunLoopRun + 2036
37 CoreFoundation                 0x80ed4 CFRunLoopRunSpecific + 612
38 GraphicsServices               0x1368 GSEventRunModal + 164
39 UIKitCore                      0x3a23d0 -[UIApplication _run] + 888
40 UIKitCore                      0x3a2034 UIApplicationMain + 340
41 __________                    0xb3f4 main + 9 (AppDelegate.swift:9)
42 ???                            0x1cf178960 (Missing)

Version info:

SPM: 26.1.1 Onfido SDK (Debug/Release): Release iOS: 14.6.0-16.1.1 Device: iPhone 13 Pro/ iPhone SE (2nd generation)

Integration configuration:

.withSDKToken(token)
.withCustomLocalization()
.withAppearance(appearance)
.withWelcomeStep()
.withDocumentStep(ofType: .drivingLicence(config: DrivingLicenceConfiguration(documentFormat: .card)))
.withFaceStep(ofVariant: .video(withConfiguration: nil))
.build()

 let onfidoFlow = OnfidoFlow(withConfiguration: config).with(responseHandler: { onfidoResponse in
    switch onfidoResponse {
    case .cancel:
        seal.reject(OnfidoError.cancelled)
    case .success(let results):
        seal.fulfill(results)
    case .error(let error):
        seal.reject(error)
    @unknown default:
        seal.reject(OnfidoError.unknown)
    }
})

let viewController = try onfidoFlow.run()
viewController.modalPresentationStyle = .fullScreen
navigationController.present(viewController, animated: true)```

### Steps to reproduce:

Unable to reproduce. Crash is from Firebase.

zvjerka24 avatar Nov 22 '22 06:11 zvjerka24