-
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
Crash in FireStore After v 10.2 Upgrade #10507
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @daniapopov! I think enabling the Address Sanitizer and Thread Sanitizer will help provide information when reproducing the problem: Could you reproduce with these enabled? |
My ios crashed on google sign in since 10.2.0 is released |
Same here, getting crashes that happen whenever the firebase auth user changes. Seems to be related to snapshot listeners being active when the user change happens. |
Mine got fixed with adding new Url scheme which for some reason had changed.. |
I did try that. I am not using Google Sign In though, my crash happens on sign in and sign out. I am also using Flutter if that counts for anything |
same thing occurred |
I have tried to reproduce this with 10.2, only unsuccessfully. I have tried to switch users from anonymous users to email to google users, all while keeping an active listener around, and it worked fine. @Shakle Please can you explain how the URL scheme changed for you? To all folks who can reproduce this, I suspect there is some specific condition required before I can reproduce, please can you either write up a more detailed instruction, provide code snippet i can paste into a empty iOS app, or better yet provide a full mini App that can reproduce this issue? (Please remember to use a fake GoogleServices.plist or omit this file if you want to provide a reproducing App). Thanks you all in advance! |
It seems related to this thread firebase/flutterfire#9972 (comment) 28 Nov 2022, at 21:43, wu-hui ***@***.***> wrote:
I have tried to reproduce this with 10.2, only unsuccessfully. I have tried to switch users from anonymous users to email to google users, all while keeping an active listener around, and it worked fine.
@Shakle Please can you explain how the URL scheme changed for you?
To all folks who can reproduce this, I suspect there is some specific condition required before I can reproduce, please can you either write up a more detailed instruction, provide code snippet i can paste into a empty iOS app, or better yet provide a full mini App that can reproduce this issue? (Please remember to use a fake GoogleServices.plist or omit this file if you want to provide a reproducing App).
Thanks you all in advance!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
In the flutter comment firebase/flutterfire#9972 (comment) it seems this happens when you have Can people in this thread confirm this? This issue is already known by the team, and we are addressing it at the moment. If you do not have |
OK, I am able to crash my iOS App, with a |
Fixed by #10535 which is planned to release in next week's 10.3.0 |
Awesome! Thank you! Will test it when it comes out |
Description
Our Integration testing caught a 100% reproducible crash after we upgraded to 10.2
Context
Our App has a connection to FireStore before log in where we are able to fetch some records as an anonymous user. During login we update the auth user and start to fetch new user specific records.
Issue
With the latest SDK version whenever this login occurs we immediately get this stack trace.
At first glance it does not look like anything in the lower Nonpb files has changed recently. But it does look like it is getting a bad address. The reason this also seems login related is that if I look at the stack trace in one of the other threads during the crash it does look like FireStore is trying to initialize our credentials.
@geomuntean @john-at-open
Reproducing the issue
Have a clean install of an app that log's in an existing user and starts listeners for collections based on this user.
Firebase SDK Version
10.2.0
Xcode Version
14.0.1
Installation Method
CocoaPods
Firebase Product(s)
Firestore
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetThe text was updated successfully, but these errors were encountered: