firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.28k stars 578 forks source link

ANR Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE cmp=package_name/com.google.firebase.iid.FirebaseInstanceIdReceiver } #3990

Closed rkfteam closed 1 year ago

rkfteam commented 2 years ago

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

[REQUIRED] Step 2: Describe your environment

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

We are getting too many ANR errors.

Title: Native method - android.os.MessageQueue.nativePollOnce Subtitle: Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE cmp=package_name/com.google.firebase.iid.FirebaseInstanceIdReceiver }

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

Honestly, we don't have steps, only Google Console:

screenshotGithub

Stack trace from GP console:

"Signal Catcher" tid=3 Runnable
  #00  pc 0x000000000039d2b4  /system/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*))
  #00  pc 0x000000000046460c  /system/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
  #00  pc 0x000000000047b6cc  /system/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*))
  #00  pc 0x0000000000474230  /system/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
  #00  pc 0x0000000000473c2c  /system/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool))
  #00  pc 0x00000000004737c0  /system/lib64/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
  #00  pc 0x0000000000448bb0  /system/lib64/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
  #00  pc 0x0000000000452440  /system/lib64/libart.so (art::SignalCatcher::HandleSigQuit())
  #00  pc 0x000000000045123c  /system/lib64/libart.so (art::SignalCatcher::Run(void*))
  #00  pc 0x000000000006701c  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x000000000001ec54  /system/lib64/libc.so (__start_thread)

"Firebase-Messaging-Network-Io" tid=46 Runnable
  at com.android.okhttp.HttpHandler.openConnection (HttpHandler.java)
  at java.net.URL.openConnection (URL.java:992)
  at com.google.firebase.messaging.ImageDownload.blockingDownloadBytes (ImageDownload.java:104)
  at com.google.firebase.messaging.ImageDownload.blockingDownload (ImageDownload.java:90)
  at com.google.firebase.messaging.ImageDownload.lambda$start$0$ImageDownload (ImageDownload.java:72)
  at com.google.firebase.messaging.-$$Lambda$ImageDownload$1Xn11wJGkQ0YswSUNQTBL7K7Rek.run (lambda)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
  at java.lang.Thread.run (Thread.java:764)

"main" tid=1 Native
  #00  pc 0x00000000000697a4  /system/lib64/libc.so (__epoll_pwait)
  #00  pc 0x000000000001f440  /system/lib64/libc.so (epoll_pwait)
  #00  pc 0x0000000000015c64  /system/lib64/libutils.so (android::Looper::pollInner(int))
  #00  pc 0x0000000000015b44  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
  #00  pc 0x0000000000117e90  /system/lib64/libandroid_runtime.so
  #00  pc 0x00000000001f088c  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:325)
  at android.os.Looper.loop (Looper.java:147)
  at android.app.ActivityThread.main (ActivityThread.java:6749)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:845)

"Jit thread pool worker thread 0" tid=2 Native
  #00  pc 0x000000000001d6ec  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000e1b74  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x000000000047cf90  /system/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*))
  #00  pc 0x000000000047c540  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x000000000047c00c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000006701c  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x000000000001ec54  /system/lib64/libc.so (__start_thread)

"Binder:26453_1" tid=4 Native
  #00  pc 0x0000000000069890  /system/lib64/libc.so (__ioctl)
  #00  pc 0x0000000000023f48  /system/lib64/libc.so (ioctl)
  #00  pc 0x0000000000061a9c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000061c10  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x00000000000622e8  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x0000000000083a10  /system/lib64/libbinder.so
  #00  pc 0x0000000000011634  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000bba80  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x000000000006701c  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x000000000001ec54  /system/lib64/libc.so (__start_thread)

"Binder:26453_2" tid=5 Native
  #00  pc 0x0000000000069890  /system/lib64/libc.so (__ioctl)
  #00  pc 0x0000000000023f48  /system/lib64/libc.so (ioctl)
  #00  pc 0x0000000000061a9c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000061c10  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x00000000000622e8  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x0000000000083a10  /system/lib64/libbinder.so
  #00  pc 0x0000000000011634  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000bba80  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x000000000006701c  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x000000000001ec54  /system/lib64/libc.so (__start_thread)

"HeapTaskDaemon" tid=6 Blocked
  #00  pc 0x000000000001d6f0  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000e1f9c  /system/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int))
  #00  pc 0x0000000000243220  /system/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*))
  #00  pc 0x0000000000243b00  /system/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
  #00  pc 0x000000000020c96c  /system/framework/arm64/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__)
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
  at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:463)
  at java.lang.Daemons$Daemon.run (Daemons.java:105)
  at java.lang.Thread.run (Thread.java:764)

"FinalizerWatchdogDaemon" tid=7 Timed Waiting
  at java.lang.Thread.sleep (Native method)
  at java.lang.Thread.sleep (Thread.java:373)
  at java.lang.Thread.sleep (Thread.java:314)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor (Daemons.java:344)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:366)
  at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:283)
  at java.lang.Daemons$Daemon.run (Daemons.java:105)
  at java.lang.Thread.run (Thread.java:764)

"FinalizerDaemon" tid=8 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:422)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:234)
  at java.lang.Daemons$Daemon.run (Daemons.java:105)
  at java.lang.Thread.run (Thread.java:764)

"ReferenceQueueDaemon" tid=9 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:180)
  at java.lang.Daemons$Daemon.run (Daemons.java:105)
  at java.lang.Thread.run (Thread.java:764)

"Profile Saver" tid=10 Native
  #00  pc 0x000000000001d6ec  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000e1b74  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x000000000030d164  /system/lib64/libart.so (art::ProfileSaver::Run())
  #00  pc 0x000000000030f0ec  /system/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*))
  #00  pc 0x000000000006701c  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x000000000001ec54  /system/lib64/libc.so (__start_thread)

"GoogleApiHandler" tid=14 Native
  #00  pc 0x00000000000697a4  /system/lib64/libc.so (__epoll_pwait)
  #00  pc 0x000000000001f440  /system/lib64/libc.so (epoll_pwait)
  #00  pc 0x0000000000015c64  /system/lib64/libutils.so (android::Looper::pollInner(int))
  #00  pc 0x0000000000015b44  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
  #00  pc 0x0000000000117e90  /system/lib64/libandroid_runtime.so
  #00  pc 0x00000000001f088c  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:325)
  at android.os.Looper.loop (Looper.java:147)
  at android.os.HandlerThread.run (HandlerThread.java:65)

"pool-3-thread-1" tid=15 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:764)

"ScionFrontendApi" tid=13 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:764)

"Crashlytics Exception Handler1" tid=16 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:764)

"GmsDynamite" tid=17 Waiting
  at java.lang.Object.wait (Native method)
  at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)

"com.google.firebase.crashlytics.startup1" tid=18 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:764)

"firebase-installations-executor-1" tid=19 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:764)

"firebase-installations-executor-2" tid=20 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:764)

"awaitEvenIfOnMainThread task continuation executor1" tid=21 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:764)

"Measurement Worker" tid=22 Native
  #00  pc 0x0000000000069ce4  /system/lib64/libc.so (fdatasync)
  #00  pc 0x000000000002727c  /system/lib64/libsqlite.so
  #00  pc 0x000000000002d804  /system/lib64/libsqlite.so
  #00  pc 0x000000000001364c  /system/lib64/libsqlite.so
  #00  pc 0x0000000000013c8c  /system/lib64/libsqlite.so
  #00  pc 0x000000000003c484  /system/lib64/libsqlite.so
  #00  pc 0x000000000004cb84  /system/lib64/libsqlite.so
  #00  pc 0x0000000000016b44  /system/lib64/libsqlite.so (sqlite3_step)
  #00  pc 0x00000000000ecfbc  /system/lib64/libandroid_runtime.so
  #00  pc 0x000000000049e650  /system/framework/arm64/boot-framework.oat (Java_android_database_sqlite_SQLiteConnection_nativeExecute__JJ)
  at android.database.sqlite.SQLiteConnection.nativeExecute (Native method)
  at android.database.sqlite.SQLiteConnection.execute (SQLiteConnection.java:571)
  at android.database.sqlite.SQLiteSession.endTransactionUnchecked (SQLiteSession.java:437)
  at android.database.sqlite.SQLiteSession.endTransaction (SQLiteSession.java:401)
  at android.database.sqlite.SQLiteDatabase.endTransaction (SQLiteDatabase.java:539)
  at ik.q (:com.google.android.gms.dynamite_measurementdynamite@222615051@22.26.15 (040408-0):12)
  at kn.r (:com.google.android.gms.dynamite_measurementdynamite@222615051@22.26.15 (040408-0):7)
  at jd.run (:com.google.android.gms.dynamite_measurementdynamite@222615051@22.26.15 (040408-0):112)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
  at ja.run (:com.google.android.gms.dynamite_measurementdynamite@222615051@22.26.15 (040408-0):5)

"pool-15-thread-1" tid=23 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:764)

"Firebase-Messaging-Init" tid=24 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
  at java.lang.Thread.run (Thread.java:764)

"Firebase-Messaging-Topics-Io" tid=25 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
  at java.lang.Thread.run (Thread.java:764)

"heartbeat-information-executor" tid=26 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Thread.parkFor$ (Thread.java:2135)
  at sun.misc.Unsafe.park (Unsafe.java:358)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at java.lang.Thread.run (Thread.java:764)

"AsyncTask #1" tid=27 Native
  #00  pc 0x0000000000069890  /system/lib64/libc.so (__ioctl)
  #00  pc 0x0000000000023f48  /system/lib64/libc.so (ioctl)
  #00  pc 0x0000000000061a9c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000062854  /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*))
  #00  pc 0x0000000000062560  /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int))

!!! To save you and me time on answers, I have previously read similar issues and prepared answers in advance: Q: Any chance you’re using a custom Application class? A: We use android:name=“androidx.multidex.MultiDexApplication”

We also use advertising SDKs in the application, but we don’t initialize them in onCreate Application.

Relevant Code:

// TODO(you): code here to reproduce the problem
google-oss-bot commented 2 years ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

argzdev commented 2 years ago

Hi @rkfteam, thanks for reporting. Could you remove the package firebase-iid, since this has already been deprecated for sometime now, see the link how to migrate from this. Also I've noticed that you're using an old version of firebase-messaging. Could you use the latest version 23.0.7 and see if this helps fix the issue?

Upon checking the release notes for Cloud Messaging version 23.0.7:

Message broadcasts now finish immediately after binding to the service. This change should reduce the chance of ANRs.

So it might help to use the latest sdk version, let me know if this works. Thanks.

rkfteam commented 2 years ago

@argzdev, thanks for the info. BUT: your most recent Unity Firebase Messaging 9.4.0 plugin still has the dependency com.google.firebase:firebase-iid:21.1.0

<!-- Copyright (C) 2019 Google Inc. All Rights Reserved.​
FirebaseMessaging iOS and Android Dependencies.
-->
​
<dependencies>
  <iosPods>
    <iosPod name="Firebase/Messaging" version="9.4.0" minTargetSdk="8.0">
    </iosPod>
  </iosPods>
  <androidPackages>
    <androidPackage spec="com.google.firebase:firebase-messaging:23.0.7">
    </androidPackage>
    <androidPackage spec="com.google.firebase:firebase-analytics:21.1.0">
    </androidPackage>
    <androidPackage spec="com.google.firebase:firebase-iid:21.1.0">
    </androidPackage>
    <androidPackage spec="com.google.firebase:firebase-messaging-unity:9.4.0">
      <repositories>
        <repository>Assets/Firebase/m2repository</repository>
      </repositories>
    </androidPackage>
  </androidPackages>
</dependencies>
argzdev commented 2 years ago

Thanks for the extra details, @rkfteam. I thought this was an Android project. If this is the dependency from Firebase Messaging 9.4.0 plugin in Unity, then there's nothing we can do about that.

I do see that the version 9.4.0 contains the dependency for com.google.firebase:firebase-messaging:23.0.7, let me know if this helps with your issue. Thanks.

rkfteam commented 2 years ago

@argzdev, Yes, this is a Unity project. But it uses the same android dependencies like com.google.firebase:firebase-xxx. As a result, after exporting the unity project, the android application is assembled in the Android Studio environment. Where can I go with this issue if there is nothing you can do to help? We have a lot of ANR due to firebase. I would like to somehow influence this.

argzdev commented 2 years ago

@rkfteam, I'm pertaining to the Firebase Messaging 9.4.0 plugin in Unity when I mentioned "nothing we can do about that" since this is already bundled together.

As for the version of com.google.firebase:firebase-messaging:23.0.7 does updating to this version not help?

If we check the release notes for Cloud Messaging version 23.0.7:

Message broadcasts now finish immediately after binding to the service. This change should reduce the chance of ANRs.

Using the latest SDK version 23.0.7 should at least be able to lower down your ANRs.

rkfteam commented 2 years ago

@argzdev, Okay, I understand about the plugin. What about the firebase libraries? Can you help identify the cause and find a solution?

Will updating FCM to version 23.0.7 solve this issue? Did any research? Or is it just general advice: “Upgrade to the latest version available”?

argzdev commented 2 years ago

@rkfteam, usually we do give the general advice to update to the latest available version (this is to avoid bugs that are already resolved). However, this case is different since the release notes for FCM version 23.0.7 states that there has been a change in how message broadcasts are being handled within the service. - "Message broadcasts now finish immediately after binding to the service. This change should reduce the chance of ANRs." This should be a good sign that it'll be able to help reduce ANRs at a certain amount.

As for identifying the exact cause of ANRs, these are caused by many factors including fcm related or non-fcm related issues. As a result even the provided stack trace don't contain enough information for us to diagnose forward. If a comprehensive bug report or logcat could be provided that would super helpful, then we can probably justify an engineer's time to dig into this issue deeper.

As for now, let's keep this issue open in case some of our engineers might have an idea how to resolve this. Feel free to add extra information or details that you might find helpful. Thanks!

rkfteam commented 2 years ago

@argzdev ,

If a comprehensive bug report or logcat could be provided that would super helpful, then we can probably justify an engineer's time to dig into this issue deeper.

What additional information do you need from our side? Don't hesitate, we'll provide whatever else you need. We want to get rid of or at least reduce the number of ANRs.

Below I have provided more recent stack traces:

  1. Thread
    "Signal Catcher" tid=3 Runnable
    #00  pc 0x00000000002eedcf  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*))
    #00  pc 0x00000000003844db  /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
    #00  pc 0x0000000000380a57  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
    #00  pc 0x0000000000398f8b  /system/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*))
    #00  pc 0x0000000000392491  /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
    #00  pc 0x0000000000391f83  /system/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool))
    #00  pc 0x0000000000391c93  /system/lib/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
    #00  pc 0x000000000036eedb  /system/lib/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
    #00  pc 0x0000000000375ce5  /system/lib/libart.so (art::SignalCatcher::HandleSigQuit())
    #00  pc 0x0000000000374e75  /system/lib/libart.so (art::SignalCatcher::Run(void*))
    #00  pc 0x0000000000048811  /system/lib/libc.so (__pthread_start(void*))
    #00  pc 0x000000000001b369  /system/lib/libc.so (__start_thread)
    Thread
    "main" tid=1 Native
    #00  pc 0x0000000000049ebc  /system/lib/libc.so (__epoll_pwait)
    #00  pc 0x000000000001b799  /system/lib/libc.so (epoll_pwait)
    #00  pc 0x000000000001b7c9  /system/lib/libc.so (epoll_wait)
    #00  pc 0x000000000001008b  /system/lib/libutils.so (android::Looper::pollInner(int))
    #00  pc 0x000000000000ff7d  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00  pc 0x00000000000bb79d  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int))
    #00  pc 0x000000000017600d  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:325)
    at android.os.Looper.loop (Looper.java:142)
    at android.app.ActivityThread.main (ActivityThread.java:7000)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
    Thread
    "Jit thread pool worker thread 0" tid=2 Native
    #00  pc 0x0000000000018e50  /system/lib/libc.so (syscall)
    #00  pc 0x00000000000b7d99  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x000000000039ad31  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*))
    #00  pc 0x000000000039a6a7  /system/lib/libart.so (art::ThreadPoolWorker::Run())
    #00  pc 0x000000000039a2bd  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*))
    #00  pc 0x0000000000048811  /system/lib/libc.so (__pthread_start(void*))
    #00  pc 0x000000000001b369  /system/lib/libc.so (__start_thread)
    Thread
    "ReferenceQueueDaemon" tid=4 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:178)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "FinalizerDaemon" tid=5 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Object.wait (Object.java:422)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)
    at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:232)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "FinalizerWatchdogDaemon" tid=6 Timed Waiting
    at java.lang.Thread.sleep (Native method)
    at java.lang.Thread.sleep (Thread.java:373)
    at java.lang.Thread.sleep (Thread.java:314)
    at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor (Daemons.java:342)
    at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:364)
    at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:281)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "HeapTaskDaemon" tid=7 Blocked
    #00  pc 0x0000000000018e54  /system/lib/libc.so (syscall)
    #00  pc 0x00000000000b80c1  /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int))
    #00  pc 0x00000000001ce6a9  /system/lib/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*))
    #00  pc 0x00000000001cecb1  /system/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
    #00  pc 0x0000000000193fe3  /system/framework/arm/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__)
    at dalvik.system.VMRuntime.runHeapTasks (Native method)
    at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:461)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "Binder:8424_1" tid=8 Native
    #00  pc 0x0000000000049ff8  /system/lib/libc.so (__ioctl)
    #00  pc 0x000000000001e215  /system/lib/libc.so (ioctl)
    #00  pc 0x0000000000042839  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00  pc 0x0000000000042949  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x0000000000042ea3  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x00000000000583cd  /system/lib/libbinder.so
    #00  pc 0x000000000000d235  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x0000000000075119  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x0000000000048811  /system/lib/libc.so (__pthread_start(void*))
    #00  pc 0x000000000001b369  /system/lib/libc.so (__start_thread)
    Thread
    "Binder:8424_2" tid=9 Native
    #00  pc 0x0000000000018e50  /system/lib/libc.so (syscall)
    #00  pc 0x00000000000b7d99  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x00000000002885e5  /system/lib/libart.so (art::JNI::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list))
    #00  pc 0x000000000007fc17  /system/lib/libandroid_runtime.so
    #00  pc 0x00000000000c56c5  /system/lib/libandroid_runtime.so
    #00  pc 0x000000000003c8f7  /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int))
    #00  pc 0x0000000000042cef  /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int))
    #00  pc 0x00000000000429b1  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x0000000000042ea3  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x00000000000583cd  /system/lib/libbinder.so
    #00  pc 0x000000000000d235  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x0000000000075119  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x0000000000048811  /system/lib/libc.so (__pthread_start(void*))
    #00  pc 0x000000000001b369  /system/lib/libc.so (__start_thread)
    Thread
    "Profile Saver" tid=10 Native
    #00  pc 0x0000000000018e50  /system/lib/libc.so (syscall)
    #00  pc 0x00000000000b7d99  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x000000000027add9  /system/lib/libart.so (art::ProfileSaver::Run())
    #00  pc 0x000000000027d0f3  /system/lib/libart.so (art::ProfileSaver::RunProfileSaverThread(void*))
    #00  pc 0x0000000000048811  /system/lib/libc.so (__pthread_start(void*))
    #00  pc 0x000000000001b369  /system/lib/libc.so (__start_thread)
    Thread
    "GoogleApiHandler" tid=14 Native
    #00  pc 0x0000000000049ebc  /system/lib/libc.so (__epoll_pwait)
    #00  pc 0x000000000001b799  /system/lib/libc.so (epoll_pwait)
    #00  pc 0x000000000001b7c9  /system/lib/libc.so (epoll_wait)
    #00  pc 0x000000000001008b  /system/lib/libutils.so (android::Looper::pollInner(int))
    #00  pc 0x000000000000ff7d  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00  pc 0x00000000000bb79d  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int))
    #00  pc 0x000000000017600d  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:325)
    at android.os.Looper.loop (Looper.java:142)
    at android.os.HandlerThread.run (HandlerThread.java:65)
    Thread
    "pool-3-thread-1" tid=15 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "ScionFrontendApi" tid=13 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "GmsDynamite" tid=16 Waiting
    at java.lang.Object.wait (Native method)
    at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
    Thread
    "Crashlytics Exception Handler1" tid=17 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "com.google.firebase.crashlytics.startup1" tid=18 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "firebase-installations-executor-1" tid=19 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "awaitEvenIfOnMainThread task continuation executor1" tid=20 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "firebase-installations-executor-2" tid=21 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "pool-13-thread-1" tid=22 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "OkHttp ConnectionPool" tid=23 Timed Waiting
    at java.lang.Object.wait (Native method)
    at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:101)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "Firebase-Messaging-Init" tid=24 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "Firebase-Messaging-Topics-Io" tid=25 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "heartbeat-information-executor" tid=26 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "Measurement Worker" tid=28 Native
    #00  pc 0x0000000000018e50  /system/lib/libc.so (syscall)
    #00  pc 0x00000000000b7d99  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x00000000003ec5e5  /system/lib/libart.so (art::GoToRunnable(art::Thread*))
    #00  pc 0x00000000003ec481  /system/lib/libart.so (art::JniMethodEnd(unsigned int, art::Thread*))
    #00  pc 0x000000000038887b  /system/framework/arm/boot-framework.oat (Java_android_database_sqlite_SQLiteConnection_nativeExecute__JJ)
    at android.database.sqlite.SQLiteConnection.nativeExecute (Native method)
    at android.database.sqlite.SQLiteConnection.execute (SQLiteConnection.java:751)
    at android.database.sqlite.SQLiteSession.endTransactionUnchecked (SQLiteSession.java:437)
    at android.database.sqlite.SQLiteSession.endTransaction (SQLiteSession.java:401)
    at android.database.sqlite.SQLiteDatabase.endTransaction (SQLiteDatabase.java:710)
    at ik.q (:com.google.android.gms.dynamite_measurementdynamite@222615045@22.26.15 (040304-0):12)
    at kn.Q (:com.google.android.gms.dynamite_measurementdynamite@222615045@22.26.15 (040304-0):14)
    at kn.T (:com.google.android.gms.dynamite_measurementdynamite@222615045@22.26.15 (040304-0):62)
    at ju.run (:com.google.android.gms.dynamite_measurementdynamite@222615045@22.26.15 (040304-0))
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at ja.run (:com.google.android.gms.dynamite_measurementdynamite@222615045@22.26.15 (040304-0):5)
    Thread
    "Okio Watchdog" tid=30 Timed Waiting
    at java.lang.Object.wait (Native method)
    at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:323)
    at com.android.okhttp.okio.AsyncTimeout.-wrap0 (AsyncTimeout.java)
    at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:286)
    Thread
    "AsyncTask #1" tid=27 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "queued-work-looper" tid=29 Native
    #00  pc 0x0000000000049ebc  /system/lib/libc.so (__epoll_pwait)
    #00  pc 0x000000000001b799  /system/lib/libc.so (epoll_pwait)
    #00  pc 0x000000000001b7c9  /system/lib/libc.so (epoll_wait)
    #00  pc 0x000000000001008b  /system/lib/libutils.so (android::Looper::pollInner(int))
    #00  pc 0x000000000000ff7d  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00  pc 0x00000000000bb79d  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int))
    #00  pc 0x000000000017600d  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:325)
    at android.os.Looper.loop (Looper.java:142)
    at android.os.HandlerThread.run (HandlerThread.java:65)
    Thread
    "AsyncTask #2" tid=31 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "AsyncTask #3" tid=32 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "AsyncTask #4" tid=34 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1086)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "pool-22-thread-1" tid=33 Timed Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2101)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "pool-23-thread-1" tid=36 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "WM.task-1" tid=38 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Thread.parkFor$ (Thread.java:2137)
    at sun.misc.Unsafe.park (Unsafe.java:358)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2059)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1087)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1147)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)
    Thread
    "pool-24-thread-1" tid=39 Waiting
  2. Thread
    "Okio Watchdog" tid=6 Runnable
    at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:288)
    Thread
    "Measurement Worker" tid=31 Runnable
    at py.<init> (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):1)
    at py.<clinit> (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0))
    at he.a (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):2)
    at if.b (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):7)
    at if.a (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0))
    at iv.aq (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):3)
    at jg.l (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):2)
    at jd.run (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):12)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at ja.run (:com.google.android.gms.dynamite_measurementdynamite@222615065@22.26.15 (100400-0):5)
    Thread
    "com.google.firebase.crashlytics.startup1" tid=23 Runnable
    at java.lang.String.trim (String.java:2800)
    at com.android.okhttp.Headers$Builder.addLenient (Headers.java:260)
    at com.android.okhttp.Headers$Builder.addLenient (Headers.java:229)
    at com.android.okhttp.OkHttpClient$1.addLenient (OkHttpClient.java:66)
    at com.android.okhttp.internal.http.Http1xStream.readHeaders (Http1xStream.java:214)
    at com.android.okhttp.internal.http.Http1xStream.readResponse (Http1xStream.java:194)
    at com.android.okhttp.internal.http.Http1xStream.readResponseHeaders (Http1xStream.java:129)
    at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse (HttpEngine.java:770)
    at com.android.okhttp.internal.http.HttpEngine.readResponse (HttpEngine.java:642)
    at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute (HttpURLConnectionImpl.java:475)
    at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse (HttpURLConnectionImpl.java:411)
    at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode (HttpURLConnectionImpl.java:542)
    at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode (DelegatingHttpsURLConnection.java:106)
    at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode (HttpsURLConnectionImpl.java:30)
    at com.safedk.android.internal.partials.FirebaseCrashReportingNetworkBridge.httpUrlConnectionGetResponseCode (FirebaseCrashReportingSourceFile:147)
    at com.google.firebase.crashlytics.internal.network.HttpGetRequest.execute (HttpGetRequest.java:77)
    at com.google.firebase.crashlytics.internal.settings.DefaultSettingsSpiCall.invoke (DefaultSettingsSpiCall.java:112)
    at com.google.firebase.crashlytics.internal.settings.SettingsController$1.then (SettingsController.java:200)
    at com.google.firebase.crashlytics.internal.settings.SettingsController$1.then (SettingsController.java:193)
    at com.google.android.gms.tasks.zzo.run (com.google.android.gms:play-services-tasks@@18.0.1:1)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "Signal Catcher" tid=2 Runnable
    #00  pc 0x0000000000412704  /apex/com.android.runtime/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
    #00  pc 0x00000000004f91b0  /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
    #00  pc 0x00000000005138d4  /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*))
    #00  pc 0x000000000050c8e8  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
    #00  pc 0x000000000050bcf0  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool))
    #00  pc 0x000000000050b4d4  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
    #00  pc 0x00000000004c6ce4  /apex/com.android.runtime/lib64/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
    #00  pc 0x00000000004daebc  /apex/com.android.runtime/lib64/libart.so (art::SignalCatcher::HandleSigQuit())
    #00  pc 0x00000000004d9f0c  /apex/com.android.runtime/lib64/libart.so (art::SignalCatcher::Run(void*))
    #00  pc 0x00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
    Thread
    "Thread-6" tid=37 Runnable
    #00  pc 0x0000000000412704  /apex/com.android.runtime/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
    #00  pc 0x00000000004f91b0  /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
    #00  pc 0x00000000005138d4  /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*))
    #00  pc 0x00000000004f9ef8  /apex/com.android.runtime/lib64/libart.so (art::Thread::RunCheckpointFunction())
    #00  pc 0x0000000000169170  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::LoadClass(art::Thread*, art::DexFile const&, art::dex::ClassDef const&, art::Handle<art::mirror::Class>))
    #00  pc 0x0000000000164ffc  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::DefineClass(art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::dex::ClassDef const&))
    #00  pc 0x000000000018e9b4  /apex/com.android.runtime/lib64/libart.so (void* art::VisitClassLoaderDexElements<void* art::VisitClassLoaderDexFiles<void art::VisitClassLoaderDexFiles<art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31>(art::ScopedObjectAccessAlreadyRunnable&, art::Handle<art::mirror::ClassLoader>, art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31)::'lambda'(art::DexFile const*, void**), void*>(art::ScopedObjectAccessAlreadyRunnable&, art::Handle<art::mirror::ClassLoader>, art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31, void*)::'lambda'(art::ObjPtr<art::mirror::Object>, void**), void*>(art::ScopedObjectAccessAlreadyRunnable&, art::Handle<art::mirror::ClassLoader>, art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31, void*))
    #00  pc 0x000000000016424c  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::FindClassInBaseDexClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::ObjPtr<art::mirror::Class>*))
    #00  pc 0x000000000016419c  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::FindClassInBaseDexClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::ObjPtr<art::mirror::Class>*))
    #00  pc 0x0000000000165ab4  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>))
    #00  pc 0x00000000001526f8  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::DoResolveType(art::dex::TypeIndex, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>))
    #00  pc 0x0000000000152c94  /apex/com.android.runtime/lib64/libart.so (art::ObjPtr<art::mirror::Class> art::ClassLinker::DoResolveType<art::ObjPtr<art::mirror::Class>>(art::dex::TypeIndex, art::ObjPtr<art::mirror::Class>))
    #00  pc 0x00000000001694d0  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::LoadSuperAndInterfaces(art::Handle<art::mirror::Class>, art::DexFile const&))
    #00  pc 0x0000000000165050  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::DefineClass(art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::dex::ClassDef const&))
    #00  pc 0x000000000018e9b4  /apex/com.android.runtime/lib64/libart.so (void* art::VisitClassLoaderDexElements<void* art::VisitClassLoaderDexFiles<void art::VisitClassLoaderDexFiles<art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31>(art::ScopedObjectAccessAlreadyRunnable&, art::Handle<art::mirror::ClassLoader>, art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31)::'lambda'(art::DexFile const*, void**), void*>(art::ScopedObjectAccessAlreadyRunnable&, art::Handle<art::mirror::ClassLoader>, art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31, void*)::'lambda'(art::ObjPtr<art::mirror::Object>, void**), void*>(art::ScopedObjectAccessAlreadyRunnable&, art::Handle<art::mirror::ClassLoader>, art::ClassLinker::FindClassInBaseDexClassLoaderClassPath(art::ScopedObjectAccessAlreadyRunnable&, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>)::$_31, void*))
    #00  pc 0x000000000016424c  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::FindClassInBaseDexClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::ObjPtr<art::mirror::Class>*))
    #00  pc 0x0000000000165ab4  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>))
    #00  pc 0x00000000001526f8  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::DoResolveType(art::dex::TypeIndex, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>))
    #00  pc 0x000000000052f274  /apex/com.android.runtime/lib64/libart.so (art::verifier::RegType const& art::verifier::impl::(anonymous namespace)::MethodVerifier<false>::ResolveClass<(art::verifier::impl::(anonymous namespace)::CheckAccess)0>(art::dex::TypeIndex))
    #00  pc 0x0000000000544800  /apex/com.android.runtime/lib64/libart.so (art::verifier::impl::(anonymous namespace)::MethodVerifier<false>::CodeFlowVerifyInstruction(unsigned int*))
    #00  pc 0x0000000000529404  /apex/com.android.runtime/lib64/libart.so (_ZN3art8verifier4impl12_GLOBAL__N_114MethodVerifierILb0EE6VerifyEv$09bf97eb2c0d684adb6d215f7005036e)
    #00  pc 0x0000000000524efc  /apex/com.android.runtime/lib64/libart.so (art::verifier::MethodVerifier::FailureData art::verifier::MethodVerifier::VerifyMethod<false>(art::Thread*, unsigned int, art::DexFile const*, art::Handle<art::mirror::DexCache>, art::DexFile const*<art::Handle::ClassLoader>, art::dex::ClassDef const&, art::DexFile const*<art::Handle::ClassLoader>::CodeItem const*, art::ArtMethod*, unsigned int, art::CompilerCallbacks*, bool, art::verifier::HardFailLogMode, bool, unsigned int, std::__1::basic_string<char, art::verifier::HardFailLogMode::char_traits<char>, art::verifier::HardFailLogMode::allocator<char>>*))
    #00  pc 0x0000000000523400  /apex/com.android.runtime/lib64/libart.so (art::verifier::ClassVerifier::VerifyClass(art::Thread*, art::DexFile const*, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>, art::dex::ClassDef const&, art::CompilerCallbacks*, bool, art::verifier::HardFailLogMode, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*))
    #00  pc 0x0000000000522c88  /apex/com.android.runtime/lib64/libart.so (art::verifier::ClassVerifier::VerifyClass(art::Thread*, art::ObjPtr<art::mirror::Class>, art::CompilerCallbacks*, bool, art::verifier::HardFailLogMode, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*))
    #00  pc 0x000000000016d878  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::VerifyClass(art::Thread*, art::Handle<art::mirror::Class>, art::verifier::HardFailLogMode))
    #00  pc 0x00000000001708bc  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool))
    #00  pc 0x000000000015bc04  /apex/com.android.runtime/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool))
    #00  pc 0x0000000000429c90  /apex/com.android.runtime/lib64/libart.so (art::Class_newInstance(_JNIEnv*, _jobject*))
    at java.lang.Class.newInstance (Native method)
    at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.doMakeLoader (DynamicLoaderFactory.java:222)
    at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.access$000 (DynamicLoaderFactory.java:41)
    at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory$1.run (DynamicLoaderFactory.java:101)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "main" tid=1 Native
    #00  pc 0x00000000000cd6a8  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait)
    #00  pc 0x0000000000017da8  /system/lib64/libutils.so (android::Looper::pollInner(int))
    #00  pc 0x0000000000017c78  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00  pc 0x00000000001392bc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int))
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:336)
    at android.os.Looper.loop (Looper.java:174)
    at android.app.ActivityThread.main (ActivityThread.java:7405)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:502)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:980)
    Thread
    "HeapTaskDaemon" tid=3 Waiting
    #00  pc 0x000000000007f340  /apex/com.android.runtime/lib64/bionic/libc.so (syscall)
    #00  pc 0x000000000014b4d0  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int))
    #00  pc 0x000000000028e940  /apex/com.android.runtime/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*))
    #00  pc 0x000000000028f1dc  /apex/com.android.runtime/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
    at dalvik.system.VMRuntime.runHeapTasks (Native method)
    at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:523)
    at java.lang.Daemons$Daemon.run (Daemons.java:137)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "ReferenceQueueDaemon" tid=4 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Object.wait (Object.java:442)
    at java.lang.Object.wait (Object.java:568)
    at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:215)
    at java.lang.Daemons$Daemon.run (Daemons.java:137)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "Jit thread pool worker thread 0" tid=5 Native
    #00  pc 0x000000000007f33c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall)
    #00  pc 0x000000000014b094  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x0000000000515364  /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*))
    #00  pc 0x00000000005146d8  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run())
    #00  pc 0x000000000051418c  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
    #00  pc 0x00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
    Thread
    "FinalizerDaemon" tid=9 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Object.wait (Object.java:442)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
    at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:271)
    at java.lang.Daemons$Daemon.run (Daemons.java:137)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "FinalizerWatchdogDaemon" tid=11 Timed Waiting
    at java.lang.Thread.sleep (Native method)
    at java.lang.Thread.sleep (Thread.java:440)
    at java.lang.Thread.sleep (Thread.java:356)
    at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForMillis (Daemons.java:383)
    at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:411)
    at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:323)
    at java.lang.Daemons$Daemon.run (Daemons.java:137)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "Binder:3911_1" tid=12 Native
    #00  pc 0x00000000000cd7e4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl)
    #00  pc 0x000000000008a7f4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl)
    #00  pc 0x000000000005861c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00  pc 0x00000000000587f8  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x0000000000058fc4  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x000000000007f580  /system/lib64/libbinder.so (android::PoolThread::threadLoop())
    #00  pc 0x000000000001380c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x00000000000c3814  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
    Thread
    "Binder:3911_2" tid=13 Native
    #00  pc 0x00000000000cd7e4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl)
    #00  pc 0x000000000008a7f4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl)
    #00  pc 0x000000000005861c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00  pc 0x00000000000587f8  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x0000000000058fc4  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x000000000007f580  /system/lib64/libbinder.so (android::PoolThread::threadLoop())
    #00  pc 0x000000000001380c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x00000000000c3814  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
    Thread
    "Profile Saver" tid=14 Native
    #00  pc 0x000000000007f33c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall)
    #00  pc 0x000000000014b094  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x00000000003475dc  /apex/com.android.runtime/lib64/libart.so (art::ProfileSaver::Run())
    #00  pc 0x000000000034b220  /apex/com.android.runtime/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*))
    #00  pc 0x00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
    Thread
    "GoogleApiHandler" tid=18 Native
    #00  pc 0x00000000000cd6a8  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait)
    #00  pc 0x0000000000017da8  /system/lib64/libutils.so (android::Looper::pollInner(int))
    #00  pc 0x0000000000017c78  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00  pc 0x00000000001392bc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int))
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:336)
    at android.os.Looper.loop (Looper.java:174)
    at android.os.HandlerThread.run (HandlerThread.java:67)
    Thread
    "pool-3-thread-1" tid=19 Timed Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "Binder:3911_3" tid=17 Native
    #00  pc 0x00000000000cd7e4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl)
    #00  pc 0x000000000008a7f4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl)
    #00  pc 0x000000000005861c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00  pc 0x00000000000587f8  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x0000000000058fc4  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x000000000007f580  /system/lib64/libbinder.so (android::PoolThread::threadLoop())
    #00  pc 0x000000000001380c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x00000000000c3814  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
    Thread
    "ScionFrontendApi" tid=20 Timed Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "Crashlytics Exception Handler1" tid=21 Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:919)
    Thread
    "firebase-installations-executor-1" tid=22 Timed Waiting
  3. Thread
    "Firebase-Messaging-Intent-Handle" tid=47 Runnable
    at java.lang.Thread.run (Thread.java:922)
    Thread
    "Binder:22682_3" tid=45 Runnable
    at java.lang.ThreadLocal.getMap (ThreadLocal.java:233)
    at java.lang.ThreadLocal.setInitialValue (ThreadLocal.java:182)
    at java.lang.ThreadLocal.get (ThreadLocal.java:170)
    at android.os.ThreadLocalWorkSource.getToken (ThreadLocalWorkSource.java:101)
    at android.os.ThreadLocalWorkSource.setUid (ThreadLocalWorkSource.java:67)
    at android.os.Binder.execTransact (Binder.java:1157)
    Thread
    "SharedPreferencesImpl-load" tid=48 Runnable
    at java.io.File.canRead (File.java:756)
    at android.app.SharedPreferencesImpl.loadFromDisk (SharedPreferencesImpl.java:157)
    at android.app.SharedPreferencesImpl.access$000 (SharedPreferencesImpl.java:59)
    at android.app.SharedPreferencesImpl$1.run (SharedPreferencesImpl.java:140)
    Thread
    "pool-31-thread-1" tid=46 Runnable
    at android.os.Parcel.createTypedArrayList (Parcel.java:2855)
    at android.app.IActivityManager$Stub$Proxy.getProcessesInErrorState (IActivityManager.java:7925)
    at android.app.ActivityManager.getProcessesInErrorState (ActivityManager.java:3582)
    at com.facebook.internal.instrument.anrreport.ANRDetector.checkProcessError (ANRDetector.kt:57)
    at com.facebook.internal.instrument.anrreport.ANRDetector$anrDetectorRunnable$1.run (ANRDetector.kt:48)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462)
    at java.util.concurrent.FutureTask.runAndReset (FutureTask.java:307)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:302)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "Thread-6" tid=31 Runnable
    at com.facebook.ads.redexgen.X.L7.A0B
    at com.facebook.ads.redexgen.X.LB.A00
    at com.facebook.ads.redexgen.X.9N.A0E
    at com.facebook.ads.redexgen.X.9N.A09
    at com.facebook.ads.redexgen.X.5H.onContentProviderCreated
    at com.facebook.ads.redexgen.X.5C.onContentProviderCreated
    at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.doCallInitialize (DynamicLoaderFactory.java:159)
    at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.access$200 (DynamicLoaderFactory.java:41)
    at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory$1.run (DynamicLoaderFactory.java:121)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "AsyncTask #2" tid=37 Runnable
    at android.app.AppOpsManager.resumeNotedAppOpsCollection (AppOpsManager.java:8174)
    at android.os.BinderProxy.transact (BinderProxy.java:607)
    at android.app.IActivityManager$Stub$Proxy.bindIsolatedService (IActivityManager.java:6898)
    at android.app.ContextImpl.bindServiceCommon (ContextImpl.java:1913)
    at android.app.ContextImpl.bindService (ContextImpl.java:1829)
    at android.content.ContextWrapper.bindService (ContextWrapper.java:774)
    at com.google.android.gms.common.stats.ConnectionTracker.zze (com.google.android.gms:play-services-basement@@18.0.0:1)
    at com.google.android.gms.common.stats.ConnectionTracker.zzc (com.google.android.gms:play-services-basement@@18.0.0:11)
    at com.google.android.gms.common.stats.ConnectionTracker.bindService (com.google.android.gms:play-services-basement@@18.0.0:2)
    at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzb (com.google.android.gms:play-services-ads-identifier@@17.1.0:12)
    at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo (com.google.android.gms:play-services-ads-identifier@@17.1.0:3)
    at java.lang.reflect.Method.invoke (Native method)
    at com.facebook.internal.Utility.invokeMethodQuietly (Utility.kt:904)
    at com.facebook.internal.AttributionIdentifiers$Companion.getAndroidIdViaReflection (AttributionIdentifiers.kt:108)
    at com.facebook.internal.AttributionIdentifiers$Companion.getAndroidId (AttributionIdentifiers.kt:86)
    at com.facebook.internal.AttributionIdentifiers$Companion.getAttributionIdentifiers (AttributionIdentifiers.kt:167)
    at com.facebook.internal.AttributionIdentifiers$Companion.isTrackingLimited (AttributionIdentifiers.kt:130)
    at com.facebook.internal.AttributionIdentifiers.isTrackingLimited (AttributionIdentifiers.kt)
    at com.facebook.appevents.aam.MetadataIndexer$1.run (MetadataIndexer.java:74)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "Signal Catcher" tid=6 Runnable
    #00  pc 0x000000000035f155  /apex/com.android.art/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
    #00  pc 0x00000000004295e3  /apex/com.android.art/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const)
    #00  pc 0x0000000000424fdf  /apex/com.android.art/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const)
    #00  pc 0x0000000000441db9  /apex/com.android.art/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*))
    #00  pc 0x000000000043d193  /apex/com.android.art/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
    #00  pc 0x000000000043c5dd  /apex/com.android.art/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool))
    #00  pc 0x000000000043bcc1  /apex/com.android.art/lib/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&))
    #00  pc 0x00000000003f54c3  /apex/com.android.art/lib/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&))
    #00  pc 0x0000000000405101  /apex/com.android.art/lib/libart.so (art::SignalCatcher::HandleSigQuit())
    #00  pc 0x000000000040448b  /apex/com.android.art/lib/libart.so (art::SignalCatcher::Run(void*))
    #00  pc 0x00000000000b0567  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000066b37  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
    Thread
    "main" tid=1 Native
    #00  pc 0x0000000000060cf4  /apex/com.android.runtime/lib/bionic/libc.so (syscall)
    #00  pc 0x00000000001286f3  /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x00000000004a12b7  /apex/com.android.art/lib/libart.so (art::GoToRunnable(art::Thread*))
    #00  pc 0x00000000004a113d  /apex/com.android.art/lib/libart.so (art::JniMethodEnd(unsigned int, art::Thread*))
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:335)
    at android.os.Looper.loop (Looper.java:206)
    at android.app.ActivityThread.main (ActivityThread.java:8570)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
    Thread
    "Jit thread pool worker thread 0" tid=7 Native
    #00  pc 0x0000000000060cf4  /apex/com.android.runtime/lib/bionic/libc.so (syscall)
    #00  pc 0x00000000001286f3  /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x0000000000443263  /apex/com.android.art/lib/libart.so (art::ThreadPool::GetTask(art::Thread*))
    #00  pc 0x0000000000442a05  /apex/com.android.art/lib/libart.so (art::ThreadPoolWorker::Run())
    #00  pc 0x0000000000442645  /apex/com.android.art/lib/libart.so (art::ThreadPoolWorker::Callback(void*))
    #00  pc 0x00000000000b0567  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000066b37  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
    Thread
    "Measurement Worker" tid=29 Runnable
    at java.util.regex.Matcher.usePattern (Matcher.java:209)
    at java.util.regex.Matcher.<init> (Matcher.java:166)
    at java.util.regex.Pattern.matcher (Pattern.java:1027)
    at nh.a (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):2)
    at nm.b (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):24)
    at ow.c (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0))
    at gy.a (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):3)
    at ie.b (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):7)
    at ie.a (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0))
    at iu.aq (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):3)
    at jf.l (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):2)
    at jc.run (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):12)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at iz.run (:com.google.android.gms.dynamite_measurementdynamite@222615077@22.26.15 (150300-0):5)
    Thread
    "HeapTaskDaemon" tid=8 Waiting
    #00  pc 0x00000000001b73a2  /apex/com.android.art/lib/libart.so (void art::gc::collector::ConcurrentCopying::MarkRoot<false>(art::Thread*, art::mirror::CompressedReference<art::mirror::Object>*))
    #00  pc 0x00000000001b6b83  /apex/com.android.art/lib/libart.so (void art::mirror::Object::VisitReferences<true, (art::VerifyObjectFlags)0, (art::ReadBarrierOption)1, art::gc::collector::ConcurrentCopying::RefFieldsVisitor<true>, art::gc::collector::ConcurrentCopying::RefFieldsVisitor<true> >(art::gc::collector::ConcurrentCopying::RefFieldsVisitor<true> const&, art::gc::collector::ConcurrentCopying::RefFieldsVisitor<true> const&))
    #00  pc 0x00000000001bb767  /apex/com.android.art/lib/libart.so (void art::gc::accounting::SpaceBitmap<8u>::VisitMarkedRange<art::gc::collector::ConcurrentCopying::ImmuneSpaceScanObjVisitor const&>(unsigned int, unsigned int, art::gc::collector::ConcurrentCopying::ImmuneSpaceScanObjVisitor const&) const)
    #00  pc 0x00000000001a5d81  /apex/com.android.art/lib/libart.so (art::gc::collector::ConcurrentCopying::CopyingPhase())
    #00  pc 0x00000000001a42fb  /apex/com.android.art/lib/libart.so (art::gc::collector::ConcurrentCopying::RunPhases())
    #00  pc 0x00000000001bc715  /apex/com.android.art/lib/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool))
    #00  pc 0x00000000001d258f  /apex/com.android.art/lib/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool))
    #00  pc 0x00000000001e0e9b  /apex/com.android.art/lib/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*, art::gc::GcCause, bool))
    #00  pc 0x00000000001e57b7  /apex/com.android.art/lib/libart.so (art::gc::Heap::ConcurrentGCTask::Run(art::Thread*))
    #00  pc 0x0000000000210de3  /apex/com.android.art/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
    at dalvik.system.VMRuntime.runHeapTasks (Native method)
    at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:531)
    at java.lang.Daemons$Daemon.run (Daemons.java:139)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "FinalizerDaemon" tid=9 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Object.wait (Object.java:442)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
    at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:273)
    at java.lang.Daemons$Daemon.run (Daemons.java:139)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "ReferenceQueueDaemon" tid=10 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Object.wait (Object.java:442)
    at java.lang.Object.wait (Object.java:568)
    at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:217)
    at java.lang.Daemons$Daemon.run (Daemons.java:139)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "FinalizerWatchdogDaemon" tid=11 Timed Waiting
    at java.lang.Thread.sleep (Native method)
    at java.lang.Thread.sleep (Thread.java:442)
    at java.lang.Thread.sleep (Thread.java:358)
    at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos (Daemons.java:390)
    at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:419)
    at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:325)
    at java.lang.Daemons$Daemon.run (Daemons.java:139)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "Binder:22682_1" tid=12 Native
    #00  pc 0x00000000000a0078  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl)
    #00  pc 0x000000000006c2f3  /apex/com.android.runtime/lib/bionic/libc.so (ioctl)
    #00  pc 0x000000000003a2c7  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00  pc 0x000000000003a4b1  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x000000000003ae0d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x0000000000054f27  /system/lib/libbinder.so (android::PoolThread::threadLoop())
    #00  pc 0x000000000000ebb1  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x000000000006f8a7  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x000000000000e6c1  /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*))
    #00  pc 0x00000000000b0567  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000066b37  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
    Thread
    "Binder:22682_2" tid=13 Native
    #00  pc 0x00000000000a0078  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl)
    #00  pc 0x000000000006c2f3  /apex/com.android.runtime/lib/bionic/libc.so (ioctl)
    #00  pc 0x000000000003a2c7  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00  pc 0x000000000003a4b1  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00  pc 0x000000000003ae0d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00  pc 0x0000000000054f27  /system/lib/libbinder.so (android::PoolThread::threadLoop())
    #00  pc 0x000000000000ebb1  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00  pc 0x000000000006f8a7  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00  pc 0x000000000000e6c1  /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*))
    #00  pc 0x00000000000b0567  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000066b37  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
    Thread
    "Profile Saver" tid=14 Native
    #00  pc 0x0000000000060cf4  /apex/com.android.runtime/lib/bionic/libc.so (syscall)
    #00  pc 0x00000000001286f3  /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00  pc 0x0000000000260c69  /apex/com.android.art/lib/libart.so (art::ProfileSaver::Run())
    #00  pc 0x00000000002642e3  /apex/com.android.art/lib/libart.so (art::ProfileSaver::RunProfileSaverThread(void*))
    #00  pc 0x00000000000b0567  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
    #00  pc 0x0000000000066b37  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
    Thread
    "GoogleApiHandler" tid=18 Native
    #00  pc 0x00000000000a1154  /apex/com.android.runtime/lib/bionic/libc.so (__epoll_pwait)
    #00  pc 0x0000000000070cf1  /apex/com.android.runtime/lib/bionic/libc.so (epoll_wait)
    #00  pc 0x0000000000011a4d  /system/lib/libutils.so (android::Looper::pollInner(int))
    #00  pc 0x000000000001197b  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00  pc 0x00000000000c0737  /system/lib/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long long, int))
    at android.os.MessageQueue.nativePollOnce (Native method)
    at android.os.MessageQueue.next (MessageQueue.java:335)
    at android.os.Looper.loop (Looper.java:206)
    at android.os.HandlerThread.run (HandlerThread.java:67)
    Thread
    "pool-5-thread-1" tid=19 Timed Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "ScionFrontendApi" tid=17 Timed Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "Crashlytics Exception Handler1" tid=20 Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "GmsDynamite" tid=21 Waiting
    at java.lang.Object.wait (Native method)
    at java.lang.Object.wait (Object.java:442)
    at java.lang.Object.wait (Object.java:568)
    at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.0.0:2)
    Thread
    "com.google.firebase.crashlytics.startup1" tid=22 Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
    at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
    at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "firebase-installations-executor-1" tid=23 Timed Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
    at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
    at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run (Thread.java:923)
    Thread
    "awaitEvenIfOnMainThread task continuation executor1" tid=24 Waiting
    at sun.misc.Unsafe.park (Native method)
    at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)

