-
Notifications
You must be signed in to change notification settings - Fork 150
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 in GTMSessionFetcher stopFetchReleasingCallbacks
#401
Comments
There's isn't re really enough here to go on to say what might be causing the problem or even why you think it might be a missing nullability issue. All you seem to have provide was limited stack info and not actually what caused the failure. Those line numbers also don't seem to line up with the 3.3.2 release, do you have local edits or are you using a different release? |
Thank you for your quick reply. I have confirmed we are on 3.3.2. I wish I could give you more info but we haven't been able to reproduce it. We have about 50K crashes coming from this in the last 90d so it seems to not be super rare. |
I was able to find the crash on the organizer, it points to this line:
I think that makes sense. The request is probably null and I suppose we are implementing that protocol in Swift (I'm not familiar with this part of the code in our app).
|
The header uses The request also comes out an an ivar, so the better question is how are you managing to get to that point without a request or what is clearing the request out from under the library. |
I see. It's annotated as non-nullable but |
The ivar can be nil during the full flow, but normally you don't get to the cancel case with that happening, that's why I was saying there's more info needed to understand how you are getting into that state. Simply adding an |
Hi there, we are using gtm-session-fetcher 3.3.2. We noticed a crash in
GTMSessionFetcher stopFetchReleasingCallbacks
. Here's the stack trace in case it helps.I checked more recent releases but I didn't see anything specific on that stack trace. Wondering if there's any missing nullability annotations needed. If you think this is fixed on a more recent release I'm happy to try updating.
Thanks in advance!
The text was updated successfully, but these errors were encountered: