We are running OneSignal AndroidSDK 3.5.8 and seeing multiple ANRs in the console. Please find the complete thread backtrace.
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x754f7fa8 self=0x558cc6e4a0
| sysTid=10682 nice=-4 cgrp=default sched=0/0 handle=0x7fa7235ea0
| state=S schedstat=( 2612467609 558932162 4306 ) utm=215 stm=46 core=0 HZ=100
| stack=0x7fc5d41000-0x7fc5d43000 stackSize=8MB
| held mutexes=
native: pc 000000000005efec /system/lib64/libc.so (__ioctl+4)
native: pc 00000000000692c4 /system/lib64/libc.so (ioctl+100)
native: pc 00000000000275f0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+164)
native: pc 0000000000028044 /system/lib64/libbinder.so (_ZN7android14IPCThreadState15waitForResponseEPNS_6ParcelEPi+112)
native: pc 00000000000282b8 /system/lib64/libbinder.so (_ZN7android14IPCThreadState8transactEijRKNS_6ParcelEPS1_j+176)
native: pc 000000000001ff38 /system/lib64/libbinder.so (_ZN7android8BpBinder8transactEjRKNS_6ParcelEPS1_j+64)
native: pc 00000000000dc2a0 /system/lib64/libandroid_runtime.so (???)
native: pc 00000000012acb70 /data/dalvik-cache/arm64/system@framework@boot.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+212)
at android.os.BinderProxy.transactNative (BinderProxy.java)
at android.os.BinderProxy.transact (BinderProxy.java:496)
at android.os.IPowerManager$Stub$Proxy.isInteractive (IPowerManager.java:603)
at android.os.PowerManager.isInteractive (PowerManager.java:823)
at android.os.PowerManager.isScreenOn (PowerManager.java:784)
at com.google.android.gms.ads.internal.util.aj.a (aj.java:481)
at com.google.android.gms.ads.internal.activeview.b.a (b.java:66)
- locked <@addr=0x12f63830> (a java.lang.Object)
at com.google.android.gms.ads.internal.activeview.s.a (s.java:8)
at com.google.android.gms.ads.internal.webview.c.a (c.java:294)
at com.google.android.gms.ads.internal.webview.w.run (w.java:8)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5292)
at java.lang.reflect.Method.invoke! (Native method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:699)
"Heap thread pool worker thread 1" prio=5 tid=2 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558cc71d20
| sysTid=10685 nice=0 cgrp=default sched=0/0 handle=0x558ced2f80
| state=S schedstat=( 1587607 2675521 17 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7fa374c000-0x7fa374e000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Heap thread pool worker thread 0" prio=5 tid=3 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558cedbf70
| sysTid=10684 nice=0 cgrp=default sched=0/0 handle=0x558ced2cd0
| state=S schedstat=( 1345261 3156978 13 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7fa384c000-0x7fa384e000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Heap thread pool worker thread 2" prio=5 tid=4 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558ced8a00
| sysTid=10686 nice=0 cgrp=default sched=0/0 handle=0x558cedd960
| state=S schedstat=( 2896404 1322865 13 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7fa364c000-0x7fa364e000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Heap thread pool worker thread 3" prio=5 tid=5 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558cdbbe90
| sysTid=10687 nice=0 cgrp=default sched=0/0 handle=0x558cedafb0
| state=S schedstat=( 1660310 2134948 14 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7fa3548000-0x7fa354a000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Heap thread pool worker thread 5" prio=5 tid=6 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558cdbc5c0
| sysTid=10689 nice=0 cgrp=default sched=0/0 handle=0x558cedb800
| state=S schedstat=( 2235833 1047397 12 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7fa3342000-0x7fa3344000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Heap thread pool worker thread 4" prio=5 tid=7 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558cc66c80
| sysTid=10688 nice=0 cgrp=default sched=0/0 handle=0x558cedb260
| state=S schedstat=( 1048178 2457346 14 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7fa3446000-0x7fa3448000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Heap thread pool worker thread 6" prio=5 tid=8 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x558cc673b0
| sysTid=10690 nice=0 cgrp=default sched=0/0 handle=0x558cedbab0
| state=S schedstat=( 4084272 805156 9 ) utm=0 stm=0 core=7 HZ=100
| stack=0x7f9e1f5000-0x7f9e1f7000 stackSize=1020KB
| held mutexes=
native: pc 0000000000013844 /system/lib64/libc.so (syscall+28)
native: pc 00000000000d0608 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+140)
native: pc 000000000031dd60 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+176)
native: pc 000000000031f288 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+88)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"ReferenceQueueDaemon" daemon prio=5 tid=10 Waiting
| group="system" sCount=1 dsCount=0 obj=0x12c050a0 self=0x558cec15b0
| sysTid=10692 nice=0 cgrp=default sched=0/0 handle=0x558cec1fa0
| state=S schedstat=( 7024635 4002242 36 ) utm=0 stm=0 core=5 HZ=100
| stack=0x7f9295b000-0x7f9295d000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x07f1c792> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
at java.lang.Daemons$ReferenceQueueDaemon.run (Daemons.java:134)
- locked <0x07f1c792> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
at java.lang.Thread.run (Thread.java:818)
"FinalizerDaemon" daemon prio=5 tid=11 Waiting
| group="system" sCount=1 dsCount=0 obj=0x12c05100 self=0x558cec24a0
| sysTid=10693 nice=0 cgrp=default sched=0/0 handle=0x558cec2e90
| state=S schedstat=( 30333590 22566143 96 ) utm=2 stm=1 core=5 HZ=100
| stack=0x7f92857000-0x7f92859000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x39aca563> (a java.lang.ref.ReferenceQueue)
at java.lang.Object.wait (Object.java:422)
at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:101)
- locked <0x39aca563> (a java.lang.ref.ReferenceQueue)
at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:72)
at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:174)
at java.lang.Thread.run (Thread.java:818)
"FinalizerWatchdogDaemon" daemon prio=5 tid=12 Sleeping
| group="system" sCount=1 dsCount=0 obj=0x12c05160 self=0x558cec3390
| sysTid=10694 nice=0 cgrp=default sched=0/0 handle=0x558cec3d80
| state=S schedstat=( 1131094 4010156 14 ) utm=0 stm=0 core=6 HZ=100
| stack=0x7f92753000-0x7f92755000 stackSize=1036KB
| held mutexes=
at java.lang.Thread.sleep! (Native method)
- sleeping on <0x3678c560> (a java.lang.Object)
at java.lang.Thread.sleep (Thread.java:1031)
- locked <0x3678c560> (a java.lang.Object)
at java.lang.Thread.sleep (Thread.java:985)
at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor (Daemons.java:258)
at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:269)
at java.lang.Daemons$FinalizerWatchdogDaemon.run (Daemons.java:217)
at java.lang.Thread.run (Thread.java:818)
"HeapTrimmerDaemon" daemon prio=5 tid=13 Waiting
| group="system" sCount=1 dsCount=0 obj=0x12c051c0 self=0x558cece010
| sysTid=10695 nice=0 cgrp=default sched=0/0 handle=0x558cecea00
| state=S schedstat=( 4376716 102553 7 ) utm=0 stm=0 core=5 HZ=100
| stack=0x7f9264f000-0x7f92651000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x05cf7a19> (a java.lang.Daemons$HeapTrimmerDaemon)
at java.lang.Daemons$HeapTrimmerDaemon.run (Daemons.java:311)
- locked <0x05cf7a19> (a java.lang.Daemons$HeapTrimmerDaemon)
at java.lang.Thread.run (Thread.java:818)
"GCDaemon" daemon prio=5 tid=14 Waiting
| group="system" sCount=1 dsCount=0 obj=0x12c05220 self=0x558cecef00
| sysTid=10696 nice=0 cgrp=default sched=0/0 handle=0x558cecf8f0
| state=S schedstat=( 372762706 27354996 228 ) utm=37 stm=0 core=6 HZ=100
| stack=0x7f9254b000-0x7f9254d000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x38e0cade> (a java.lang.Daemons$GCDaemon)
at java.lang.Daemons$GCDaemon.run (Daemons.java:344)
- locked <0x38e0cade> (a java.lang.Daemons$GCDaemon)
at java.lang.Thread.run (Thread.java:818)
"Binder_1" prio=5 tid=15 Native
| group="main" sCount=1 dsCount=0 obj=0x12c6d0a0 self=0x558ced0380
| sysTid=10700 nice=0 cgrp=default sched=0/0 handle=0x558ced00d0
| state=S schedstat=( 35142706 62286975 246 ) utm=3 stm=0 core=0 HZ=100
| stack=0x7f9234f000-0x7f92351000 stackSize=1012KB
| held mutexes=
native: pc 000000000005efec /system/lib64/libc.so (__ioctl+4)
native: pc 00000000000692c4 /system/lib64/libc.so (ioctl+100)
native: pc 00000000000275f0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+164)
native: pc 0000000000027e28 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24)
native: pc 0000000000027ee0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+76)
native: pc 000000000002f818 /system/lib64/libbinder.so (???)
native: pc 0000000000014c20 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+208)
native: pc 000000000008e2b4 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+96)
native: pc 000000000001446c /system/lib64/libutils.so (???)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"Binder_2" prio=5 tid=16 Native
| group="main" sCount=1 dsCount=0 obj=0x12c700a0 self=0x558cc7a700
| sysTid=10701 nice=0 cgrp=default sched=0/0 handle=0x558cc7a450
| state=S schedstat=( 18859170 35957599 208 ) utm=1 stm=0 core=6 HZ=100
| stack=0x7f92251000-0x7f92253000 stackSize=1012KB
| held mutexes=
native: pc 000000000005efec /system/lib64/libc.so (__ioctl+4)
native: pc 00000000000692c4 /system/lib64/libc.so (ioctl+100)
native: pc 00000000000275f0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+164)
native: pc 0000000000027e28 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24)
native: pc 0000000000027ee0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+76)
native: pc 000000000002f818 /system/lib64/libbinder.so (???)
native: pc 0000000000014c20 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+208)
native: pc 000000000008e2b4 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+96)
native: pc 000000000001446c /system/lib64/libutils.so (???)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"FocusHandlerThread" prio=5 tid=17 Native
| group="main" sCount=1 dsCount=0 obj=0x12da2970 self=0x558cff5ff0
| sysTid=10781 nice=0 cgrp=default sched=0/0 handle=0x558cff2460
| state=S schedstat=( 1050468 3004220 14 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7f90e51000-0x7f90e53000 stackSize=1036KB
| held mutexes=
native: pc 000000000005f3b0 /system/lib64/libc.so (__epoll_pwait+8)
native: pc 0000000000015718 /system/lib64/libc.so (epoll_pwait+32)
native: pc 0000000000018d98 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
native: pc 0000000000019154 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+76)
native: pc 00000000000cf084 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvi+48)
native: pc 000000000010f024 /data/dalvik-cache/arm64/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+152)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:143)
at android.os.Looper.loop (Looper.java:122)
at android.os.HandlerThread.run (HandlerThread.java:61)
"OSH_NetworkHandlerThread" prio=5 tid=18 Native
| group="main" sCount=1 dsCount=0 obj=0x12db0820 self=0x558cff8b00
| sysTid=10782 nice=0 cgrp=default sched=0/0 handle=0x558cff94b0
| state=S schedstat=( 2120782 1067813 4 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7f90d4d000-0x7f90d4f000 stackSize=1036KB
| held mutexes=
native: pc 000000000005f3b0 /system/lib64/libc.so (__epoll_pwait+8)
native: pc 0000000000015718 /system/lib64/libc.so (epoll_pwait+32)
native: pc 0000000000018d98 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
native: pc 0000000000019154 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+76)
native: pc 00000000000cf084 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvi+48)
native: pc 000000000010f024 /data/dalvik-cache/arm64/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+152)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:143)
at android.os.Looper.loop (Looper.java:122)
at android.os.HandlerThread.run (HandlerThread.java:61)
"_AsyncTask #1" prio=5 tid=19 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12e3f8e0 self=0x558ced1e40
| sysTid=10790 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x558d064b10
| state=S schedstat=( 37848485 23381361 112 ) utm=3 stm=0 core=0 HZ=100
| stack=0x7f90c49000-0x7f90c4b000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x3b3a34bf> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x3b3a34bf> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"_AsyncTask #2" prio=5 tid=20 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12e3fa00 self=0x558d0732f0
| sysTid=10793 nice=0 cgrp=default sched=0/0 handle=0x558d073a20
| state=S schedstat=( 17766552 16520526 348 ) utm=0 stm=1 core=3 HZ=100
| stack=0x7f90b45000-0x7f90b47000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x3e94d78c> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x3e94d78c> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"pool-2-thread-1" prio=5 tid=21 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12e3fa60 self=0x558d073cd0
| sysTid=10794 nice=0 cgrp=default sched=0/0 handle=0x558d074400
| state=S schedstat=( 13026771 1869063 29 ) utm=1 stm=0 core=5 HZ=100
| stack=0x7f90a41000-0x7f90a43000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x01549ed5> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x01549ed5> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"appbrain_background" prio=5 tid=22 Native
| group="main" sCount=1 dsCount=0 obj=0x12e48660 self=0x558d075370
| sysTid=10795 nice=0 cgrp=default sched=0/0 handle=0x558d075c60
| state=S schedstat=( 1041875 2480573 8 ) utm=0 stm=0 core=5 HZ=100
| stack=0x7f90939000-0x7f9093b000 stackSize=1036KB
| held mutexes=
native: pc 000000000005f3b0 /system/lib64/libc.so (__epoll_pwait+8)
native: pc 0000000000015718 /system/lib64/libc.so (epoll_pwait+32)
native: pc 0000000000018d98 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
native: pc 0000000000019154 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+76)
native: pc 00000000000cf084 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvi+48)
native: pc 000000000010f024 /data/dalvik-cache/arm64/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+152)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:143)
at android.os.Looper.loop (Looper.java:122)
at android.os.HandlerThread.run (HandlerThread.java:61)
"_AsyncTask #3" prio=5 tid=23 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12e3fb80 self=0x558d07cdf0
| sysTid=10796 nice=0 cgrp=default sched=0/0 handle=0x558d07d720
| state=S schedstat=( 17071924 14881825 66 ) utm=1 stm=0 core=0 HZ=100
| stack=0x7f904bc000-0x7f904be000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x072ab6ea> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x072ab6ea> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"GoogleApiHandler" prio=5 tid=24 Native
| group="main" sCount=1 dsCount=0 obj=0x13427ac0 self=0x558d07b1f0
| sysTid=10868 nice=9 cgrp=default sched=0/0 handle=0x558d07b920
| state=S schedstat=( 16044742 5575675 27 ) utm=1 stm=0 core=7 HZ=100
| stack=0x7f8ffa2000-0x7f8ffa4000 stackSize=1036KB
| held mutexes=
native: pc 000000000005f3b0 /system/lib64/libc.so (__epoll_pwait+8)
native: pc 0000000000015718 /system/lib64/libc.so (epoll_pwait+32)
native: pc 0000000000018d98 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
native: pc 0000000000019154 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+76)
native: pc 00000000000cf084 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvi+48)
native: pc 000000000010f024 /data/dalvik-cache/arm64/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+152)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:143)
at android.os.Looper.loop (Looper.java:122)
at android.os.HandlerThread.run (HandlerThread.java:61)
"OSH_LocationHandlerThread" prio=5 tid=25 Native
| group="main" sCount=1 dsCount=0 obj=0x12e6c580 self=0x558d088790
| sysTid=10799 nice=0 cgrp=default sched=0/0 handle=0x558d088fd0
| state=S schedstat=( 12758229 677971 27 ) utm=1 stm=0 core=3 HZ=100
| stack=0x7f901aa000-0x7f901ac000 stackSize=1036KB
| held mutexes=
native: pc 000000000005f3b0 /system/lib64/libc.so (__epoll_pwait+8)
native: pc 0000000000015718 /system/lib64/libc.so (epoll_pwait+32)
native: pc 0000000000018d98 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
native: pc 0000000000019154 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+76)
native: pc 00000000000cf084 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvi+48)
native: pc 000000000010f024 /data/dalvik-cache/arm64/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+152)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:143)
at android.os.Looper.loop (Looper.java:122)
at android.os.HandlerThread.run (HandlerThread.java:61)
"OS_GMS_LOCATION_FALLBACK" prio=5 tid=26 Sleeping
| group="main" sCount=1 dsCount=0 obj=0x12e3fc40 self=0x558d07dd50
| sysTid=10798 nice=0 cgrp=default sched=0/0 handle=0x558d0884e0
| state=S schedstat=( 422186 730573 4 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7f902ae000-0x7f902b0000 stackSize=1036KB
| held mutexes=
at java.lang.Thread.sleep! (Native method)
- sleeping on <0x33e75ddb> (a java.lang.Object)
at java.lang.Thread.sleep (Thread.java:1031)
- locked <0x33e75ddb> (a java.lang.Object)
at java.lang.Thread.sleep (Thread.java:985)
at com.onesignal.i$1.run (SourceFile:198)
at java.lang.Thread.run (Thread.java:818)
"GAC_Executor[0]" prio=5 tid=27 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12f00220 self=0x558d08dde0
| sysTid=10800 nice=0 cgrp=default sched=0/0 handle=0x558d08e810
| state=S schedstat=( 11182243 7828539 58 ) utm=1 stm=0 core=3 HZ=100
| stack=0x7f900a6000-0x7f900a8000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x0a7de078> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x0a7de078> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at com.google.android.gms.internal.zzacv.run (unavailable)
at java.lang.Thread.run (Thread.java:818)
"AdWorker(Default) #1" prio=5 tid=28 TimedWaiting
| group="main" sCount=1 dsCount=0 obj=0x1344abe0 self=0x558cda2a20
| sysTid=10903 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x558cda3150
| state=S schedstat=( 32593176 12452239 98 ) utm=2 stm=1 core=0 HZ=100
| stack=0x7f8de73000-0x7f8de75000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x0842d38d> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x0842d38d> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"_AsyncTask #5" prio=5 tid=29 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12c00be0 self=0x558d1ff980
| sysTid=10846 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x558d1e4370
| state=S schedstat=( 1651355 911407 5 ) utm=0 stm=0 core=6 HZ=100
| stack=0x7f8fe9e000-0x7f8fea0000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x0dec8c24> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x0dec8c24> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"GAC_Executor[1]" prio=5 tid=30 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12fdd100 self=0x558d0bbe50
| sysTid=10808 nice=0 cgrp=default sched=0/0 handle=0x558d0bc580
| state=S schedstat=( 3234637 3077864 31 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7f8f2be000-0x7f8f2c0000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x167557b6> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x167557b6> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at com.google.android.gms.internal.zzacv.run (unavailable)
at java.lang.Thread.run (Thread.java:818)
"RenderThread" prio=5 tid=31 Native
| group="main" sCount=1 dsCount=0 obj=0x12f820a0 self=0x558d093a40
| sysTid=10807 nice=-4 cgrp=default sched=0/0 handle=0x558d0ae3d0
| state=S schedstat=( 1058898523 184184009 1647 ) utm=78 stm=27 core=0 HZ=100
| stack=0x7f8fc9c000-0x7f8fc9e000 stackSize=1012KB
| held mutexes=
native: pc 000000000005f3b0 /system/lib64/libc.so (__epoll_pwait+8)
native: pc 0000000000015718 /system/lib64/libc.so (epoll_pwait+32)
native: pc 0000000000018d98 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
native: pc 0000000000019154 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+76)
native: pc 000000000006b530 /system/lib64/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+100)
native: pc 0000000000014c20 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+208)
native: pc 000000000008e2b4 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+96)
native: pc 000000000001446c /system/lib64/libutils.so (???)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"OkHttp ConnectionPool" daemon prio=5 tid=32 TimedWaiting
| group="main" sCount=1 dsCount=0 obj=0x12f43340 self=0x558d0aa5e0
| sysTid=10805 nice=0 cgrp=default sched=0/0 handle=0x558d0aae20
| state=S schedstat=( 2373489 9629740 26 ) utm=0 stm=0 core=4 HZ=100
| stack=0x7f8fb92000-0x7f8fb94000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x26cd5351> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x26cd5351> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"_AsyncTask #4" prio=5 tid=33 Waiting
| group="main" sCount=1 dsCount=0 obj=0x12e757c0 self=0x558d13b730
| sysTid=10811 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x558d13c0a0
| state=S schedstat=( 1054896 4503178 7 ) utm=0 stm=0 core=3 HZ=100
| stack=0x7f8e547000-0x7f8e549000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x1d73fcb7> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x1d73fcb7> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2016)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:410)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"Binder_3" prio=5 tid=34 Native
| group="main" sCount=1 dsCount=0 obj=0x130180a0 self=0x558d13d280
| sysTid=10812 nice=0 cgrp=default sched=0/0 handle=0x558d13cfd0
| state=S schedstat=( 19691715 40927768 192 ) utm=0 stm=1 core=0 HZ=100
| stack=0x7f8e449000-0x7f8e44b000 stackSize=1012KB
| held mutexes=
native: pc 000000000005efec /system/lib64/libc.so (__ioctl+4)
native: pc 00000000000692c4 /system/lib64/libc.so (ioctl+100)
native: pc 00000000000275f0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+164)
native: pc 0000000000027e28 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24)
native: pc 0000000000027ee0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+76)
native: pc 000000000002f818 /system/lib64/libbinder.so (???)
native: pc 0000000000014c20 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+208)
native: pc 000000000008e2b4 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+96)
native: pc 000000000001446c /system/lib64/libutils.so (???)
native: pc 0000000000018ff0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
native: pc 0000000000015170 /system/lib64/libc.so (__start_thread+16)
"AdWorker(Default) #2" prio=5 tid=35 TimedWaiting
| group="main" sCount=1 dsCount=0 obj=0x1346e0a0 self=0x558d18e2d0
| sysTid=10905 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x558d18ea00
| state=S schedstat=( 2437292 2695312 25 ) utm=0 stm=0 core=5 HZ=100
| stack=0x7f8cc74000-0x7f8cc76000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x0cf73942> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x0cf73942> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
"AdWorker(Default) #3" prio=5 tid=37 TimedWaiting
| group="main" sCount=1 dsCount=0 obj=0x1346e160 self=0x558d08c230
| sysTid=10906 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x558d18edc0
| state=S schedstat=( 1998180 3640052 26 ) utm=0 stm=0 core=6 HZ=100
| stack=0x7f8cb70000-0x7f8cb72000 stackSize=1036KB
| held mutexes=
at java.lang.Object.wait! (Native method)
- waiting on <0x23c1ad53> (a java.lang.Object)
at java.lang.Thread.parkFor (Thread.java:1220)
- locked <0x23c1ad53> (a java.lang.Object)
at sun.misc.Unsafe.park (Unsafe.java:299)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:197)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2055)
at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:435)
at java.util.concurrent.Th
"Signal Catcher" daemon prio=5 tid=9 Runnable
| group="system" sCount=0 dsCount=0 obj=0x12c000a0 self=0x558cc68240
| sysTid=10691 nice=0 cgrp=default sched=0/0 handle=0x558cc67f90
| state=R schedstat=( 417978494 11470515 172 ) utm=8 stm=33 core=0 HZ=100
| stack=0x7f92a5f000-0x7f92a61000 stackSize=1012KB
| held mutexes= "thread list lock" "mutator lock"(exclusive held)
native: pc 00000000000039a4 /system/lib64/libbacktrace_libc++.so (_ZN9Backtrace6UnwindEmP8ucontext+28)
native: pc 000000000000001c ???
We are running OneSignal AndroidSDK 3.5.8 and seeing multiple ANRs in the console. Please find the complete thread backtrace.