Spike of Firebase Performance Monitoring init ANR errors

オープン
#8,243 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, firebase, java

調査の方向性

FirebasePerfEarly の初期化スタックトレースから始め、報告された Firebase Performance Monitoring 22.0.1 の動作を、リンクされている Android のリリースノートと比較してください。初期化時の ANR を再現できるか確認し、その急増がこの SDK パスによって引き起こされているか判断してください。文書化された原因と実行可能な解決策が得られるか、Firebase SDK の問題がないことを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

api: performance

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.

主要言語
Java
スター
2.6k
フォーク
733
平均マージ
2日 15時間
マージ済み PR(30日)
72

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/firebase-android-sdk のほかの issue

firebase/firebase-android-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。