You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found crash with no known way to reproduce, about 40 crash for 30 days, so far found on iOS 13 and 14
All/most crash seems to happen some time after app returning to foreground
Hi @paulb777
No, unfortunately that's everything I have.
I don't know what this RBSConnection is (not from our app), but let me know if I can put some logs in our app to provide more information about this.
@ivanrein Thanks for the trace logs. The crash log does not specify the thread that got crashed. In the trace logs, we could find the FirebasePerformance stack trace either. It would be helpful to get a couple more information about the crash:
The stacktrace that contains the Firebase Performance classes
Memory/CPU state of the app at the time of the crash (hopefully you have this information from the crashlytics logs)
The actual reason of the crash is not clear but a possible reason may the following. It looks like in some conditions FPRGaugeManager.gaugeData property may be accessed concurrently from different threads here:
Activity
maksymmalyhin commentedon Feb 16, 2021
@ivanrein Thank you for reporting it.
It may be a concurrency issue. Could you please post stack traces for other threads to help us investigate?
ivanrein commentedon Feb 17, 2021
Hi @maksymmalyhin
here you go
traces.txt
paulb777 commentedon Feb 18, 2021
The
-[RBSConnection invalidateAssertion:error:]looks suspicious. Any more detail about the error generated there?ivanrein commentedon Feb 18, 2021
Hi @paulb777
No, unfortunately that's everything I have.
I don't know what this RBSConnection is (not from our app), but let me know if I can put some logs in our app to provide more information about this.
visumickey commentedon Feb 18, 2021
@ivanrein Thanks for the trace logs. The crash log does not specify the thread that got crashed. In the trace logs, we could find the FirebasePerformance stack trace either. It would be helpful to get a couple more information about the crash:
ivanrein commentedon Feb 19, 2021
hi @visumickey
I put the stacktrace with Firebase performance class in my first post, so I didn't put it again in the txt file.
Here it is
Here's two device states at the time of crash.


angelo-hub commentedon Feb 24, 2021
We've gotten these as well
maksymmalyhin commentedon Feb 24, 2021
The actual reason of the crash is not clear but a possible reason may the following. It looks like in some conditions FPRGaugeManager.gaugeData property may be accessed concurrently from different threads here:
firebase-ios-sdk/FirebasePerformance/Sources/Gauges/FPRGaugeManager.m
Line 176 in e30f30b
and here:
firebase-ios-sdk/FirebasePerformance/Sources/Gauges/FPRGaugeManager.m
Line 196 in e30f30b
As this is the only possible reason related to the posted stack trace found we most likely will post a fix and see if the crash still happens.
cc @visumickey
Move the dispatch of gauge metric calls to its dedicated thread async…