-
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
gRPC abort in grpc::Channel::PerformOpsOnCall #2138
Comments
We have exactly the same issue. I guess we should downgrade firebase while waiting for a fix |
Thank you for the report. This certainly looks related to the recent gRPC transition. I will try to reproduce this and will follow up here. |
@ntnmrndn Does your stack trace also look identical? |
@var-const I have the same stack trace, and a second one in addition (almost identical). See:
We also got a new crash in |
We sadly could not reproduce this crash in our development environment yet but as soon as I have more information I'll provide it here. |
I'm also getting this as well. I send a notification whenever the app backgrounds to any view controller listening to call I'm unable to recreate locally but I see about 1/3 of my test users experiencing this. Happens when they open the app. Otherwise I don't have any additional info From my
|
I'm downgrading to After some testing, downgrading seems to have fixed the issue |
Ignore my previous post; looks like that function can indeed be optimized away. |
UPDATED: We fixed the following issue by adding @zackshapiro can you please share how to deal with the downgrade. We used
However, we faced this error:
Any ideas? |
We found a bug which might be the cause of the issue (hard to say with full confidence, because the issue is so hard to reproduce, but the symptoms look similar). We're actively working on a fix, and I will post an update here as soon as I have it. |
@businessengine I just bumped the version of FirebaseFirestore down from 0.15.0 to 0.14.0 and did a pod install. That's it :) |
@var-const Thank you very much for your work on this! Very appreciated! |
+1 |
Update: I merged a PR to It would be super helpful if anyone could temporarily modify their podfiles to get Firestore from the current Additionally, it would also be very helpful if you could enable logging in Firestore (if you're using Swift, it can be done via |
@pschneider @zackshapiro @businessengine Any chance you could try out our fix? Add this to your
|
Thanks @var-const for the quick fix on this. We have made a build with this fix and will monitor to see if the crash is gone. |
@wilhuff We've pointed to the fix in our app as well. Unfortunately the crash also didn't happen for us anymore since I've created the issue (I guess the internal test usage of the app is probably to low right now) and therefor it will be hard to really verify this. But I'll report back if we can see the crash again. |
We confirm that no crash for the last 12hours since the fix was deployed! |
Just a heads up that I am also seeing the exact same crash on the latest Firestore version. Will deploy the latest fix on my test environment and see if it still reproduces. Thanks for the quick work on trying to fix this! |
(I've updated the title here to avoid the "non-virtual thunk" because that description was misleading.) At this point we haven't been able to reproduce this on device, but given the stack were able to recreate this in unit tests added in #2146. We believe that fixes this issue and it will go out with the next release. |
Thanks for all of your work on this. Really appreciate it and so quickly. Just curious, what does this functionality improve or enable that wasn't there before? Thanks |
I'm not sure I understand the question. Do you mean what did our fix change? The PR notes describe the underlying problem and the changes to address it so we didn't repeat that here. However, maybe you meant something else though--could you clarify which functionality you're inquiring about? |
A colleague has pointed out that you may have been inquiring why we're migrating our usage C++ internally. This doesn't really benefit existing users at all but the point of the project is to make Firestore compatible with the Firebase Games SDKs, which are available in C++ and Unity and also run on Windows and Linux. Our eventual goal here is to share the core of this Firestore codebase among all those efforts, so we're moving away from Objective-C as the primary implementation language. |
@wilhuff Yeah I was more inquiring what benefits to my company, if any, these changes had aside from what's in 0.14.0 and if there was any urgency for me to upgrade our pod. I understand that your goal is to make Firestore compatible with the games SDK. Thanks for explaining |
Our release notes list changes of note across Firebase products. If you're just interested in Firestore, the release notes come from our CHANGELOG. Note that while we're putting a release together the CHANGELOG may have notes about changes that haven't yet made it out to CocoaPods. For example, as of this writing the 0.16.1 release of Firestore is in the CHANGELOG (and includes the fix for this issue) but is not yet available. |
Just checking whether a new release will be pushed out soon? I am a bit in a bind as I don't want to push my app with this version given the random fatal errors this issue create (I've experienced it 4-5 times a week on my test build) and when rolling back to previous versions 5.11.0 or 5.12.0 either give me the GoogleAppMeasurement issue #2151 (wrong version) or the #2102 issue at build (multiple commands produce). If someone could point me to the last stable version that would be great! I tried rolling back to 5.10.0 but then get the #2151 error again (and I don't seem to be able to find the GoogleAppMeasurement version that would work with 5.10.0), so if you could point me to the right dependencies on GoogleAppMeasurement that would be great. Thanks! |
@fschaus 5.15.0 is planned to be pushed out in the next few work days. For some older versions, the GoogleAppMeasurement needs to be explicitly forced to match the FirebaseAnalytics version in the Podfile. |
@fschaus You need to specify a correct version in your podfile. Maybe you can checkout an older version of your podfile.lock and use that ? It's definitely an issue in the pod spec tho... |
Thanks for your work on this one guys. Intending to hold out for 5.15.0 (unless it's arriving after the holidays 😄). |
This comment isn’t actionable. This issue was filed against Firebase 5.13.0 and was fixed in 5.15.0. If you’re using a version prior to that point, please upgrade. If you’re using Firebase 5.15.0 or later please open a new issue with all the details. |
@EvenDu This comment isn’t actionable. This issue was filed against Firebase 5.13.0 and was fixed in 5.15.0. If you’re using a version prior to that point, please upgrade. If you’re using Firebase 5.15.0 or later please open a new issue with all the details |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
We never saw this crash before. We thought it might be related to the recent switch from gRPC in #1968 and related ones.
The app is currently running in a small internal beta test with about 20 Users so far. The crash occurred on 3 different devices for 3 users from those 20. (iPhone 6, iPhone 6s, iPhone X. All are running iOS 12.0.1 or newer)
Steps to reproduce:
As far as we can see from our analytics screen views and the code we can just believe that the following state was in the app:
Stacktrace:
In the "Keys" entry of the crash log there's the following entry:
These are all stack traces related to firestore / grpc i believe. There is no other information in the crash log.
I hope i could provide some information to maybe find the cause of this crash.
Kind regards
The text was updated successfully, but these errors were encountered: