Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash using Network Link Conditioner - Very Bad Network #34

Closed
devedup opened this issue Jun 27, 2023 · 4 comments
Closed

Crash using Network Link Conditioner - Very Bad Network #34

devedup opened this issue Jun 27, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@devedup
Copy link

devedup commented Jun 27, 2023

On testing using 'Very bad network' on the iOS network link conditioner, it will throw an exception after you tap:

Begin verification > begin check.

As soon as the countdown ends, it will crash. On turning off the network link conditioner, it works fine.

Thread 54: "*** -[AVAssetWriter startWriting] Cannot call method when status is 1"

Fitafy 27-06-2023, 09-02.crash.zip

@devedup
Copy link
Author

devedup commented Jun 27, 2023

I'm alleviating the crash in [VideoChunker start] with

       guard state != .writing else {
            return 
        }

However, the underlying issue is still there. Likely a timing issue on the network call returning and the LivenessStateMachine I guess, as case .recording(ovalDisplayed: false): is called twice in FaceLivenessDetectionViewModel, when in 'Very bad network'.

@atierian
Copy link
Member

Thanks for opening this. We'll investigate and follow up here with any updates.

@atierian atierian added bug Something isn't working investigating This issue is being investigated labels Jun 30, 2023
@phantumcode phantumcode self-assigned this Jun 30, 2023
@Merlin1stHere
Copy link

I faced the same crash if liveness check session is obsolete or invalid.

@atierian
Copy link
Member

Resolved in release v1.0.2.

@atierian atierian removed the investigating This issue is being investigated label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants