Search Unity

Getting this ANR report in my Google Console

Discussion in 'Android' started by samrain_vincell, Sep 3, 2022.

  1. samrain_vincell

    samrain_vincell

    Joined:
    Aug 23, 2022
    Posts:
    19
    Hi,

    I am getting the following ANR report in my Google Console :

    Native method - android.os.MessageQueue.nativePollOnce
    Broadcast of Intent { act=android.intent.action.SCREEN_OFF }

    Here is the complete stacktrace for the ANR :


    Thread
    "Signal Catcher" tid=3 Runnable
    #00 pc 0x00000000002c57ef /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*))
    #00 pc 0x0000000000356e29 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
    #00 pc 0x00000000003532fb /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const)
    #00 pc 0x000000000036ab9f /system/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*))
    #00 pc 0x0000000000364829 /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
    #00 pc 0x0000000000364389 /system/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool))
    #00 pc 0x0000000000364043 /system/lib/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
    #00 pc 0x0000000000341707 /system/lib/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char>>&))
    #00 pc 0x00000000003485d7 /system/lib/libart.so (art::SignalCatcher::HandleSigQuit())
    #00 pc 0x0000000000347821 /system/lib/libart.so (art::SignalCatcher::Run(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "main" tid=1 Native
    #00 pc 0x00000000000493e8 /system/lib/libc.so (__epoll_pwait)
    #00 pc 0x000000000001b4bd /system/lib/libc.so (epoll_pwait)
    #00 pc 0x000000000001b4ed /system/lib/libc.so (epoll_wait)
    #00 pc 0x0000000000010337 /system/lib/libutils.so (android::Looper::pollInner(int))
    #00 pc 0x0000000000010229 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00 pc 0x00000000000b7a79 /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int))
    #00 pc 0x00000000001a4795 /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
    at android.os.MessageQueue.nativePollOnce (MessageQueue.java)
    at android.os.MessageQueue.next (MessageQueue.java:325)
    at android.os.Looper.loop (Looper.java:142)
    at android.app.ActivityThread.main (ActivityThread.java:6694)
    at java.lang.reflect.Method.invoke (Method.java)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:769)

    Thread
    "Jit thread pool worker thread 0" tid=2 Native
    #00 pc 0x0000000000018e58 /system/lib/libc.so (syscall)
    #00 pc 0x00000000000b395d /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00 pc 0x000000000036bec7 /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*))
    #00 pc 0x000000000036b76b /system/lib/libart.so (art::ThreadPoolWorker::Run())
    #00 pc 0x000000000036b381 /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "FinalizerWatchdogDaemon" tid=4 Waiting
    at java.lang.Object.wait (Object.java)
    at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:297)
    at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:277)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)

    Thread
    "HeapTaskDaemon" tid=5 Blocked
    #00 pc 0x0000000000018e58 /system/lib/libc.so (syscall)
    #00 pc 0x00000000000b395d /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00 pc 0x00000000001c0a19 /system/lib/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*))
    #00 pc 0x00000000001c0ff9 /system/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*))
    #00 pc 0x00000000001cb2d3 /system/framework/arm/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__)
    at dalvik.system.VMRuntime.runHeapTasks (VMRuntime.java)
    at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:461)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)

    Thread
    "ReferenceQueueDaemon" tid=6 Waiting
    at java.lang.Object.wait (Object.java)
    at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:178)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)

    Thread
    "FinalizerDaemon" tid=7 Waiting
    at java.lang.Object.wait (Object.java)
    at java.lang.Object.wait (Object.java:422)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)
    at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)
    at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:232)
    at java.lang.Daemons$Daemon.run (Daemons.java:103)
    at java.lang.Thread.run (Thread.java:764)

    Thread
    "Binder:21264_1" tid=8 Native
    #00 pc 0x0000000000049524 /system/lib/libc.so (__ioctl)
    #00 pc 0x000000000001df37 /system/lib/libc.so (ioctl)
    #00 pc 0x000000000004826d /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00 pc 0x0000000000048365 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00 pc 0x00000000000488fb /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00 pc 0x000000000005efe9 /system/lib/libbinder.so
    #00 pc 0x000000000000d469 /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00 pc 0x0000000000079f69 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "Binder:21264_2" tid=9 Native
    #00 pc 0x0000000000049524 /system/lib/libc.so (__ioctl)
    #00 pc 0x000000000001df37 /system/lib/libc.so (ioctl)
    #00 pc 0x000000000004826d /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00 pc 0x0000000000048365 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00 pc 0x00000000000488fb /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00 pc 0x000000000005efe9 /system/lib/libbinder.so
    #00 pc 0x000000000000d469 /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00 pc 0x0000000000079f69 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "Binder:21264_3" tid=10 Native
    #00 pc 0x0000000000049524 /system/lib/libc.so (__ioctl)
    #00 pc 0x000000000001df37 /system/lib/libc.so (ioctl)
    #00 pc 0x000000000004826d /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00 pc 0x0000000000048365 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00 pc 0x00000000000488fb /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00 pc 0x000000000005efe9 /system/lib/libbinder.so
    #00 pc 0x000000000000d469 /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00 pc 0x0000000000079f69 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "Profile Saver" tid=11 Native
    #00 pc 0x0000000000018e58 /system/lib/libc.so (syscall)
    #00 pc 0x00000000000b395d /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*))
    #00 pc 0x0000000000256c67 /system/lib/libart.so (art::profileSaver::Run())
    #00 pc 0x0000000000258777 /system/lib/libart.so (art::profileSaver::RunProfileSaverThread(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "Firebase-Messaging-Topics-Io" tid=16 Waiting
    at java.lang.Object.wait (Object.java)
    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 (zza.java:2)
    at java.lang.Thread.run (Thread.java:764)

    Thread
    "pool-4-thread-1" tid=17 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "ScionFrontendApi" tid=13 Timed Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "GmsDynamite" tid=14 Waiting
    at java.lang.Object.wait (Object.java)
    at com.google.android.gms.dynamite.zza.run (zza.java:2)

    Thread
    "Crashlytics Exception Handler1" tid=19 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "com.google.firebase.crashlytics.startup1" tid=21 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "awaitEvenIfOnMainThread task continuation executor1" tid=23 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "ExecutorQueue Global Timer" tid=26 Waiting
    at java.lang.Object.wait (Object.java)
    at java.util.TimerThread.mainLoop (TimerThread.java:526)
    at java.util.TimerThread.run (TimerThread.java:505)

    Thread
    "pool-16-thread-1" tid=32 Timed Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "pool-17-thread-1" tid=33 Waiting
    at java.lang.Object.wait (Object.java)
    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 java.lang.Thread.run (Thread.java:764)

    Thread
    "WM.task-1" tid=30 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "pool-15-thread-1" tid=34 Waiting
    at java.lang.Object.wait (Object.java)
    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 java.lang.Thread.run (Thread.java:764)

    Thread
    "WM.task-2" tid=36 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "queued-work-looper" tid=35 Native
    #00 pc 0x00000000000493e8 /system/lib/libc.so (__epoll_pwait)
    #00 pc 0x000000000001b4bd /system/lib/libc.so (epoll_pwait)
    #00 pc 0x000000000001b4ed /system/lib/libc.so (epoll_wait)
    #00 pc 0x0000000000010337 /system/lib/libutils.so (android::Looper::pollInner(int))
    #00 pc 0x0000000000010229 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))
    #00 pc 0x00000000000b7a79 /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int))
    #00 pc 0x00000000001a4795 /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI)
    at android.os.MessageQueue.nativePollOnce (MessageQueue.java)
    at android.os.MessageQueue.next (MessageQueue.java:325)
    at android.os.Looper.loop (Looper.java:142)
    at android.os.HandlerThread.run (HandlerThread.java:65)

    Thread
    "OkHttp ConnectionPool" tid=37 Timed Waiting
    at java.lang.Object.wait (Object.java)
    at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:101)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
    at java.lang.Thread.run (Thread.java:764)

    Thread
    "UnityMain" tid=38 Waiting
    at java.lang.Object.wait (Object.java)
    at java.lang.Object.wait (Object.java:422)
    at java.lang.Thread.join (Thread.java:1260)
    at java.lang.Thread.join (Thread.java:1336)
    at org.fmod.FMODAudioDevice.stop (FMODAudioDevice.java)
    at com.unity3d.player.UnityPlayer.nativePause (UnityPlayer.java)
    at com.unity3d.player.UnityPlayer.access$1900 (UnityPlayer.java)
    at com.unity3d.player.UnityPlayer$24.run (UnityPlayer.java)
    at android.os.Handler.handleCallback (Handler.java:789)
    at android.os.Handler.dispatchMessage (Handler.java:98)
    at android.os.Looper.loop (Looper.java:164)
    at com.unity3d.player.UnityPlayer$e.run (UnityPlayer.java)

    Thread
    "Binder:21264_4" tid=39 Native
    #00 pc 0x0000000000049524 /system/lib/libc.so (__ioctl)
    #00 pc 0x000000000001df37 /system/lib/libc.so (ioctl)
    #00 pc 0x000000000004826d /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool))
    #00 pc 0x0000000000048365 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand())
    #00 pc 0x00000000000488fb /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool))
    #00 pc 0x000000000005efe9 /system/lib/libbinder.so
    #00 pc 0x000000000000d469 /system/lib/libutils.so (android::Thread::_threadLoop(void*))
    #00 pc 0x0000000000079f69 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*))
    #00 pc 0x0000000000047db7 /system/lib/libc.so (__pthread_start(void*))
    #00 pc 0x000000000001b0a5 /system/lib/libc.so (__start_thread)

    Thread
    "pool-18-thread-1" tid=40 Timed Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "PlayBillingLibrary-1" tid=41 Waiting
    at java.lang.Object.wait (Object.java)
    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)

    Thread
    "Okio Watchdog" tid=42 Waiting
    at java.lang.Object.wait (Object.java)
    at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:311)
    at com.android.okhttp.okio.AsyncTimeout.-wrap0 (AsyncTimeout.java)
    at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:286)

    Thread
    "UnityChoreographer" tid=28 Native
    #00 pc 0x00000000000493e8 /system/lib/libc.so (__epoll_pwait)
    #00 pc 0x000000000001b4bd /system/lib/libc.so (epoll_pwait)
    #00 pc 0x000000000001b4ed /system/lib/libc.so (epoll_wait)
    #00 pc 0x0000000000010337 /system/lib/libutils.so (android::Looper::pollInner(int))
    #00 pc 0x0000000000010229 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**))

    Can someone please shed some light on what is causing the ANR, and suggest a fix.

    Thanks in advance!
     
    IndieFist likes this.
  2. viveksaini75

    viveksaini75

    Joined:
    Apr 17, 2021
    Posts:
    1
    Bro, I am also getting this ANR
     
    IndieFist likes this.
  3. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    520