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

ANR FirebaseInstallationServiceClient.writeRequestBodyToOutputStream

Open appsapiconsole opened this issue 1 year ago • 16 comments

  • Android Studio version: Flamingo | 2022.2.1 Patch 1
  • Firebase Component: (Crashlytics-ktx, Messaging-ktx, Analytics-ktx, Config-ktx, Perf-ktx, etc)
  • Component version: BOM - 32.0.0

Thread 1 "main" tid=1 Native Main thread Idle Your app encountered an ANR, but the stack trace captured does not show the problem

#00 pc 0x000000000009bfc4 /apex/com.android.runtime/lib/bionic/libc.so (__epoll_pwait+20) #01 pc 0x000000000006d9dd /apex/com.android.runtime/lib/bionic/libc.so (epoll_wait+16) #02 pc 0x0000000000011bb1 /system/lib/libutils.so (android::Looper::pollInner(int)+128) #03 pc 0x0000000000011ad7 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+62) #04 pc 0x00000000000ba105 /system/lib/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long long, int)+26) at android.os.MessageQueue.nativePollOnce (Native method) at android.os.MessageQueue.next (MessageQueue.java:335) at android.os.Looper.loop (Looper.java:183) at android.app.ActivityThread.main (ActivityThread.java:7740) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:997) Thread 5 "Signal Catcher" tid=5 Runnable #00 pc 0x000000000037a841 /apex/com.android.art/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+76) #01 pc 0x000000000044bb41 /apex/com.android.art/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits >&, bool, BacktraceMap*, bool) const+388) #02 pc 0x0000000000447287 /apex/com.android.art/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits >&, bool, BacktraceMap*, bool) const+34) #03 pc 0x000000000046472d /apex/com.android.art/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+688) #04 pc 0x000000000045fbef /apex/com.android.art/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+354) #05 pc 0x000000000045f0e7 /apex/com.android.art/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits >&, bool)+1514) #06 pc 0x000000000045e7a7 /apex/com.android.art/lib/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits >&)+638) #07 pc 0x000000000041629b /apex/com.android.art/lib/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits >&)+130) #08 pc 0x0000000000426481 /apex/com.android.art/lib/libart.so (art::SignalCatcher::HandleSigQuit()+1028) #09 pc 0x0000000000425817 /apex/com.android.art/lib/libart.so (art::SignalCatcher::Run(void*)+250) #10 pc 0x00000000000aadef /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #11 pc 0x0000000000063bbd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 7 "Jit thread pool worker thread 0" tid=7 Native #00 pc 0x000000000005ddec /apex/com.android.runtime/lib/bionic/libc.so (syscall+28) #01 pc 0x0000000000130dc9 /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+88) #02 pc 0x0000000000465c3f /apex/com.android.art/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+54) #03 pc 0x0000000000465359 /apex/com.android.art/lib/libart.so (art::ThreadPoolWorker::Run()+76) #04 pc 0x0000000000464fab /apex/com.android.art/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+114) #05 pc 0x00000000000aadef /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #06 pc 0x0000000000063bbd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 8 "HeapTaskDaemon" tid=8 Waiting #00 pc 0x000000000005ddf0 /apex/com.android.runtime/lib/bionic/libc.so (syscall+32) #01 pc 0x000000000013109d /apex/com.android.art/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+116) #02 pc 0x0000000000219adb /apex/com.android.art/lib/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+314) #03 pc 0x000000000021a1fd /apex/com.android.art/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+48) 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 9 "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:217) at java.lang.Daemons$Daemon.run (Daemons.java:139) at java.lang.Thread.run (Thread.java:923) Thread 10 "FinalizerDaemon" tid=10 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 11 "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 12 "Binder:27476_1" tid=12 Native #00 pc 0x000000000009aee8 /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) #01 pc 0x0000000000068f2b /apex/com.android.runtime/lib/bionic/libc.so (ioctl+26) #02 pc 0x0000000000039bdb /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+238) #03 pc 0x0000000000039d35 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) #04 pc 0x000000000003a41b /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+38) #05 pc 0x0000000000053efd /system/lib/libbinder.so (android::PoolThread::threadLoop()+12) #06 pc 0x000000000000ed4b /system/lib/libutils.so (android::Thread::_threadLoop(void*)+170) #07 pc 0x000000000006c933 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+86) #08 pc 0x000000000000e889 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+264) #09 pc 0x00000000000aadef /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #10 pc 0x0000000000063bbd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 13 "Binder:27476_2" tid=13 Native #00 pc 0x000000000009aee8 /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) #01 pc 0x0000000000068f2b /apex/com.android.runtime/lib/bionic/libc.so (ioctl+26) #02 pc 0x0000000000039bdb /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+238) #03 pc 0x0000000000039d35 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) #04 pc 0x000000000003a41b /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+38) #05 pc 0x0000000000053efd /system/lib/libbinder.so (android::PoolThread::threadLoop()+12) #06 pc 0x000000000000ed4b /system/lib/libutils.so (android::Thread::_threadLoop(void*)+170) #07 pc 0x000000000006c933 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+86) #08 pc 0x000000000000e889 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+264) #09 pc 0x00000000000aadef /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #10 pc 0x0000000000063bbd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 14 "Binder:27476_3" tid=14 Native #00 pc 0x000000000009aee8 /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) #01 pc 0x0000000000068f2b /apex/com.android.runtime/lib/bionic/libc.so (ioctl+26) #02 pc 0x0000000000039bdb /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+238) #03 pc 0x0000000000039d35 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) #04 pc 0x000000000003a41b /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+38) #05 pc 0x0000000000053efd /system/lib/libbinder.so (android::PoolThread::threadLoop()+12) #06 pc 0x000000000000ed4b /system/lib/libutils.so (android::Thread::_threadLoop(void*)+170) #07 pc 0x000000000006c933 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+86) #08 pc 0x000000000000e889 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+264) #09 pc 0x00000000000aadef /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #10 pc 0x0000000000063bbd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 15 "Profile Saver" tid=15 Native #00 pc 0x000000000005ddec /apex/com.android.runtime/lib/bionic/libc.so (syscall+28) #01 pc 0x0000000000130dc9 /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+88) #02 pc 0x000000000026dc21 /apex/com.android.art/lib/libart.so (art::ProfileSaver::Run()+328) #03 pc 0x000000000027166b /apex/com.android.art/lib/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+106) #04 pc 0x00000000000aadef /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #05 pc 0x0000000000063bbd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 17 "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 18 "Crashlytics Exception Handler1" 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.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) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27) at java.lang.Thread.run (Thread.java:923) Thread 19 "com.google.firebase.crashlytics.startup1" tid=19 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) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27) at java.lang.Thread.run (Thread.java:923) Thread 20 "Firebase Background Thread #0" 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.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:923) Thread 21 "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.1.0:2) Thread 22 "awaitEvenIfOnMainThread task continuation executor1" 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) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27) at java.lang.Thread.run (Thread.java:923) Thread 24 "pool-8-thread-1" 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.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:923) Thread 25 "Firebase Blocking Thread #0" tid=25 Native #00 pc 0x000000000009c0d4 /apex/com.android.runtime/lib/bionic/libc.so (__ppoll+20) #01 pc 0x000000000006a95b /apex/com.android.runtime/lib/bionic/libc.so (poll+54) #02 pc 0x000000000001b84d /apex/com.android.art/lib/libopenjdk.so (NET_Timeout+120) #03 pc 0x000000000001bb63 /apex/com.android.art/lib/libopenjdk.so (SocketInputStream_socketRead0+166) at java.net.SocketInputStream.socketRead0 (Native method) at java.net.SocketInputStream.socketRead (SocketInputStream.java:119) at java.net.SocketInputStream.read (SocketInputStream.java:176) at java.net.SocketInputStream.read (SocketInputStream.java:144) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket (ConscryptEngineSocket.java:936) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket (ConscryptEngineSocket.java:900) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100 (ConscryptEngineSocket.java:722) at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake (ConscryptEngineSocket.java:238) at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake (ConscryptEngineSocket.java:217) at com.android.okhttp.internal.io.RealConnection.connectTls (RealConnection.java:196) at com.android.okhttp.internal.io.RealConnection.connectSocket (RealConnection.java:153) at com.android.okhttp.internal.io.RealConnection.connect (RealConnection.java:116) at com.android.okhttp.internal.http.StreamAllocation.findConnection (StreamAllocation.java:186) at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection (StreamAllocation.java:128) at com.android.okhttp.internal.http.StreamAllocation.newStream (StreamAllocation.java:97) at com.android.okhttp.internal.http.HttpEngine.connect (HttpEngine.java:302) at com.android.okhttp.internal.http.HttpEngine.sendRequest (HttpEngine.java:245) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute (HttpURLConnectionImpl.java:465) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect (HttpURLConnectionImpl.java:131) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream (HttpURLConnectionImpl.java:262) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream (DelegatingHttpsURLConnection.java:219) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream (HttpsURLConnectionImpl.java:30) at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.writeRequestBodyToOutputStream (FirebaseInstallationServiceClient.java:234) at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.writeFIDCreateRequestBodyToOutputStream (FirebaseInstallationServiceClient.java:216) at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.createFirebaseInstallation (FirebaseInstallationServiceClient.java:174) at com.google.firebase.installations.FirebaseInstallations.registerFidWithServer (FirebaseInstallations.java:533) at com.google.firebase.installations.FirebaseInstallations.doNetworkCallIfNecessary (FirebaseInstallations.java:387) at com.google.firebase.installations.FirebaseInstallations.lambda$doRegistrationOrRefresh$3 (FirebaseInstallations.java:372) at com.google.firebase.concurrent.SequentialExecutor$1.run (SequentialExecutor.java:117) at com.google.firebase.concurrent.SequentialExecutor$QueueWorker.workOnQueue (SequentialExecutor.java:229) at com.google.firebase.concurrent.SequentialExecutor$QueueWorker.run (SequentialExecutor.java:174) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:923) Thread 23 "Firebase-Messaging-Topics-Io" tid=23 Blocked at com.google.firebase.messaging.RequestDeduplicator.getOrStartGetTokenRequest (RequestDeduplicator.java:31) at com.google.firebase.messaging.FirebaseMessaging.blockingGetToken (FirebaseMessaging.java:613) at com.google.firebase.messaging.TopicsSubscriber.blockingSubscribeToTopic (TopicsSubscriber.java:274) at com.google.firebase.messaging.TopicsSubscriber.performTopicOperation (TopicsSubscriber.java:234) at com.google.firebase.messaging.TopicsSubscriber.syncTopics (TopicsSubscriber.java:188) at com.google.firebase.messaging.TopicsSyncTask.run (TopicsSyncTask.java:101) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at com.google.android.gms.common.util.concurrent.zza.run (zza.java:2) at java.lang.Thread.run (Thread.java:923) Thread 26 "Firebase Blocking Thread #1" tid=26 Timed Waiting at sun.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:461) at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:937) 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.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:923) Thread 27 "Firebase-Messaging-Init" tid=27 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 (zza.java:2) at java.lang.Thread.run (Thread.java:923) Thread 28 "pool-15-thread-1" tid=28 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:923) Thread 29 "Firebase Background Thread #1" 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.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:923) Thread 32 "Firebase Background Thread #2" 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.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:923) Thread 31 "RenderThread" tid=31 Native #00 pc 0x000000000009bfc4 /apex/com.android.runtime/lib/bionic/libc.so (__epoll_pwait+20) #01 pc 0x000000000006d9dd /apex/com.android.runtime/lib/bionic/libc.so (epoll_wait+16) #02 pc 0x0000000000011bb1 /system/lib/libutils.so (android::Looper::pollInner(int)+128) #03 pc 0x0000000000011ad7 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+62) #04 pc 0x000000000020cc5f /system/lib/libhwui.so (android::uirenderer::ThreadBase::waitForWork()+86) #05 pc 0x00000000002245f5 /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+52) #06 pc 0x000000000000ed4b /system/lib/libutils.so (android::Thread::_threadLoop(void*)+170) #07 pc 0x000000000000e889 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+264)

image

appsapiconsole avatar May 16 '23 07:05 appsapiconsole

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar May 16 '23 07:05 google-oss-bot

Hi @appsapiconsole, thanks for reporting this. If the issue is due to FIS, then the problem might be due to the Firebase Cloud Messaging. Any chance you're able to reproduce this behavior? Also if you could share with us a minimal repro of your issue, that'll help us out a lot.

argzdev avatar May 17 '23 13:05 argzdev

Thanks. I am not facing this issue is development. Google Play Console reporting these issues. Not Notification sent from last 2,3 weeks.

its effecting my all apps.

at java.lang.Object.wait (Native method) at java.lang.Object.wait (Object.java:442) at com.google.android.gms.internal.measurement.zzbz.zzb (com.google.android.gms:play-services-measurement-base@@21.2.2:2) at com.google.android.gms.internal.measurement.zzef.zzr (com.google.android.gms:play-services-measurement-sdk-api@@21.2.2:3) at com.google.android.gms.measurement.api.AppMeasurementSdk.getUserProperties (AppMeasurementSdk.java:1) at com.google.firebase.analytics.connector.AnalyticsConnectorImpl.getUserProperties (AnalyticsConnectorImpl.java:1) at com.google.firebase.remoteconfig.internal.ConfigFetchHandler.getUserProperties (ConfigFetchHandler.java:584) at com.google.firebase.remoteconfig.internal.ConfigFetchHandler.fetchFromBackend (ConfigFetchHandler.java:383) at com.google.firebase.remoteconfig.internal.ConfigFetchHandler.fetchFromBackendAndCacheResponse (ConfigFetchHandler.java:347) at com.google.firebase.remoteconfig.internal.ConfigFetchHandler.lambda$fetchIfCacheExpiredAndNotThrottled$2 (ConfigFetchHandler.java:280) at com.google.android.gms.tasks.zze.run (zze.java:1) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:919) Thread 19 "pool-7-thread-1" tid=19 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:919) Thread 20 "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 21 "Firebase-Messaging-Topics-Io" tid=21 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.doAcquireSharedNanos (AbstractQueuedSynchronizer.java:1063) at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos (AbstractQueuedSynchronizer.java:1358) at java.util.concurrent.CountDownLatch.await (CountDownLatch.java:278) at com.google.android.gms.tasks.zzad.zzb (zzad.java:1) at com.google.android.gms.tasks.Tasks.await (Tasks.java:16) at com.google.firebase.messaging.TopicsSubscriber.awaitTask (TopicsSubscriber.java:286) at com.google.firebase.messaging.TopicsSubscriber.blockingSubscribeToTopic (TopicsSubscriber.java:274) at com.google.firebase.messaging.TopicsSubscriber.performTopicOperation (TopicsSubscriber.java:234) at com.google.firebase.messaging.TopicsSubscriber.syncTopics (TopicsSubscriber.java:188) at com.google.firebase.messaging.TopicsSyncTask.run (TopicsSyncTask.java:101) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at com.google.android.gms.common.util.concurrent.zza.run (zza.java:2) at java.lang.Thread.run (Thread.java:919)

appsapiconsole avatar May 19 '23 07:05 appsapiconsole

I am little bit confused you tag this its a firebase messaging issue but in some threads its showing crashlytcis. please review below stack trace

#00 pc 0x000000000005de14 /apex/com.android.runtime/lib/bionic/libc.so (syscall+28) #01 pc 0x0000000000250397 /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+86) #02 pc 0x000000000045f90d /apex/com.android.art/lib/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+720) #03 pc 0x00000000023064f1 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #04 pc 0x000000000299ddd7 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #05 pc 0x0000000002ad8f79 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #06 pc 0x000000000299dccb /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #07 pc 0x000000000299dbcd /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #08 pc 0x0000000002b6e53d /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #09 pc 0x0000000002d17197 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #10 pc 0x00000000022bb629 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #11 pc 0x00000000022bb129 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #12 pc 0x00000000022bb42d /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #13 pc 0x000000000231ed4b /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #14 pc 0x000000000231ec8f /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #15 pc 0x00000000022e5c13 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #16 pc 0x00000000022e6975 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #17 pc 0x0000000001a47e67 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #18 pc 0x0000000002bbb0d9 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #19 pc 0x0000000002bbb019 /data/app/~~G542V-hEfMiM94yMTkQx7Q==/com.google.android.trichromelibrary_561513530--zVHmW6wpN3lTauIVlLQ7g==/base.apk #20 pc 0x0000000000010889 /system/lib/libutils.so (android::Looper::pollInner(int)+940) #21 pc 0x000000000001047f /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+58) #22 pc 0x00000000000f1899 /system/lib/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long long, int)+26) 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:8757) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067) Thread 6 "Signal Catcher" tid=6 Runnable #00 pc 0x00000000004ce545 /apex/com.android.art/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+68) #01 pc 0x0000000000520d91 /apex/com.android.art/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits >&, bool, BacktraceMap*, bool) const+120) #02 pc 0x0000000000339c33 /apex/com.android.art/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits >&, bool, BacktraceMap*, bool) const+34) #03 pc 0x000000000052992b /apex/com.android.art/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+178) #04 pc 0x000000000025dc05 /apex/com.android.art/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits >&, bool)+1344) #05 pc 0x0000000000528c33 /apex/com.android.art/lib/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits >&)+234) #06 pc 0x000000000050a731 /apex/com.android.art/lib/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits >&)+132) #07 pc 0x0000000000514513 /apex/com.android.art/lib/libart.so (art::SignalCatcher::HandleSigQuit()+302) #08 pc 0x0000000000513ceb /apex/com.android.art/lib/libart.so (art::SignalCatcher::Run(void*)+190) #09 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #10 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 7 "perfetto_hprof_listener" tid=7 Native #00 pc 0x000000000009e2d0 /apex/com.android.runtime/lib/bionic/libc.so (read+8) #01 pc 0x000000000001002b /apex/com.android.art/lib/libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, ArtPlugin_Initialize::$_34> >(void*)+210) #02 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #03 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 8 "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:203) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:224) at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:300) at java.lang.Daemons$Daemon.run (Daemons.java:140) at java.lang.Thread.run (Thread.java:1012) Thread 9 "FinalizerWatchdogDaemon" tid=9 Timed Waiting at java.lang.Thread.sleep (Native method) at java.lang.Thread.sleep (Thread.java:450) at java.lang.Thread.sleep (Thread.java:355) at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos (Daemons.java:438) at java.lang.Daemons$FinalizerWatchdogDaemon.waitForProgress (Daemons.java:480) at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:369) at java.lang.Daemons$Daemon.run (Daemons.java:140) at java.lang.Thread.run (Thread.java:1012) Thread 10 "Jit thread pool worker thread 0" tid=10 Native #00 pc 0x000000000005de14 /apex/com.android.runtime/lib/bionic/libc.so (syscall+28) #01 pc 0x0000000000250397 /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+86) #02 pc 0x000000000052a7d9 /apex/com.android.art/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+128) #03 pc 0x000000000052a3ed /apex/com.android.art/lib/libart.so (art::ThreadPoolWorker::Run()+68) #04 pc 0x00000000002bbde5 /apex/com.android.art/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+100) #05 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #06 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 11 "ReferenceQueueDaemon" tid=11 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:232) at java.lang.Daemons$Daemon.run (Daemons.java:140) at java.lang.Thread.run (Thread.java:1012) Thread 12 "HeapTaskDaemon" tid=12 Waiting #00 pc 0x000000000005de18 /apex/com.android.runtime/lib/bionic/libc.so (syscall+32) #01 pc 0x0000000000238da7 /apex/com.android.art/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+114) #02 pc 0x00000000001c8179 /apex/com.android.art/lib/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+356) #03 pc 0x00000000001c867f /apex/com.android.art/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+10) at dalvik.system.VMRuntime.runHeapTasks (Native method) at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:609) at java.lang.Daemons$Daemon.run (Daemons.java:140) at java.lang.Thread.run (Thread.java:1012) Thread 13 "binder:22289_1" tid=13 Native #00 pc 0x000000000009e5f0 /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) #01 pc 0x00000000000698eb /apex/com.android.runtime/lib/bionic/libc.so (ioctl+26) #02 pc 0x0000000000040941 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+216) #03 pc 0x0000000000040b39 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) #04 pc 0x0000000000041249 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+44) #05 pc 0x0000000000060521 /system/lib/libbinder.so (android::PoolThread::threadLoop()+328) #06 pc 0x000000000000d7cd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+264) #07 pc 0x000000000008ad39 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+84) #08 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #09 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 14 "binder:22289_2" tid=14 Native #00 pc 0x000000000009e5f0 /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) #01 pc 0x00000000000698eb /apex/com.android.runtime/lib/bionic/libc.so (ioctl+26) #02 pc 0x0000000000040941 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+216) #03 pc 0x0000000000040b39 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) #04 pc 0x0000000000041249 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+44) #05 pc 0x0000000000060521 /system/lib/libbinder.so (android::PoolThread::threadLoop()+328) #06 pc 0x000000000000d7cd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+264) #07 pc 0x000000000008ad39 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+84) #08 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #09 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 15 "binder:22289_3" tid=15 Native #00 pc 0x000000000009e5f0 /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) #01 pc 0x00000000000698eb /apex/com.android.runtime/lib/bionic/libc.so (ioctl+26) #02 pc 0x0000000000040941 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+216) #03 pc 0x0000000000040b39 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) #04 pc 0x0000000000041249 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+44) #05 pc 0x0000000000060521 /system/lib/libbinder.so (android::PoolThread::threadLoop()+328) #06 pc 0x000000000000d7cd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+264) #07 pc 0x000000000008ad39 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+84) #08 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #09 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 16 "Profile Saver" tid=16 Native #00 pc 0x000000000005de18 /apex/com.android.runtime/lib/bionic/libc.so (syscall+32) #01 pc 0x0000000000238da7 /apex/com.android.art/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+114) #02 pc 0x0000000000237671 /apex/com.android.art/lib/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+832) #03 pc 0x00000000000ade0b /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) #04 pc 0x0000000000063e73 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) Thread 18 "queued-work-looper-data" tid=18 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at java.lang.Thread.run (Thread.java:1012) Thread 19 "pool-3-thread-1" tid=19 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at java.lang.Thread.run (Thread.java:1012) Thread 21 "Firebase Blocking Thread #0" tid=21 Timed Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:234) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:463) at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:361) at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:939) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1062) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:1012) Thread 22 "Firebase Blocking Thread #2" tid=22 Timed Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:234) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:463) at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:361) at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:939) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1062) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:1012) Thread 24 "ScionFrontendApi" tid=24 Timed Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:234) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2123) at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:458) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1062) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at java.lang.Thread.run (Thread.java:1012) Thread 25 "Crashlytics Exception Handler1" tid=25 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:67) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27) at java.lang.Thread.run (Thread.java:1012) Thread 26 "GmsDynamite" tid=26 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 27 "com.google.firebase.crashlytics.startup1" tid=27 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:67) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27) at java.lang.Thread.run (Thread.java:1012) Thread 28 "Firebase Background Thread #0" tid=28 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:1012) Thread 29 "awaitEvenIfOnMainThread task continuation executor1" tid=29 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun (ExecutorUtils.java:67) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run (BackgroundPriorityRunnable.java:27) at java.lang.Thread.run (Thread.java:1012) Thread 30 "Firebase Background Thread #1" tid=30 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:1012) Thread 31 "pool-13-thread-1" tid=31 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at java.lang.Thread.run (Thread.java:1012) Thread 32 "Firebase-Messaging-Init" tid=32 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1176) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.android.gms.common.util.concurrent.zza.run (zza.java:2) at java.lang.Thread.run (Thread.java:1012) Thread 33 "Firebase-Messaging-Topics-Io" tid=33 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1176) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.android.gms.common.util.concurrent.zza.run (zza.java:2) at java.lang.Thread.run (Thread.java:1012) Thread 34 "Firebase Background Thread #2" tid=34 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:1012) Thread 35 "TAG" tid=35 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1176) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.android.gms.common.util.concurrent.zza.run (zza.java:2) at java.lang.Thread.run (Thread.java:1012) Thread 36 "Firebase Background Thread #3" tid=36 Waiting at jdk.internal.misc.Unsafe.park (Native method) at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081) at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433) at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47) at java.lang.Thread.run (Thread.java:1012)

appsapiconsole avatar May 19 '23 07:05 appsapiconsole

Hey @appsapiconsole. 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 Jun 01 '23 01:06 google-oss-bot

api platform('com.google.firebase:firebase-bom:32.0.0') api 'com.google.firebase:firebase-installations-ktx' // 统计应用的安装,生成在Firebase上的唯一标识 api 'com.google.firebase:firebase-analytics-ktx' // 分析 api 'com.google.firebase:firebase-auth-ktx' // 验证 api 'com.google.firebase:firebase-crashlytics-ktx' // 崩溃分析 api 'com.google.firebase:firebase-crashlytics-ndk' api 'com.google.firebase:firebase-config-ktx' // 远程配置 api 'com.google.firebase:firebase-dynamic-links-ktx' // 动态链接 api 'com.google.firebase:firebase-inappmessaging-ktx' // 应用内消息 api 'com.google.firebase:firebase-inappmessaging-display-ktx' // 应用内消息显示 api 'com.google.firebase:firebase-messaging-ktx' // 云消息 api 'com.google.firebase:firebase-messaging-directboot' api 'com.google.firebase:firebase-perf'

I also encountered this problem after accessing version 32.0.0, how to solve it? Or your version is more stable

Firebase-Messaging-Topics-Io (waiting):tid=20 systid=12904 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:923)

hpdx avatar Jun 05 '23 08:06 hpdx

@appsapiconsole I have the same problem as you, how did you solve it later? Can you share it?

hpdx avatar Jun 05 '23 08:06 hpdx

Hey @appsapiconsole. 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 Jun 12 '23 01:06 google-oss-bot

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

@appsapiconsole 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 Jun 19 '23 01:06 google-oss-bot

@google-oss-bot

The problem is not solved, why turn it off? For KPI? Want to reduce the number of bugs?

hpdx avatar Jul 13 '23 07:07 hpdx

Hi @hpdx, the google-oss-bot automatically closes issues that have needs-info label and hasn't received any response from the author. We usually do this to get information from the author so we can investigate this further.

In your case, could you help share answers from the questions below:

  1. Are you able to reproduce this issue?
  2. If so, could you share steps to reproduce this issue?

Also any chance you could share a minimal reproducible example?

argzdev avatar Jul 13 '23 10:07 argzdev

Hi Team, We are also facing the similar issue in Production This issue has 599 crash events affecting 500 users 77% Background, 59% Android 13

Exception java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
  at java.lang.Thread.nativeCreate
  at java.lang.Thread.start (Thread.java:884)
  at java.util.concurrent.ThreadPoolExecutor.addWorker (ThreadPoolExecutor.java:975)
  at java.util.concurrent.ThreadPoolExecutor.processWorkerExit (ThreadPoolExecutor.java:1043)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1185)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0 (CustomThreadFactory.java:47)
  at java.lang.Thread.run (Thread.java:920)

dhruvkaushal11 avatar Jul 19 '23 06:07 dhruvkaushal11

Hey @appsapiconsole. 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 Jul 26 '23 01:07 google-oss-bot

Hi all. Our engineers have looked into this. We've investigated the network, background executors, FIS, and done some sanity checks on certain assumptions, but did not find anything conclusive which would lead to the ANRs. Usually it is very difficult to look at an ANRs in isolation and figure out whats wrong. That said, if anyone can see any commonalities between these ANRs, or even better, code snippets or minimal reproducible example, please share it with us. It'll really help us move this investigation forward. Thanks!

argzdev avatar Aug 01 '23 08:08 argzdev

Hi Team, the crash count has suddenly increased, and we had to stop the rollout. Please help with this on priority. I have already shared the trace earlier. image

dhruvkaushal11 avatar Aug 17 '23 13:08 dhruvkaushal11

@dhruvkaushal11 Did you get any update on it? I am also facing a lot of ANR issues in Android 13.

ShashadharDas avatar Nov 07 '23 03:11 ShashadharDas