firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

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

Open rkfteam opened this issue 2 years ago • 13 comments

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2019.4.16f1
  • Firebase Unity SDK version: 8.9.0
  • Source you installed the SDK: .tgz
  • Problematic Firebase Component: firebase-iid
  • Other Firebase Components in use: Auth, Database, Analytics, Crashlytics
  • Additional SDKs you are using: Applovin, Facebook, AdMob...
  • Platform you are using the Unity editor on: Mac
  • Platform you are targeting: Android
  • Scripting Runtime: IL2CPP
  • Pre-built SDK from the website or open-source from this repo: website

[REQUIRED] Please describe the issue here:

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 }

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@[email protected] (040408-0):12)
  at kn.r (:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):7)
  at jd.run (:com.google.android.gms.dynamite_measurementdynamite@[email protected] (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@[email protected] (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))

Steps to reproduce:

Honestly, we don't have steps.

Relevant Code:

// TODO(you): code here to reproduce the problem

rkfteam avatar Aug 16 '22 13:08 rkfteam

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

google-oss-bot avatar Aug 16 '22 13:08 google-oss-bot

Hi @rkfteam,

Thanks for reporting this issue. Does updating the SDK to version 9.4.0 make a difference in terms of your ANRs?

paulinon avatar Aug 17 '22 15:08 paulinon

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!

google-oss-bot avatar Aug 24 '22 01:08 google-oss-bot

@paulinon, we upgraded to 9.4.0 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

rkfteam avatar Aug 29 '22 08:08 rkfteam

I find this issue seems related, can we try this comment to see if it can resolve the issue?

cynthiajoan avatar Sep 06 '22 05:09 cynthiajoan

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!

google-oss-bot avatar Sep 13 '22 01:09 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@rkfteam if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Sep 19 '22 01:09 google-oss-bot

@cynthiajoan we are working out this question right now. I would like to ask that this problem not be closed, because it has not been solved.

rkfteam avatar Sep 20 '22 09:09 rkfteam

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!

google-oss-bot avatar Sep 27 '22 01:09 google-oss-bot

Now we are preparing a build for release. After rolling out the build, we'll be able to see if it helped or not

rkfteam avatar Oct 03 '22 14:10 rkfteam

Alright, please update this thread and let us know

chkuang-g avatar Oct 10 '22 09:10 chkuang-g

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!

google-oss-bot avatar Oct 17 '22 01:10 google-oss-bot

@cynthiajoan @chkuang-g

  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
  3. We removed com.google.firebase:firebase-id from the dependencies

Result: no result. We see this ANR :(

rkfteam avatar Oct 18 '22 16:10 rkfteam

The issue is investigated in https://github.com/firebase/firebase-android-sdk/issues/3990 as well

cynthiajoan avatar Oct 27 '22 22:10 cynthiajoan

Pinging this thread to get feedback on if the Android team's support helped out at all, as we believe this issue stems from the Firebase Android SDK implemention. Keep us posted!

DellaBitta avatar Jan 04 '23 20:01 DellaBitta

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!

google-oss-bot avatar Jan 11 '23 02:01 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@rkfteam if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jan 18 '23 02:01 google-oss-bot