As for now, let's keep this issue open in case some of our engineers might have an idea how to resolve this. Feel free to add extra information or details that you might find helpful. Thanks!

So issue automatically closes after 5 days 😞

argzdev commented 2 years ago

I appreciate the stack traces, but these only look somewhat the same as the previous stack traces. Unfortunately, these don't really help us diagnose this any further.

So issue automatically closes after 5 days 😞

I'm setting the thread to needs-info, to follow up on you after you use the latest SDK version. I'm assuming it'll take you a few days to know whether using the latest version helps. About the issue closing, if there's new information or update, we can always reopen it.

google-oss-bot commented 2 years ago

Hey @rkfteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

singun-lxd commented 2 years ago

I'm getting the same issue... A loooooooooot of ANRs like this:

Native method - android.os.MessageQueue.nativePollOnce Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE cmp=package_name/com.google.firebase.iid.FirebaseInstanceIdReceiver }

package.to.Application.onCreate Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE cmp=package_name/com.google.firebase.iid.FirebaseInstanceIdReceiver }

argzdev commented 2 years ago

Hi @singun-lxd, what version are you currently using? Have you tried Cloud Messaging version 23.0.7? In this version, it states it should be possible to lower down the frequency of ANRs.

Message broadcasts now finish immediately after binding to the service. This change should reduce the chance of ANRs.

fdspbsteam commented 2 years ago

@rizafran /com.google.firebase.iid.FirebaseInstanceIdReceiver } still reproduced on Version Firebase Unity SDK 9.4.0.

Thread
"main" tid=1 Runnable
  at com.android.org.conscrypt.OpenSSLSignature$EngineType.<clinit> (OpenSSLSignature.java:32)
  at com.android.org.conscrypt.OpenSSLSignature$SHA256RSA.<init> (OpenSSLSignature.java:248)
  at java.lang.Class.newInstance (Class.java:1572)
  at java.security.Provider$Service.newInstanceNoParameter (Provider.java:1123)
  at java.security.Provider$Service.newInstance (Provider.java:1092)
  at org.apache.harmony.security.fortress.Engine.getInstance (Engine.java:151)
  at java.security.Signature.tryAlgorithmWithProvider (Signature.java:217)
  at java.security.Signature.tryAlgorithm (Signature.java:203)
  at java.security.Signature.getSignature (Signature.java:175)
  at java.security.Signature.getInstance (Signature.java:105)
  at org.apache.harmony.security.utils.JarUtils.verifySignature (JarUtils.java:151)
  at java.util.jar.JarVerifier.verifyCertificate (JarVerifier.java:294)
  at java.util.jar.JarVerifier.readCertificates (JarVerifier.java:268)
  at java.util.jar.JarFile.getInputStream (JarFile.java:380)
  at libcore.net.url.JarURLConnectionImpl.getInputStream (JarURLConnectionImpl.java:222)
  at java.net.URL.openStream (URL.java:470)
  at java.lang.ClassLoader.getResourceAsStream (ClassLoader.java:444)
  at java.lang.Class.getResourceAsStream (Class.java:1334)
  at com.google.android.gms.common.internal.LibraryVersion.getVersion (com.google.android.gms:play-services-basement@@18.1.0:6)
  at com.google.android.gms.internal.firebase-auth-api.zzwg.zza (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.android.gms.internal.firebase-auth-api.zzvt.<init> (com.google.firebase:firebase-auth@@21.0.7:4)
  at com.google.android.gms.internal.firebase-auth-api.zzvq.<init> (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.firebase.auth.FirebaseAuth.<init> (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.firebase.auth.internal.zzv.<init> (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.firebase.auth.FirebaseAuthRegistrar.lambda$getComponents$0 (com.google.firebase:firebase-auth@@21.0.7:3)
  at com.google.firebase.auth.zzv.create (com.google.firebase:firebase-auth@@21.0.7)
  at com.google.firebase.components.ComponentRuntime.lambda$discoverComponents$0$ComponentRuntime (ComponentRuntime.java:132)
  at com.google.firebase.components.-$$Lambda$ComponentRuntime$CLI-XObGztS2iu7RD22eoA3PpJU.get (lambda)
  at com.google.firebase.components.Lazy.get (Lazy.java:53)
  at com.google.firebase.components.ComponentRuntime.doInitializeEagerComponents (ComponentRuntime.java:291)
  at com.google.firebase.components.ComponentRuntime.initializeEagerComponents (ComponentRuntime.java:281)
  at com.google.firebase.FirebaseApp.initializeAllApis (FirebaseApp.java:594)
  at com.google.firebase.FirebaseApp.initializeApp (FirebaseApp.java:305)
  at com.google.firebase.FirebaseApp.initializeApp (FirebaseApp.java:269)
  at com.google.firebase.FirebaseApp.initializeApp (FirebaseApp.java:254)
  at com.google.firebase.provider.FirebaseInitProvider.safedk_FirebaseInitProvider_onCreate_00b44787a2c632d77484b8aaa413d1ca (FirebaseInitProvider.java:51)
  at com.google.firebase.provider.FirebaseInitProvider.onCreate (FirebaseInitProvider.java)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:1720)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:1689)
  at com.google.firebase.provider.FirebaseInitProvider.attachInfo (FirebaseInitProvider.java:45)
  at android.app.ActivityThread.installProvider (ActivityThread.java:5181)
  at android.app.ActivityThread.installContentProviders (ActivityThread.java:4776)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4716)
  at android.app.ActivityThread.access$1700 (ActivityThread.java:161)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1432)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:135)
  at android.app.ActivityThread.main (ActivityThread.java:5438)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:917)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:712)
Thread
"Heap thread pool worker thread 2" tid=2 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Heap thread pool worker thread 3" tid=3 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Heap thread pool worker thread 0" tid=4 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Heap thread pool worker thread 1" tid=5 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Heap thread pool worker thread 6" tid=6 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Heap thread pool worker thread 4" tid=7 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Heap thread pool worker thread 5" tid=8 Native
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x0000000000318a04  /system/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000319f2c  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Signal Catcher" tid=9 Runnable
  #00  pc 0x0000000000003734  /system/lib64/libbacktrace_libc++.so (Backtrace::Unwind(unsigned long, ucontext*))
  #00  pc 0x000000000000001c  ???
  #00  pc 0x00000000003d1768  /system/lib64/libart.so
Thread
"ReferenceQueueDaemon" tid=10 Waiting
  at java.lang.Daemons$ReferenceQueueDaemon.run (Daemons.java:133)
  at java.lang.Thread.run (Thread.java:818)
Thread
"FinalizerDaemon" tid=11 Waiting
  at java.lang.Object.wait (Object.java:422)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:101)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:72)
  at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:173)
  at java.lang.Thread.run (Thread.java:818)
Thread
"FinalizerWatchdogDaemon" tid=12 Timed Waiting
  at java.lang.Thread.sleep (Thread.java:1031)
  at java.lang.Thread.sleep (Thread.java:985)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor (Daemons.java:257)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:268)
  at java.lang.Daemons$FinalizerWatchdogDaemon.run (Daemons.java:216)
  at java.lang.Thread.run (Thread.java:818)
Thread
"HeapTrimmerDaemon" tid=13 Waiting
  at java.lang.Daemons$HeapTrimmerDaemon.run (Daemons.java:310)
  at java.lang.Thread.run (Thread.java:818)
Thread
"GCDaemon" tid=14 Waiting
  #00  pc 0x0000000000015490  /system/lib64/libc.so (syscall)
  #00  pc 0x00000000000d0c54  /system/lib64/libart.so (art::ConditionVariable::Wait(art::Thread*))
  #00  pc 0x00000000002355b8  /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list))
  #00  pc 0x000000000011f8cc  /system/lib64/libart.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...))
  #00  pc 0x00000000001a02ec  /system/lib64/libart.so (art::gc::Heap::RequestHeapTrim())
  #00  pc 0x00000000001b0800  /system/lib64/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool))
  #00  pc 0x00000000001b2150  /system/lib64/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*))
  #00  pc 0x0000000000000604  /data/dalvik-cache/arm64/system@<EMAIL_ADDRESS> (Java_dalvik_system_VMRuntime_concurrentGC__)
  at dalvik.system.VMRuntime.concurrentGC (Native method)
  at java.lang.Daemons$GCDaemon.run (Daemons.java:345)
  at java.lang.Thread.run (Thread.java:818)
Thread
"Binder_1" tid=15 Native
  #00  pc 0x000000000005d434  /system/lib64/libc.so (__ioctl)
  #00  pc 0x0000000000084028  /system/lib64/libc.so (ioctl)
  #00  pc 0x0000000000027578  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000027db0  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x0000000000027e68  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x000000000002f6a4  /system/lib64/libbinder.so
  #00  pc 0x000000000001499c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x0000000000096f2c  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x00000000000141e8  /system/lib64/libutils.so
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Binder_2" tid=16 Native
  #00  pc 0x000000000005d434  /system/lib64/libc.so (__ioctl)
  #00  pc 0x0000000000084028  /system/lib64/libc.so (ioctl)
  #00  pc 0x0000000000027578  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000027db0  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x0000000000027e68  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x000000000002f6a4  /system/lib64/libbinder.so
  #00  pc 0x000000000001499c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x0000000000096f2c  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x00000000000141e8  /system/lib64/libutils.so
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Binder_3" tid=17 Native
  #00  pc 0x000000000005d434  /system/lib64/libc.so (__ioctl)
  #00  pc 0x0000000000084028  /system/lib64/libc.so (ioctl)
  #00  pc 0x0000000000027578  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000027db0  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x0000000000027e68  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x000000000002f6a4  /system/lib64/libbinder.so
  #00  pc 0x000000000001499c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x0000000000096f2c  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x00000000000141e8  /system/lib64/libutils.so
  #00  pc 0x000000000001aa58  /system/lib64/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000016d70  /system/lib64/libc.so (__start_thread)
Thread
"Thread-31468" tid=19 Timed Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
  at com.google.android.gms.common.BlockingServiceConnection.getServiceWithTimeout (com.google.android.gms:play-services-basement@@18.1.0:3)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzb (com.google.android.gms:play-services-ads-identifier@@17.1.0:14)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo (com.google.android.gms:play-services-ads-identifier@@17.1.0:3)
  at com.safedk.android.internal.DeviceData.a (SourceFile:219)
  at com.safedk.android.internal.DeviceData.a (SourceFile:36)
  at com.safedk.android.internal.DeviceData$1.run (SourceFile:101)
  at java.lang.Thread.run (Thread.java:818)
Thread
"Thread-31478" tid=18 Timed Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
  at com.google.android.gms.common.BlockingServiceConnection.getServiceWithTimeout (com.google.android.gms:play-services-basement@@18.1.0:3)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzb (com.google.android.gms:play-services-ads-identifier@@17.1.0:14)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo (com.google.android.gms:play-services-ads-identifier@@17.1.0:3)
  at com.applovin.impl.sdk.utils.c.d (unavailable)
  at com.applovin.impl.sdk.utils.c.c (unavailable)
  at com.applovin.impl.sdk.utils.c.b (unavailable)
  at com.applovin.impl.sdk.utils.c.a (unavailable)
  at com.applovin.impl.sdk.o$1.run (unavailable)
  at java.lang.Thread.run (Thread.java:818)
Thread
"GoogleApiHandler" tid=21 Native
  #00  pc 0x000000000005c520  /system/lib64/libc.so (__epoll_pwait)
  #00  pc 0x0000000000017318  /system/lib64/libc.so (epoll_pwait)
  #00  pc 0x0000000000018b14  /system/lib64/libutils.so (android::Looper::pollInner(int))
  #00  pc 0x0000000000018ed0  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
  #00  pc 0x00000000000d7528  /system/lib64/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int))
  #00  pc 0x0000000000108e90  /data/dalvik-cache/arm64/system@<EMAIL_ADDRESS> (Java_android_os_MessageQueue_nativePollOnce__JI)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:143)
  at android.os.Looper.loop (Looper.java:122)
  at android.os.HandlerThread.run (HandlerThread.java:61)
Thread
"pool-4-thread-1" tid=22 Timed Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1060)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:776)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
  at java.lang.Thread.run (Thread.java:818)
Thread
"ScionFrontendApi" tid=20 Timed Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
  at java.lang.Thread.run (Thread.java:818)
Thread
"GmsDynamite" tid=23 Waiting
  at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
Thread
"Measurement Worker" tid=24 Blocked
  at com.google.firebase.FirebaseApp.getInstance (FirebaseApp.java:178)
  at com.google.firebase.installations.FirebaseInstallations.getInstance (FirebaseInstallations.java:196)
  at com.google.firebase.analytics.FirebaseAnalytics.getFirebaseInstanceId (com.google.android.gms:play-services-measurement-api@@21.1.0:1)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at com.google.android.gms.measurement.internal.zzel.zzj (com.google.android.gms:play-services-measurement-impl@@21.1.0:47)
  at com.google.android.gms.measurement.internal.zzjy.zzO (com.google.android.gms:play-services-measurement-impl@@21.1.0:9)
  at com.google.android.gms.measurement.internal.zzjy.zzq (com.google.android.gms:play-services-measurement-impl@@21.1.0:3)
  at com.google.android.gms.measurement.internal.zzij.zzz (com.google.android.gms:play-services-measurement-impl@@21.1.0:13)
  at com.google.android.gms.measurement.internal.zzge.zzH (com.google.android.gms:play-services-measurement-impl@@21.1.0:71)
  at com.google.android.gms.measurement.internal.zzgd.run (com.google.android.gms:play-services-measurement-impl@@21.1.0:2)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:422)
  at java.util.concurrent.FutureTask.run (FutureTask.java:237)
  at com.google.android.gms.measurement.internal.zzga.run (com.google.android.gms:play-services-measurement-impl@@21.1.0:6)
Thread
"Crashlytics Exception Handler1" tid=25 Runnable
  at com.google.firebase.crashlytics.internal.metadata.QueueFileLogStore.<clinit> (QueueFileLogStore.java:28)
  at com.google.firebase.crashlytics.internal.metadata.LogFileManager.setLogFile (LogFileManager.java:83)
  at com.google.firebase.crashlytics.internal.metadata.LogFileManager.setCurrentSession (LogFileManager.java:59)
  at com.google.firebase.crashlytics.internal.common.CrashlyticsController.doOpenSession (CrashlyticsController.java:556)
  at com.google.firebase.crashlytics.internal.common.CrashlyticsController.access$600 (CrashlyticsController.java:55)
  at com.google.firebase.crashlytics.internal.common.CrashlyticsController$7.call (CrashlyticsController.java:486)
  at com.google.firebase.crashlytics.internal.common.CrashlyticsController$7.call (CrashlyticsController.java:483)
  at com.google.firebase.crashlytics.internal.common.CrashlyticsBackgroundWorker$3.then (CrashlyticsBackgroundWorker.java:105)
  at com.google.android.gms.tasks.zzc.run (com.google.android.gms:play-services-tasks@@18.0.2:3)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:818)
Thread
"com.google.firebase.crashlytics.startup1" tid=26 Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:818)
Thread
"firebase-installations-executor-1" tid=27 Timed Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
  at java.lang.Thread.run (Thread.java:818)
Thread
"firebase-installations-executor-2" tid=28 Timed Waiting
  at java.lang.Thread.parkFor (Thread.java:1220)
  at sun.misc.Unsafe.park (Unsafe.java:299)
rkfteam commented 2 years ago

@argzdev, we upgraded FCM to 23.0.7 and the problem is still there:

Thread
"Signal Catcher" tid=5 Runnable
  #00  pc 0x0000000000458f1c  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
  #00  pc 0x00000000006f98a8  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const)
  #00  pc 0x0000000000701380  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*))
  #00  pc 0x0000000000311180  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
  #00  pc 0x00000000006e088c  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool))
  #00  pc 0x00000000006dedc0  /apex/com.android.art/lib64/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&))
  #00  pc 0x00000000006de65c  /apex/com.android.art/lib64/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&))
  #00  pc 0x00000000004178bc  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::HandleSigQuit())
  #00  pc 0x0000000000416c38  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run(void*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"main" tid=1 Native
  #00  pc 0x00000000000d82d8  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait)
  #00  pc 0x000000000001663c  /system/lib64/libutils.so (android::Looper::pollInner(int))
  #00  pc 0x0000000000016520  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
  #00  pc 0x0000000000152458  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int))
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:335)
  at android.os.Looper.loopOnce (Looper.java:186)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8663)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
Thread
"perfetto_hprof_listener" tid=7 Native
  #00  pc 0x00000000000d7074  /apex/com.android.runtime/lib64/bionic/libc.so (read)
  #00  pc 0x0000000000021110  /apex/com.android.art/lib64/libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ArtPlugin_Initialize::$_33> >(void*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"Jit thread pool worker thread 0" tid=8 Native
  #00  pc 0x0000000000085c9c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall)
  #00  pc 0x0000000000389f2c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x0000000000701e84  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*))
  #00  pc 0x0000000000701c90  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x0000000000701b60  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"HeapTaskDaemon" tid=9 Waiting
  #00  pc 0x0000000000085c9c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall)
  #00  pc 0x0000000000389f2c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x00000000003cde00  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*))
  #00  pc 0x00000000003cdb7c  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
  at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:531)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:920)
Thread
"ReferenceQueueDaemon" tid=10 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:217)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:920)
Thread
"FinalizerDaemon" tid=11 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:273)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:920)
Thread
"FinalizerWatchdogDaemon" tid=12 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:341)
  at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:321)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:920)
Thread
"Binder:20603_1" tid=13 Native
  #00  pc 0x00000000000d7314  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl)
  #00  pc 0x0000000000092edc  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl)
  #00  pc 0x0000000000045840  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000045b18  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x0000000000046410  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x000000000006c5a8  /system/lib64/libbinder.so (android::PoolThread::threadLoop())
  #00  pc 0x00000000000120a8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000beecc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x0000000000011960  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"Binder:20603_2" tid=14 Native
  #00  pc 0x00000000000d7314  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl)
  #00  pc 0x0000000000092edc  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl)
  #00  pc 0x0000000000045840  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000045b18  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x0000000000046410  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x000000000006c5a8  /system/lib64/libbinder.so (android::PoolThread::threadLoop())
  #00  pc 0x00000000000120a8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000beecc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x0000000000011960  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"Binder:20603_3" tid=15 Native
  #00  pc 0x00000000000d7314  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl)
  #00  pc 0x0000000000092edc  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl)
  #00  pc 0x0000000000045840  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x0000000000045b18  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x0000000000046410  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x000000000006c5a8  /system/lib64/libbinder.so (android::PoolThread::threadLoop())
  #00  pc 0x00000000000120a8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000beecc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x0000000000011960  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"Profile Saver" tid=16 Native
  #00  pc 0x0000000000085c9c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall)
  #00  pc 0x0000000000389f2c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x00000000003e1454  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::Run())
  #00  pc 0x00000000003da4a0  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*))
  #00  pc 0x00000000000eb650  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x000000000008aef4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread)
Thread
"GoogleApiHandler" tid=21 Native
  #00  pc 0x00000000000d82d8  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait)
  #00  pc 0x000000000001663c  /system/lib64/libutils.so (android::Looper::pollInner(int))
  #00  pc 0x0000000000016520  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
  #00  pc 0x0000000000152458  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int))
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:335)
  at android.os.Looper.loopOnce (Looper.java:186)
  at android.os.Looper.loop (Looper.java:313)
  at android.os.HandlerThread.run (HandlerThread.java:67)
Thread
"pool-5-thread-1" tid=22 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"ScionFrontendApi" tid=20 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"pool-13-thread-1" tid=23 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"Firebase-Messaging-Init" tid=24 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
  at java.lang.Thread.run (Thread.java:920)
Thread
"Firebase-Messaging-Topics-Io" tid=25 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
  at java.lang.Thread.run (Thread.java:920)
Thread
"FirebaseInstanceId" tid=26 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
  at java.lang.Thread.run (Thread.java:920)
Thread
"firebase-iid-executor" tid=27 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
  at java.lang.Thread.run (Thread.java:920)
Thread
"firebase-installations-executor-1" tid=28 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"Crashlytics Exception Handler1" tid=29 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:920)
Thread
"firebase-installations-executor-2" tid=30 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"com.google.firebase.crashlytics.startup1" tid=31 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:920)
Thread
"awaitEvenIfOnMainThread task continuation executor1" tid=32 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:64)
  at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27)
  at java.lang.Thread.run (Thread.java:920)
Thread
"GmsDynamite" tid=33 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
Thread
"Measurement Worker" tid=34 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at com.google.android.gms.measurement.internal.zzga.run (com.google.android.gms:play-services-measurement-impl@@21.1.0:10)
Thread
"heartbeat-information-executor" tid=35 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"pool-26-thread-1" tid=36 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:920)
Thread
"pool-27-thread-1" tid=37 Waiting
argzdev commented 2 years ago

Hey @rkfteam, thanks for getting back to me. Do you have any code snippet where you're using Firebase Messaging? Maybe we can try and investigate that route, perhaps that'll give us an idea where the issue is coming from.

fdspbsteam commented 2 years ago

@argzdev I`ve got the new trace:

com.google.firebase:firebase-auth@@21.0.7 - com.google.firebase.auth.FirebaseAuth.<init>
Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE cmp=com.color.n/com.google.firebase.iid.FirebaseInstanceIdReceiver }
1
Thread
"ScionFrontendApi" tid=4 Runnable
  at com.google.android.gms.internal.measurement.zzcx.zza (com.google.android.gms:play-services-measurement-sdk-api@@21.1.0:9)
  at com.google.android.gms.internal.measurement.zzdt.run (com.google.android.gms:play-services-measurement-sdk-api@@21.1.0:2)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:919)
Thread
"Signal Catcher" tid=7 Runnable
  #00  pc 0x00000000002ff4ff  /apex/com.android.runtime/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
  #00  pc 0x00000000003ac98d  /apex/com.android.runtime/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
  #00  pc 0x00000000003a9153  /apex/com.android.runtime/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
  #00  pc 0x00000000003c18c5  /apex/com.android.runtime/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*))
  #00  pc 0x00000000003bc4bd  /apex/com.android.runtime/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
  #00  pc 0x00000000003bbbb1  /apex/com.android.runtime/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool))
  #00  pc 0x00000000003bb54b  /apex/com.android.runtime/lib/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
  #00  pc 0x000000000038558b  /apex/com.android.runtime/lib/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
  #00  pc 0x0000000000394453  /apex/com.android.runtime/lib/libart.so (art::SignalCatcher::HandleSigQuit())
  #00  pc 0x00000000003938a5  /apex/com.android.runtime/lib/libart.so (art::SignalCatcher::Run(void*))
  #00  pc 0x00000000000a8147  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000061467  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
Thread
"Jit thread pool worker thread 0" tid=2 Native
  #00  pc 0x000000000005b00c  /apex/com.android.runtime/lib/bionic/libc.so (syscall)
  #00  pc 0x00000000000e4539  /apex/com.android.runtime/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x00000000003c2bb9  /apex/com.android.runtime/lib/libart.so (art::ThreadPool::GetTask(art::Thread*))
  #00  pc 0x00000000003c233d  /apex/com.android.runtime/lib/libart.so (art::ThreadPoolWorker::Run())
  #00  pc 0x00000000003c1fa3  /apex/com.android.runtime/lib/libart.so (art::ThreadPoolWorker::Callback(void*))
  #00  pc 0x00000000000a8147  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000061467  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
Thread
"FinalizerDaemon" tid=8 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:271)
  at java.lang.Daemons$Daemon.run (Daemons.java:137)
  at java.lang.Thread.run (Thread.java:919)
Thread
"pool-10-thread-1" tid=5 Runnable
  #00  pc 0x00000000002ff4ff  /apex/com.android.runtime/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
  #00  pc 0x00000000003ac98d  /apex/com.android.runtime/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
  #00  pc 0x00000000003a9153  /apex/com.android.runtime/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
  #00  pc 0x00000000003c18c5  /apex/com.android.runtime/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*))
  #00  pc 0x00000000003ad39d  /apex/com.android.runtime/lib/libart.so (art::Thread::RunCheckpointFunction())
  #00  pc 0x000000000041d007  /apex/com.android.runtime/lib/libart.so (art::JniMethodStart(art::Thread*))
  at android.database.CursorWindow.nativeDispose (Native method)
  at android.database.CursorWindow.dispose (CursorWindow.java:199)
  at android.database.CursorWindow.onAllReferencesReleased (CursorWindow.java:754)
  at android.database.sqlite.SQLiteClosable.releaseReference (SQLiteClosable.java:76)
  at android.database.sqlite.SQLiteClosable.close (SQLiteClosable.java:108)
  at android.database.AbstractWindowedCursor.closeWindow (AbstractWindowedCursor.java:187)
  at android.database.AbstractWindowedCursor.onDeactivateOrClose (AbstractWindowedCursor.java:213)
  at android.database.AbstractCursor.close (AbstractCursor.java:182)
  at android.database.sqlite.SQLiteCursor.close (SQLiteCursor.java:227)
  at com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore.tryWithCursor (SQLiteEventStore.java:814)
  at com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore.lambda$loadActiveContexts$10 (SQLiteEventStore.java:350)
  at com.google.android.datatransport.runtime.scheduling.persistence.-$$Lambda$SQLiteEventStore$_zNmnq_oSh5TqXd-sai-M-G51KU.apply (lambda)
  at com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore.inTransaction (SQLiteEventStore.java:767)
  at com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore.loadActiveContexts (SQLiteEventStore.java:348)
  at com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer.lambda$ensureContextsScheduled$0$WorkInitializer (WorkInitializer.java:56)
  at com.google.android.datatransport.runtime.scheduling.jobscheduling.-$$Lambda$WorkInitializer$NRHUY4kiIAYkslmRyjlKfd6AS8I.execute (lambda)
  at com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore.runCriticalSection (SQLiteEventStore.java:754)
  at com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer.lambda$ensureContextsScheduled$1$WorkInitializer (WorkInitializer.java:54)
  at com.google.android.datatransport.runtime.scheduling.jobscheduling.-$$Lambda$WorkInitializer$4euq1WvqLQFGz_1FrH7d8V-ONnE.run (lambda)
  at com.google.android.datatransport.runtime.SafeLoggingExecutor$SafeLoggingRunnable.run (SafeLoggingExecutor.java:47)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:919)
Thread
"ReferenceQueueDaemon" tid=9 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:215)
  at java.lang.Daemons$Daemon.run (Daemons.java:137)
  at java.lang.Thread.run (Thread.java:919)
Thread
"HeapTaskDaemon" tid=10 Waiting
  #00  pc 0x000000000005b010  /apex/com.android.runtime/lib/bionic/libc.so (syscall)
  #00  pc 0x00000000000e484b  /apex/com.android.runtime/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int))
  #00  pc 0x00000000000e1fb9  /apex/com.android.runtime/lib/libart.so (art::Barrier::Increment(art::Thread*, int, unsigned int))
  #00  pc 0x00000000003bc863  /apex/com.android.runtime/lib/libart.so (art::ThreadList::RunEmptyCheckpoint())
  #00  pc 0x0000000000177d15  /apex/com.android.runtime/lib/libart.so (art::gc::collector::ConcurrentCopying::IssueEmptyCheckpoint())
  #00  pc 0x0000000000173fe7  /apex/com.android.runtime/lib/libart.so (art::gc::collector::ConcurrentCopying::CopyingPhase())
  #00  pc 0x000000000017271f  /apex/com.android.runtime/lib/libart.so (art::gc::collector::ConcurrentCopying::RunPhases())
  #00  pc 0x0000000000188b27  /apex/com.android.runtime/lib/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool))
  #00  pc 0x000000000019fca5  /apex/com.android.runtime/lib/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool))
  #00  pc 0x00000000001add43  /apex/com.android.runtime/lib/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*, art::gc::GcCause, bool))
  #00  pc 0x00000000001b1fab  /apex/com.android.runtime/lib/libart.so (art::gc::Heap::ConcurrentGCTask::Run(art::Thread*))
  #00  pc 0x00000000001d2d2b  /apex/com.android.runtime/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
  at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:523)
  at java.lang.Daemons$Daemon.run (Daemons.java:137)
  at java.lang.Thread.run (Thread.java:919)
Thread
"FinalizerWatchdogDaemon" tid=11 Timed Waiting
  at java.lang.Thread.sleep (Native method)
  at java.lang.Thread.sleep (Thread.java:440)
  at java.lang.Thread.sleep (Thread.java:356)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForMillis (Daemons.java:383)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:411)
  at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:323)
  at java.lang.Daemons$Daemon.run (Daemons.java:137)
  at java.lang.Thread.run (Thread.java:919)
Thread
"Binder:11081_1" tid=12 Native
  #00  pc 0x0000000000097e60  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl)
  #00  pc 0x0000000000065abd  /apex/com.android.runtime/lib/bionic/libc.so (ioctl)
  #00  pc 0x000000000003add5  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x000000000003af19  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x000000000003b50f  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x00000000000548ad  /system/lib/libbinder.so (android::PoolThread::threadLoop())
  #00  pc 0x000000000000d8bb  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000a4bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x00000000000a8147  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000061467  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
Thread
"Binder:11081_2" tid=13 Native
  #00  pc 0x0000000000097e60  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl)
  #00  pc 0x0000000000065abd  /apex/com.android.runtime/lib/bionic/libc.so (ioctl)
  #00  pc 0x000000000003add5  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x000000000003af19  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x000000000003b50f  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x00000000000548ad  /system/lib/libbinder.so (android::PoolThread::threadLoop())
  #00  pc 0x000000000000d8bb  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000a4bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x00000000000a8147  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000061467  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
Thread
"Binder:11081_3" tid=14 Native
  #00  pc 0x0000000000097e60  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl)
  #00  pc 0x0000000000065abd  /apex/com.android.runtime/lib/bionic/libc.so (ioctl)
  #00  pc 0x000000000003add5  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
  #00  pc 0x000000000003af19  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
  #00  pc 0x000000000003b50f  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
  #00  pc 0x00000000000548ad  /system/lib/libbinder.so (android::PoolThread::threadLoop())
  #00  pc 0x000000000000d8bb  /system/lib/libutils.so (android::Thread::_threadLoop(void*))
  #00  pc 0x00000000000a4bc9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
  #00  pc 0x00000000000a8147  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000061467  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
Thread
"Profile Saver" tid=15 Native
  #00  pc 0x000000000005b00c  /apex/com.android.runtime/lib/bionic/libc.so (syscall)
  #00  pc 0x00000000000e4539  /apex/com.android.runtime/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
  #00  pc 0x0000000000263aed  /apex/com.android.runtime/lib/libart.so (art::ProfileSaver::Run())
  #00  pc 0x000000000026690f  /apex/com.android.runtime/lib/libart.so (art::ProfileSaver::RunProfileSaverThread(void*))
  #00  pc 0x00000000000a8147  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*))
  #00  pc 0x0000000000061467  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread)
Thread
"Thread-6" tid=17 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at com.google.android.gms.common.BlockingServiceConnection.getServiceWithTimeout (com.google.android.gms:play-services-basement@@18.1.0:3)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzb (com.google.android.gms:play-services-ads-identifier@@17.1.0:14)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo (com.google.android.gms:play-services-ads-identifier@@17.1.0:3)
  at com.safedk.android.internal.DeviceData.a (SourceFile:219)
  at com.safedk.android.internal.DeviceData.a (SourceFile:36)
  at com.safedk.android.internal.DeviceData$1.run (SourceFile:101)
  at java.lang.Thread.run (Thread.java:919)
Thread
"Thread-7" tid=16 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at com.google.android.gms.common.BlockingServiceConnection.getServiceWithTimeout (com.google.android.gms:play-services-basement@@18.1.0:3)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzb (com.google.android.gms:play-services-ads-identifier@@17.1.0:14)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo (com.google.android.gms:play-services-ads-identifier@@17.1.0:3)
  at com.applovin.impl.sdk.utils.c.d (unavailable)
  at com.applovin.impl.sdk.utils.c.c (unavailable)
  at com.applovin.impl.sdk.utils.c.b (unavailable)
  at com.applovin.impl.sdk.utils.c.a (unavailable)
  at com.applovin.impl.sdk.o$1.run (unavailable)
  at java.lang.Thread.run (Thread.java:919)
Thread
"GoogleApiHandler" tid=19 Native
  #00  pc 0x0000000000097d24  /apex/com.android.runtime/lib/bionic/libc.so (__epoll_pwait)
  #00  pc 0x0000000000069b6d  /apex/com.android.runtime/lib/bionic/libc.so (epoll_wait)
  #00  pc 0x00000000000106c7  /system/lib/libutils.so (android::Looper::pollInner(int))
  #00  pc 0x00000000000105d3  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
  #00  pc 0x00000000000f65d1  /system/lib/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long long, int))
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:336)
  at android.os.Looper.loop (Looper.java:197)
  at android.os.HandlerThread.run (HandlerThread.java:67)
Thread
"pool-4-thread-1" tid=3 Timed Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:919)
Thread
"Firebase-Messaging-Init" tid=6 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
  at java.lang.Thread.run (Thread.java:919)
Thread
"Firebase-Messaging-Topics-Io" tid=18 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1120)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
  at java.lang.Thread.run (Thread.java:919)
Thread
"GmsDynamite" tid=20 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
Thread
"main" tid=1 Runnable
  at sun.security.util.DerInputStream.<US_MALE_NAME> (DerInputStream.java:670)
  at sun.security.pkcs.PKCS7.parse (PKCS7.java:164)
  at sun.security.pkcs.PKCS7.<init> (PKCS7.java:148)
  at sun.security.util.SignatureFileVerifier.<init> (SignatureFileVerifier.java:118)
  at java.util.jar.JarVerifier.processEntry (JarVerifier.java:298)
  at java.util.jar.JarVerifier.update (JarVerifier.java:229)
  at java.util.jar.JarFile.initializeVerifier (JarFile.java:393)
  at java.util.jar.JarFile.getInputStream (JarFile.java:460)
  at libcore.io.ClassPathURLStreamHandler$ClassPathURLConnection.getInputStream (ClassPathURLStreamHandler.java:162)
  at java.net.URL.openStream (URL.java:1072)
  at java.lang.ClassLoader.getResourceAsStream (ClassLoader.java:989)
  at java.lang.Class.getResourceAsStream (Class.java:2215)
  at com.google.android.gms.common.internal.LibraryVersion.getVersion (com.google.android.gms:play-services-basement@@18.1.0:6)
  at com.google.android.gms.internal.firebase-auth-api.zzwg.zza (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.android.gms.internal.firebase-auth-api.zzvt.<init> (com.google.firebase:firebase-auth@@21.0.7:4)
  at com.google.android.gms.internal.firebase-auth-api.zzvq.<init> (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.firebase.auth.FirebaseAuth.<init> (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.firebase.auth.internal.zzv.<init> (com.google.firebase:firebase-auth@@21.0.7:1)
  at com.google.firebase.auth.FirebaseAuthRegistrar.lambda$getComponents$0 (com.google.firebase:firebase-auth@@21.0.7:3)
  at com.google.firebase.auth.zzv.create (com.google.firebase:firebase-auth@@21.0.7)
  at com.google.firebase.components.ComponentRuntime.lambda$discoverComponents$0$ComponentRuntime (ComponentRuntime.java:132)
  at com.google.firebase.components.-$$Lambda$ComponentRuntime$CLI-XObGztS2iu7RD22eoA3PpJU.get (lambda)
  at com.google.firebase.components.Lazy.get (Lazy.java:53)
  at com.google.firebase.components.ComponentRuntime.doInitializeEagerComponents (ComponentRuntime.java:291)
  at com.google.firebase.components.ComponentRuntime.initializeEagerComponents (ComponentRuntime.java:281)
  at com.google.firebase.FirebaseApp.initializeAllApis (FirebaseApp.java:594)
  at com.google.firebase.FirebaseApp.initializeApp (FirebaseApp.java:305)
  at com.google.firebase.FirebaseApp.initializeApp (FirebaseApp.java:269)
  at com.google.firebase.FirebaseApp.initializeApp (FirebaseApp.java:254)
  at com.google.firebase.provider.FirebaseInitProvider.safedk_FirebaseInitProvider_onCreate_00b44787a2c632d77484b8aaa413d1ca (FirebaseInitProvider.java:51)
  at com.google.firebase.provider.FirebaseInitProvider.onCreate (FirebaseInitProvider.java)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:2113)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:2087)
  at com.google.firebase.provider.FirebaseInitProvider.attachInfo (FirebaseInitProvider.java:45)
  at android.app.ActivityThread.installProvider (ActivityThread.java:7545)
  at android.app.ActivityThread.installContentProviders (ActivityThread.java:7090)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6978)
  at android.app.ActivityThread.access$1300 (ActivityThread.java:270)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2051)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:7948)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1075)
argzdev commented 2 years ago

Thanks for the stack trace, @rkfteam. But any code snippet where you're using Firebase Messaging?

fdspbsteam commented 2 years ago

@argzdev regarding our code

        FirebaseMessaging.TokenRegistrationOnInitEnabled = true; 
        Crashlytics.IsCrashlyticsCollectionEnabled = true; 
        FirebaseAnalytics.SetAnalyticsCollectionEnabled(true); }
        FirebaseMessaging.SubscribeAsync and FirebaseTokenReceived
        FirebaseAnalytics.SetUserId(id);
        FirebaseAnalytics.LogEvent(eventName);
        we use `EventHandler<TokenReceivedEventArgs> TokenReceived` 
        **and** `    
        public static event EventHandler<MessageReceivedEventArgs> MessageReceived`

        **implementation** :
            `FirebaseMessaging.MessageReceived += OnNotificationMessageReceived;`
            ` FirebaseMessaging.TokenReceived += OnFirebaseTokenReceived;`
private void OnNotificationMessageReceived(object sender, MessageReceivedEventArgs args)
{

    if (args != null && args.Message != null)
    {
        string pushId = string.IsNullOrEmpty(args.Message.MessageId) ? "null" : args.Message.MessageId;

        var data = args.Message.Data;
        if (data != null)
        {
            foreach (var kv in data)
            {
                if (kv.Key == APP_MESSAGE_KEY)
                {
                    string queue = kv.Value;
                    var msg = UrlSchemeParser.TryParse(queue, AppMessageSource.PushNotification);
                    if (msg != null)
                    {
                        NotificationAppMessageReceived?.Invoke(msg, pushId);
                        return;
                    }
                }
            }
        }
    }
    else
    {
        Debug.LogError("empty");
    }
}
 private void OnFirebaseTokenReceived(object sender, TokenReceivedEventArgs e)
    {
        string token = (e != null && !string.IsNullOrEmpty(e.Token)) ? e.Token : null;
     if (token != null)
            TokenReceived?.Invoke(token);
    }`
