firebase / firebase/firebase-android-sdk
Spike of Firebase Performance Monitoring init ANR errors
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 710
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 31
Description
In the last couple of days we see a spike in ANRs in the step of initializing Firebase performance monitoring
```
main (waiting):tid=1 systid=29612
at com.google.firebase.perf.FirebasePerfEarly.(FirebasePerfEarly.java:60)
at com.google.firebase.perf.FirebasePerfRegistrar.lambda$getComponents$0(FirebasePerfRegistrar.java:75)
at com.google.firebase.perf.FirebasePerfRegistrar$$ExternalSyntheticLambda1.create(D8$$SyntheticClass)
at com.google.firebase.tracing.ComponentMonitor.lambda$processRegistrar$0(ComponentMonitor.java:38)
at com.google.firebase.tracing.ComponentMonitor$$ExternalSyntheticLambda0.create(D8$$SyntheticClass)
at com.google.firebase.components.ComponentRuntime.lambda$discoverComponents$0$com-google-firebase-components-ComponentRuntime(ComponentRuntime.java:160)
at com.google.firebase.components.ComponentRuntime$$ExternalSyntheticLambda2.get(D8$$SyntheticClass)
at com.google.firebase.components.Lazy.get(Lazy.java:53)
at com.google.firebase.components.ComponentRuntime.doInitializeEagerComponents(ComponentRuntime.java:322)
at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(ComponentRuntime.java:312)
at com.google.firebase.FirebaseApp.initializeAllApis(FirebaseApp.java:607)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:264)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:249)
```
Firebase Status Dashboard https://status.firebase.google.com/summary doesn't show any new incidents so maybe this is something about our code but we didn't do any updates to Firebase in the meantime.
is there a known issue? We are already on 22.0.1 of the firebase performance monitoring library which, [looking at the release notes](https://firebase.google.com/support/release-notes/android#performance_v22-0-1), seems to provide a fix for ANR errors on init.
Thank you for your support.
Contributor guide
Assessment
This issue has not been assessed yet.