-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
AuthBackendRPCImplementation Crashes (Firebase v11.2) #13650
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @ondrejkorol, thanks for opening the issue! I just merged #13647 will should hopefully address the problem. I wasn't able to reproduce it, but my rationale from looking at the stack trace is that the shared concurrency queue ( I suspect the second kind of crash is related since it does have the same
|
That sounds great! I really appreciate your fast response and the whole team’s support. So I guess I should wait for a new Firebase version, and then we can try that. Yeah, it's tricky as it's not easily reproducible, right? Let me know if I can help somehow. |
Yes, @ondrejkorol. Though in the meantime, I do have some tips that may help reproduce it:
|
@ncooke3 +1 Thank you for your information. This is now starting to impact our users in production and causing crashes. When will be a new release containing these fixes? |
same issue, and cause a lot of crashes. |
We plan to release 11.3.0 the week of September 30th |
+1 we are receiving 100s of crashes in production from this issue. Fixing this ASAP would be much appreciated. |
@paulb777 For serious issues that crash the app in production, I strongly urge Firebase to always release the fix as soon as possible instead of waiting for the normal release cycle. Every time the app crashes, the user is very likely to give the app 1 star, and waiting for the Firebase release cycle would easily reduce the rating from 4.8 to 4 or below. |
11.3.0 is now published. |
@mikehardy hi, can you please update rn-firebase with version 11.3.0? thanks brother |
Hey @efstathiosntonas - I posted a PR up there invertase/react-native-firebase#8042 but please note that while I'm helping as needed, Invertase is training up internally on react-native-firebase so this will work through others before release, please be patient :-) |
@paulb777 just updated to |
@efstathiosntonas it appears like you have a good reproduction scenario? That may help a lot in nailing this down |
@mikehardy it’s kinda random, had to build on 5-6 devices before it shows up. It crashes on app launch only. Let me know guys if you need something |
@efstathiosntonas, are you able to provide a complete crash report? The trace should look a little different after upgrading to 11.3, so I'd like to see what is happening across all threads. Also, which Xcode version are you reproducing it with? Thanks! |
@efstathiosntonas And please create a new issue with the crash report and issue template updated. |
@paulb777, @ncooke3 been trying to reproduce for like 15 builds now with no luck, got the issue template ready and I keep spamming the builds 😅 Probably a long shot but is there any chance a small internet interruption of 1 or < 1second to cause this instability on the rpc? I'm on Starlink and these small disconnects can happen from time to time. |
Thanks, @efstathiosntonas!
I'm not sure, but it's a good thought. I believe there is a networking tool in Xcode that may help us simulate this. First launches are a little different from successive launches as that's when Firebase is configured for the first time. Does there seem to be any difference in the repro rate when deleting the app between launches? |
I always delete the app before launches, will keep trying till I reproduce it, thank god mac studio spits fire lol. About the internet disconnects, on |
edit: @ncooke3 checked Starlink app for disconnects when this happened and there weren't any, I guess we can rule this out. |
Hello @ncooke3, @paulb777, and others, We're still experiencing crashes in production after updating to version 11.3.0. The crash events are occurring within the first second of the user's session. Below is the stack trace (with some data, such as names, redacted for privacy reasons): also crash report: Crashed: com.apple.root.user-initiated-qos.cooperative Any help or insights would be greatly appreciated. Thank you! |
I'm going to lock this for comments in favor of #13761. Please add any additional comments, backtraces or repros there. |
Description
Hi Firebase team,
I’ve encountered crash in my app after updating to Firebase 11.2.0 and GoogleSignIn 8.0.0. The crash is reported by Crashlytics and has occurred on user devices running iOS 17.6.1. I’m using Xcode 15.4 for development and publishing the app. I can't reproduce it locally.
We discussed this crash in this GitHub thread but I was advised to open a new issue here.
There are two "different crashes" so far:
Crash Details:
• Exception Type: EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000003
• Thread: com.apple.root.user-initiated-qos.cooperative
• Affected File: AuthBackend.swift - Line 143
• Function: specialized AuthBackendRPCImplementation.callInternal(with:) + 143
The first crash stack trace:
app_issue_466ae93783cfc5e3010951fc92f6e334_crash_session_c89332271f904df98a543d8daf437162_DNE_0_v2_stacktrace.txt
second.crash_issue_466ae93783cfc5e3010951fc92f6e334_crash_session_449ef354ab5e4450b4e53a2fde399be3_DNE_0_v2_stacktrace.txt
A different stack trace:
crash.type2.txt
I'd appreciate any guidance on how to mitigate this crash. Please let me know if you need any additional information to help diagnose this issue.
Thank you for your assistance.
Best regards,
Ondrej
Reproducing the issue
No response
Firebase SDK Version
11.2
Xcode Version
15.4
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication, Crashlytics, Firestore, Messaging
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
No response
The text was updated successfully, but these errors were encountered: