-
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
[BUG] Crash in FIRRemoteConfig.m #4265
Comments
This comment has been minimized.
This comment has been minimized.
This is likely related to the other crashes involving FirebasePerformance and FirebaseRemoteConfig. |
This issue is fixed and will be rolled out in the upcoming release of Firebase Performance. |
Firebase 6.13.0 was just released and should address this issue. Please update and re-open if you're still seeing the issue, thanks! |
Hi @ryanwilson. I work with @KabukiAdam and can confirm that we're still seeing this same crash in the latest release of our app. It is using Firebase 6.13.0, so this issue is not fixed. |
@siburb |
Thanks @visumickey - this is our number 1 crash at the moment, we could do with a fix asap. Here's the trace from thread 9 of an example crash - I can send you the whole log directly if necessary?
Crashlytics also shows the following: Here's an extract from "podfile.lock":
|
This is recognised as a different crash in Crashlytics, and is also happening regularly. Sounds very similar though. "BUG IN CLIENT OF LIBDISPATCH: dispatch_sync called on queue already owned by current thread" Thread 9:
|
@siburb Thanks for the crash reports. We are able to get to the root of this issue and this is already fixed. We will make sure to ship the fix out in the next release (Expected within the next 2 weeks). |
Thanks. Is there anything that we can do in the meantime to prevent it from happening? Remove FirebasePerformance? |
@siburb Option 1: Option 2: |
Fix released with Firebase 6.14.0 |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
After releasing the latest update to our app, we've started to see this crash in the crash logs.
Seems to be affecting about 5% of users.
Happens on both iOS 12 and iOS 13 devices.
I saw some other Remote Config crashes when I searched the github issues, but I didn't see any with this particular stack trace (or similar).
BUG IN CLIENT OF LIBDISPATCH: dispatch_sync called on queue already owned by current thread
Stack trace:
I spent a bit of time looking through the source code related to the stack trace, and I can see how the error happens. It looks like
[RCNConfigFetch fetchAllConfigsWithExpirationDuration:completionHandler:]
does its work on the same dispatch queue that[FIRRemoteConfig lastFetchStatus]
uses for itsdispatch_sync()
call.I realize that we're a version or two behind on the Firebase SDK. I looked at the release notes and source diff and didn't see anything that looked like a fix for this, but if I'm wrong and updating the SDK will fix this, please let me know. 😄
The text was updated successfully, but these errors were encountered: