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

Alamofire.Session random crashes on iOS 15.0 #110

Open
stefanoschrs opened this issue Nov 20, 2021 · 0 comments
Open

Alamofire.Session random crashes on iOS 15.0 #110

stefanoschrs opened this issue Nov 20, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@stefanoschrs
Copy link

Describe the bug

When trying to run a fresh clone of the verifier, I sometimes get random crashes on the https://github.com/eu-digital-green-certificates/dgca-app-core-ios/blob/main/Sources/Services/ContextConnection.swift#L37 at the alamofireSession creation and sometimes it passes that point and gets stuck on the splash screen. On the iOS 14.x it works as expected.

#       alamofireSessions[url] = Alamofire.Session(serverTrustManager: trust)
Thread 6: EXC_BAD_ACCESS (code=1, address=0x10)
#     let session = alamofireSessions[url] ?? AF
Thread 8: "-[__NSCFNumber count]: unrecognized selector sent to instance 0x8000000000000000"

Expected behaviour

For the Verifier to work

Steps to reproduce the issue

  1. Clone dgca-app-core-ios, dgc-certlogic-ios, dgca-verifier-app-ios
  2. Run dgca-verifier-app-ios
  3. Re-run dgca-verifier-app-ios

Technical details

  • MacOS: 11.6
  • XCode: 13.1
  • Device: iPhone 8 - iOS 15.0

Possible Fix

This could be helpful Alamofire/Alamofire#3122

@stefanoschrs stefanoschrs added the bug Something isn't working label Nov 20, 2021
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

2 participants