google-oss-bot commented 2 years ago

Hey @rkfteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

fdspbsteam commented 2 years ago

@argzdev Did you have a chance to look at here https://github.com/firebase/firebase-android-sdk/issues/3990#issuecomment-1231590223 and here https://github.com/firebase/firebase-android-sdk/issues/3990#issuecomment-1231638414

google-oss-bot commented 2 years ago

Hey @rkfteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

rkfteam commented 2 years ago

@argzdev Did you have a chance at look at here https://github.com/firebase/firebase-android-sdk/issues/3990#issuecomment-1231638414 and here https://github.com/firebase/firebase-android-sdk/issues/3990#issuecomment-1231590223 ??

argzdev commented 2 years ago

Hi @rkfteam, sorry for the delayed response. Yes, I've taken a look and have consulted with an engineer. It's quite odd, because your code doesn't contain anything out of the ordinary and yet it produces ANRs. Since this is a Unity issue, I'll see if I can ask some of our engineers if the inclusion of com.google.firebase:firebase-iid:21.1.0 in the package is causing the issue.

rkfteam commented 2 years ago

Hi @argzdev, Thank you for your reply. Yes, I will look forward to any information that will help us with our ANR problem. There really are a lot of them :(

a-maurice commented 2 years ago

Hi @rkfteam

I work on the Firebase for Unity SDKs. A question for you, are you using the Firebase Functions product as well? The dependency on iid was added because of an incompatibility between the two, as noted in this bug: https://github.com/firebase/quickstart-unity/issues/1274. It technically isn't needed if you aren't trying to use the two of them together.

If you are not, you can remove the dependency, by editing Firebase/Editor/MessagingDependencies.xml file, removing the dependency on iid, and resolving the Android dependencies again with the External Dependency Manager.

I'm not sure why that dependency on iid would cause the problem you are seeing, but it would be good to know if removing that does solve this issue, as it would certainly narrow it down.

fdspbsteam commented 2 years ago

@a-maurice I have completely deleted firebase-iid but in result we gt an error: Failed resolution of: Lcom/google/firebase/iid/internal/FirebaseInstanceIdInternal

google-oss-bot commented 2 years ago

Hey @rkfteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

rkfteam commented 2 years ago

@a-maurice We have this problem: https://github.com/firebase/firebase-android-sdk/issues/3990#issuecomment-1251005828

rkfteam commented 2 years ago

@a-maurice Do you have any comments on our problem?

a-maurice commented 2 years ago

@rkfteam Sorry for the late response. We have been diving into it, but it doesn't seem like the issue is being caused by the Unity aspects, so there isn't much support I can personally offer. I'll see if there are any updates on the Android side.

gsakakihara commented 2 years ago

Just to check, have you updated to the latest version of the firebase-messaging library (23.0.8) and are still seeing ANRs? There was a change recently that may fix some ANRs. Also, can you tell if the messages that you're seeing ANRs on were sent with high priority or normal priority (that fix should only affect high priority messages)?

Also, if you want to remove the firebase-iid dependency, I think you may need to add a dependency on com.google.firebase:firebase-iid-interop:17.1.0 to fix the FirebaseInstanceIdInternal issue. That should have been included through the firebase-messaging dependency, but I'm not sure if it's somehow not getting included maybe because of going through Unity or because you're explicitly removing firebase-iid.

rkfteam commented 2 years ago

@gsakakihara We are using Firebase Unity SDK 9.4.0. i.e. using FCM v.23.0.7.

Just to check, have you updated to the latest version of the firebase-messaging library (23.0.8) and are still seeing ANRs?

I looked at the release notes for version 23.0.8 and didn't see any fixes that would help solve the issue

Also, can you tell if the messages that you're seeing ANRs on were sent with high priority or normal priority (that fix should only affect high priority messages)?

This is a high priority issue. This is the top 1 ANR in our product. 331,000 events in 28 days.

Screenshot 2022-10-04 в 11 23 45
gsakakihara commented 2 years ago

If you're using 23.0.7, then that should include the ANR change. I noticed that you were originally using a version without that fix. Are all of the crash reports coming from versions of the app that are using 23.0.7?

https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority

I was referring to the AndroidMessagePriority. The ANR change only affects messages sent with high priority.

Are these messages notifications with images? The earliest stack trace looks like it may be in the middle of downloading an image to display in a notification. Was that one from before you updated to 23.0.7?

All of the later ones, though, don't look like the FCM SDK is directly involved. They all seem to be in the middle of various operations, which often points to general slowness causing it to go over the broadcast ANR timer. One has a blocked HeapTaskDaemon, for example, which probably means it is in the middle of garbage collection. Another seems to be during the initialization of some components, so it's possible that the app is just trying to do too much on the main thread during startup.

ld2006203 commented 2 years ago

https://medium.com/bumble-tech/how-we-achieved-a-6x-reduction-of-anrs-part-2-fixing-anrs-24fedf9a973f This link can help you.

google-oss-bot commented 2 years ago

Hey @rkfteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

rkfteam commented 2 years ago

@argzdev @a-maurice @gsakakihara we removed the com.google.firebase:firebase-id:21.1.0 dependency, but this ANR is still observed :(

argzdev commented 2 years ago

Hi @rkfteam, that's odd. Shouldn't the new version of your app not receive any ANRs related to FirebaseInstanceIdReceiver since you removed the com.google.firebase:firebase-id dependency?

Perhaps the ANRs are from the previous versions of your app? Also I think the link provided by ld2006203 might help. At the very least, it should lower the ANRs you receive but not remove your ANRs entirely.

rkfteam commented 2 years ago

@argzdev

Probably because instead of com.google.firebase:firebase-id the dependency is com.google.firebase:firebase-id-interop

Regarding the link provided by ld2006203:

  1. We don't initialize the SDK in onCreate Application. Only in activity.
  2. We tried moving MobileAds.initialize() to activity a little later, after initializing other SDKs Result: no result. We see this ANR :(

In the link provided by ld2006203 suggests to start the receiver in another process. How good and safe is this solution?

DarkYuanJs commented 2 years ago

现在最新的firebase unity版本上依然有这个库com.google.firebase:firebase-iid:21.1.0,这个我们可以删掉吗@gsakakihara

DarkYuanJs commented 2 years ago

@rkfteam 你们删掉com.google.firebase:firebase-iid:21.1.0 后还有ANR吗?

argzdev commented 2 years ago

@rkfteam, sorry I'm out of ideas at this point. We'll reply back on this post once we have updates. As for the said link, it looks like an experimental way to reduce ANR, so I'm not sure if this will help with your issue or not. That said, please do take precaution with this setup.

@DarkYuanJs, yes, you may remove com.google.firebase:firebase-iid:21.1.0 in Firebase Unity, however it seems like this did not help with the ANR issue of @rkfteam.

OlehHaidaienko commented 2 years ago

Our users also facing this weird ANR. We have a native app and Firebase BoM 29.2.0.

ANR

I was able to reproduce this issue using simulation:

  1. Put a breakpoint on the return statement of FirebaseInstanceIdReceiver.onMessageReceive method.
  2. Attach the debugger
  3. Trigger any push notification.
  4. When the breakpoint is invoked just do nothing and try to interact with the app.
  5. After a few seconds you should get an ANR dialog and message in LogCat that ANR occurred.

image So as onMessageReceive executes in a worker thread the UI thread of the app is not blocked and you can interact with the app without any changes. But FirebaseInstanceIdReceiver is still regular BroadcastReceiver so regarding documentation ANR can happen

If a BroadcastReceiver hasn't finished executing within a set amount of time. If the app has any activity in the foreground, this timeout is 5 seconds.

Maybe onMessageReceive executes too long in some cases that's why we get this ANR but it's just my assumption. I hope this information could help somehow

1008k commented 2 years ago

Hello everyone. For the past few months I have been suffering from this ANR as well. Based on the article linked by @ld2006203, isolating the FCM process and moving the processing in ApplicationClass to ActivityClass improved in my case.

It has been said that the crash rate and ANR rate have a negative impact on the Play Store ranking factors, but the following article states that further penalties will be imposed. https://android-developers.googleblog.com/2022/10/raising-bar-on-technical-quality-on-google-play.html

This is a very critical issue and I hope it will be fixed soon.

caichuangcai commented 1 year ago

@1008k isolating the FCM process and moving the processing in ApplicationClass to ActivityClass improved in my case. Hello, how to isolate the FCM process, like this: android:process=":bg" add this line?but it leads to onMessageReceived does't invoked when a message receive.

1008k commented 1 year ago

@caichuangcai Oh, I tried it and it seems so. In my case, there was no particular processing I wanted to do in onMessageReceived, so there was no problem...😅

caichuangcai commented 1 year ago

@1008k in your case, when application received a firebase message, it will show the notification or not? I try it in my application, but found it can not show the notification after sent a firebase message, and it is ok without running in multi-Progress

1008k commented 1 year ago

@caichuangcai yes. A notification will appear and tapping it will launch the app. This is just my case, using firebase-bom:31.1.0 and doing CloudMessaging from FirebaseDashboard.

usmanrana07 commented 1 year ago

I'm using v29.0.0 and observing the same anr reports. Firebase team should investigate this issue further as it is there from a long time now.

gsakakihara commented 1 year ago

@usmanrana07 Please file a new issue unless you are seeing the exact same stack traces as the original issue. ANRs can have a lot of different causes and adding potentially unrelated reports makes it more difficult to keep track of everything. But first, I'm assuming you mean BoM v29.0.0? If so, that does not include the version of firebase-messaging that contains the ANR fix. Can you try to update to a recent version that includes the fix (at least firebase-messaging v23.0.7 or BoM v30.3.2, though you may want to wait for the upcoming release that should include #4327)?

@rkfteam Following up on https://github.com/firebase/firebase-android-sdk/issues/3990#issuecomment-1267260365, do you have any answers or more information on those questions?