Open hartlco opened 3 months ago
Thanks for the report @hartlco. It's really interesting because we never faced anything similar before and from my search the tokio::runtime
is a Rust library that we don't use directly.
My first suggestion from the report would be to update the version of our SDK in the app to the latest one, we do some bug fixes and improvements at each major version and from 18.2.0 to the most recent 18.5.1 there's a lot of changes that could already have fixed that bug.
I will do some follow up questions to help us to do some investigation from our side.
getClient
or the execute
? Thank you @walterjgsp for the fast reply. I will plan in updating the SDK version in the coming days.
What's the ratio of exceptions that you're seeing this?
It is happening very rarely, ratio roughly 0,025% of our crashes in the last 30 days
Is this happening when calling the API getClient or the execute?
It is happening at the getClient
call. That is also how we isolated it coming from recaptcha, as we also do not use Rust in our App
Do you have some other stack trace that has any reCaptcha reference on it so can help us debug?
Do you have an email/form I can use to send a full stack trace?
It is happening at the getClient call. That is also how we isolated it coming from recaptcha, as we also do not use Rust in our App
That's really interesting, thanks for letting us know. We will investigate to see where this tokio::runtime
is coming from. All my shallow search pointed to Rust but could be something else.
Do you have an email/form I can use to send a full stack trace?
Please use this https://forms.gle/nTME7psR6gMwtSX69 to send the stack trace
Thanks for sending the stacktrace @hartlco, we will keep investigating from our side.
About the plan to update the SDK. We will launch a new API that to retrieve a client that has built-in retries and it's more robust and stable. It's already available in beta version on the 18.6.0-beta01 that was released last week. We plan to release 18.6.0 stable soon.
@hartlco are you still seeing this in the 18.6 SDKs?
@mcorner @walterjgsp We are no longer seeing this issue but after updating to 18.6.0, a new crash in [RCAx_GPBAutocreatedArray addObject:]
emerged.
I'm uploading a new stacktrace through the form.
Thanks for uploading the stack trace @hartlco. Do you know the ratio that this is happening to you? Are you using Swift or ObjC when developing the App? If it's happening all the time could you provide us with a repository with an code reproducing the error? Thanks
@walterjgsp adding a nil would cause such a crash IIUC
Describe the bug tokio::runtime used internally by recaptcha enterprise crashes iOS Application starting from iOS 17.5
reCAPTCHA Site Key Can be provided on request
Integration Method
SDK Version (e.g. 18.0.1): 18.2.0
To Reproduce We did not yet uncover a way to reproduce the crash. We only see it in our Crashlytics reports
Expected behavior The App should not crash
Xcode version for iOS (please complete the following information):
Device (please complete the following information):
Stack trace