Skip to content

Spike of Firebase Performance Monitoring init ANR errors #8243

@Ynnck123

Description

@Ynnck123

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.<init>(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, seems to provide a fix for ANR errors on init.

Thank you for your support.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions