Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANR: executing service app.xxx/com.onesignal.SyncJobService #599

Closed
iForests opened this issue Jul 24, 2018 · 4 comments
Closed

ANR: executing service app.xxx/com.onesignal.SyncJobService #599

iForests opened this issue Jul 24, 2018 · 4 comments

Comments

@iForests
Copy link

iForests commented Jul 24, 2018

Description:
There are a lot of ANRs reported to Google Play Console.

Environment
Compile SDK Version: 27
Target SDK Version: 16
OneSignal SDK Version: 3.9.2

ANR Report

The "OSH_NetworkHandlerThread" (tid=33) thread is in waiting state.

"main" tid=1 Blocked 
"main" prio=5 tid=1 Blocked
  | group="main" sCount=1 dsCount=0 obj=0x75ea9608 self=0xf4285400
  | sysTid=1316 nice=-4 cgrp=default sched=0/0 handle=0xf74bb534
  | state=S schedstat=( 1690403628 185013451 2809 ) utm=128 stm=41 core=0 HZ=100
  | stack=0xff380000-0xff382000 stackSize=8MB
  | held mutexes=
  at com.onesignal.UserStateSynchronizer.getToSyncUserState (SourceFile:115)
- waiting to lock <0x0d237245> (a com.onesignal.UserStatePushSynchronizer) held by thread 27
  at com.onesignal.UserStateSynchronizer.getRegistrationId (SourceFile:31)
  at com.onesignal.OneSignalStateSynchronizer.getRegistrationId (SourceFile:123)
  at com.onesignal.OneSignal.internalFireIdsAvailableCallback (SourceFile:1702)
- locked <0x0b46dd9a> (a java.lang.Class<com.onesignal.OneSignal>)
  at com.onesignal.OneSignal.access$2900 (SourceFile:80)
  at com.onesignal.OneSignal$15$1.run (SourceFile:1671)
  at com.onesignal.OSUtils.runOnMainUIThread (SourceFile:278)
  at com.onesignal.OneSignal$15.run (SourceFile:1668)
  at com.onesignal.OneSignal.idsAvailable (SourceFile:1684)
  at app.xxx.sdk.f.aU (SourceFile:833)
  at app.xxx.sdk.f.a (SourceFile:544)
  at app.xxx.sdk.MainPageV4Activity.a (SourceFile:1028)
  at app.xxx.sdk.b.aq$1.a (SourceFile:42)
  at retrofit2.g$a$1$1.run (SourceFile:70)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6836)
  at java.lang.reflect.Method.invoke! (Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)
  
"OSH_NetworkHandlerThread" tid=27 TimedWaiting 
"OSH_NetworkHandlerThread" prio=5 tid=27 TimedWaiting
  | group="main" sCount=1 dsCount=0 obj=0x12d41740 self=0xee71e500
  | sysTid=1361 nice=0 cgrp=default sched=0/0 handle=0xd4af9920
  | state=S schedstat=( 8052461 1170268 13 ) utm=0 stm=0 core=1 HZ=100
  | stack=0xd49f7000-0xd49f9000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0cb7919f> (a java.lang.Object)
  at java.lang.Object.wait (Object.java:407)
  at java.lang.Thread.join (Thread.java:1299)
- locked <0x0cb7919f> (a java.lang.Object)
  at com.onesignal.OneSignalRestClient.makeRequest (SourceFile:106)
  at com.onesignal.OneSignalRestClient.putSync (SourceFile:82)
  at com.onesignal.UserStateSynchronizer.doPutSync (SourceFile:255)
  at com.onesignal.UserStateSynchronizer.internalSyncUserState (SourceFile:189)
  at com.onesignal.UserStateSynchronizer.syncUserState (SourceFile:160)
- locked <0x0d237245> (a com.onesignal.UserStatePushSynchronizer)
  at com.onesignal.UserStateSynchronizer$NetworkHandlerThread$1.run (SourceFile:69)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.os.HandlerThread.run (HandlerThread.java:61)
  
"FocusHandlerThread" tid=25 Native 
"FocusHandlerThread" prio=5 tid=25 Native
  | group="main" sCount=1 dsCount=0 obj=0x12c5dce0 self=0xe69a6c00
  | sysTid=1357 nice=0 cgrp=default sched=0/0 handle=0xd54b1920
  | state=S schedstat=( 606540 0 7 ) utm=0 stm=0 core=3 HZ=100
  | stack=0xd53af000-0xd53b1000 stackSize=1038KB
  | held mutexes=
  #00  pc 0000000000049404  /system/lib/libc.so (__epoll_pwait+20)
  #01  pc 000000000001a6e1  /system/lib/libc.so (epoll_pwait+60)
  #02  pc 000000000001a711  /system/lib/libc.so (epoll_wait+12)
  #03  pc 0000000000011d43  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)
  #04  pc 0000000000011c3f  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)
  #05  pc 0000000000096cc5  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
  #06  pc 000000000070f44d  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:323)
  at android.os.Looper.loop (Looper.java:136)
  at android.os.HandlerThread.run (HandlerThread.java:61)
  
"OSH_WritePrefs" tid=26 Native 
"OSH_WritePrefs" prio=5 tid=26 Native
  | group="main" sCount=1 dsCount=0 obj=0x12e07420 self=0xe69a6700
  | sysTid=1356 nice=0 cgrp=default sched=0/0 handle=0xd4ef0920
  | state=S schedstat=( 4002734 6373577 13 ) utm=0 stm=0 core=2 HZ=100
  | stack=0xd4dee000-0xd4df0000 stackSize=1038KB
  | held mutexes=
  #00  pc 0000000000049404  /system/lib/libc.so (__epoll_pwait+20)
  #01  pc 000000000001a6e1  /system/lib/libc.so (epoll_pwait+60)
  #02  pc 000000000001a711  /system/lib/libc.so (epoll_wait+12)
  #03  pc 0000000000011d43  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)
  #04  pc 0000000000011c3f  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)
  #05  pc 0000000000096cc5  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
  #06  pc 000000000070f44d  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:323)
  at android.os.Looper.loop (Looper.java:136)
  at android.os.HandlerThread.run (HandlerThread.java:61)
  
"GoogleApiHandler" tid=38 Native 
"GoogleApiHandler" prio=5 tid=38 Native
  | group="main" sCount=1 dsCount=0 obj=0x12d9ba60 self=0xd44e5700
  | sysTid=1382 nice=9 cgrp=default sched=0/0 handle=0xd16be920
  | state=S schedstat=( 12118766 30237425 28 ) utm=1 stm=0 core=0 HZ=100
  | stack=0xd15bc000-0xd15be000 stackSize=1038KB
  | held mutexes=
  #00  pc 0000000000049404  /system/lib/libc.so (__epoll_pwait+20)
  #01  pc 000000000001a6e1  /system/lib/libc.so (epoll_pwait+60)
  #02  pc 000000000001a711  /system/lib/libc.so (epoll_wait+12)
  #03  pc 0000000000011d43  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)
  #04  pc 0000000000011c3f  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)
  #05  pc 0000000000096cc5  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
  #06  pc 000000000070f44d  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:323)
  at android.os.Looper.loop (Looper.java:136)
  at android.os.HandlerThread.run (HandlerThread.java:61)
  
"Jit thread pool worker thread 0" tid=2 Native 
"Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
  | group="" sCount=1 dsCount=0 obj=0x0 self=0xead1c000
  | sysTid=1321 nice=9 cgrp=default sched=0/0 handle=0xf39a8920
  | state=S schedstat=( 229281603 141002854 305 ) utm=18 stm=4 core=3 HZ=100
  | stack=0xf38aa000-0xf38ac000 stackSize=1022KB
  | held mutexes=
  #00  pc 0000000000017520  /system/lib/libc.so (syscall+28)
  #01  pc 00000000000b68a1  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)
  #02  pc 0000000000344d6d  /system/lib/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+160)
  #03  pc 000000000034459b  /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+62)
  #04  pc 00000000003440c1  /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+64)
  #05  pc 0000000000047f83  /system/lib/libc.so (_ZL15__pthread_startPv+22)
  #06  pc 000000000001a151  /system/lib/libc.so (__start_thread+6)
  
"ReferenceQueueDaemon" tid=4 Waiting 
"ReferenceQueueDaemon" daemon prio=5 tid=4 Waiting
  | group="system" sCount=1 dsCount=0 obj=0x12c4ddc0 self=0xe95f3800
  | sysTid=1323 nice=0 cgrp=default sched=0/0 handle=0xf37a8920
  | state=S schedstat=( 9540037 3323270 36 ) utm=0 stm=0 core=1 HZ=100
  | stack=0xf36a6000-0xf36a8000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x03cd76cb> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
  at java.lang.Daemons$ReferenceQueueDaemon.run (Daemons.java:150)
- locked <0x03cd76cb> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
  at java.lang.Thread.run (Thread.java:762)
  
"FinalizerDaemon" tid=5 Waiting 
"FinalizerDaemon" daemon prio=5 tid=5 Waiting
  | group="system" sCount=1 dsCount=0 obj=0x12c4de50 self=0xe95f3d00
  | sysTid=1324 nice=0 cgrp=default sched=0/0 handle=0xf36a3920
  | state=S schedstat=( 8920771 5267500 33 ) utm=0 stm=0 core=3 HZ=100
  | stack=0xf35a1000-0xf35a3000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x04af9ea8> (a java.lang.Object)
  at java.lang.Object.wait (Object.java:407)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)
- locked <0x04af9ea8> (a java.lang.Object)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)
  at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:204)
  at java.lang.Thread.run (Thread.java:762)
  
"FinalizerWatchdogDaemon" tid=6 Waiting 
"FinalizerWatchdogDaemon" daemon prio=5 tid=6 Waiting
  | group="system" sCount=1 dsCount=0 obj=0x12c4dee0 self=0xe95f4200
  | sysTid=1325 nice=0 cgrp=default sched=0/0 handle=0xf359e920
  | state=S schedstat=( 458422 0 7 ) utm=0 stm=0 core=0 HZ=100
  | stack=0xf349c000-0xf349e000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0f0dedc1> (a java.lang.Daemons$FinalizerWatchdogDaemon)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:269)
- locked <0x0f0dedc1> (a java.lang.Daemons$FinalizerWatchdogDaemon)
  at java.lang.Daemons$FinalizerWatchdogDaemon.run (Daemons.java:249)
  at java.lang.Thread.run (Thread.java:762)
  
"Binder:1316_1" tid=8 Native 
"Binder:1316_1" prio=5 tid=8 Native
  | group="main" sCount=1 dsCount=0 obj=0x12c53160 self=0xead1d400
  | sysTid=1327 nice=0 cgrp=default sched=0/0 handle=0xda2be920
  | state=S schedstat=( 25005376 5598694 138 ) utm=1 stm=1 core=3 HZ=100
  | stack=0xda1c2000-0xda1c4000 stackSize=1014KB
  | held mutexes=
  #00  pc 0000000000049544  /system/lib/libc.so (__ioctl+8)
  #01  pc 000000000001b32f  /system/lib/libc.so (ioctl+38)
  #02  pc 000000000003ce89  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+168)
  #03  pc 000000000003cf85  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)
  #04  pc 000000000003d50b  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)
  #05  pc 000000000004f935  /system/lib/libbinder.so (???)
  #06  pc 000000000000e369  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)
  #07  pc 000000000006a345  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
  #08  pc 0000000000047f83  /system/lib/libc.so (_ZL15__pthread_startPv+22)
  #09  pc 000000000001a151  /system/lib/libc.so (__start_thread+6)
  
"Binder:1316_2" tid=9 Native 
"Binder:1316_2" prio=5 tid=9 Native
  | group="main" sCount=1 dsCount=0 obj=0x12c531f0 self=0xe95f5100
  | sysTid=1328 nice=0 cgrp=default sched=0/0 handle=0xda1bf920
  | state=S schedstat=( 22934734 8900612 126 ) utm=0 stm=2 core=0 HZ=100
  | stack=0xda0c3000-0xda0c5000 stackSize=1014KB
  | held mutexes=
  #00  pc 0000000000049544  /system/lib/libc.so (__ioctl+8)
  #01  pc 000000000001b32f  /system/lib/libc.so (ioctl+38)
  #02  pc 000000000003ce89  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+168)
  #03  pc 000000000003cf85  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)
  #04  pc 000000000003d50b  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)
  #05  pc 000000000004f935  /system/lib/libbinder.so (???)
  #06  pc 000000000000e369  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)
  #07  pc 000000000006a345  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
  #08  pc 0000000000047f83  /system/lib/libc.so (_ZL15__pthread_startPv+22)
  #09  pc 000000000001a151  /system/lib/libc.so (__start_thread+6)
  
"Profile Saver" tid=10 Native 
"Profile Saver" daemon prio=5 tid=10 Native
  | group="system" sCount=1 dsCount=0 obj=0x12c53820 self=0xead1e800
  | sysTid=1329 nice=0 cgrp=default sched=0/0 handle=0xd95e2920
  | state=S schedstat=( 42010038 8920501 23 ) utm=4 stm=0 core=1 HZ=100
  | stack=0xd94e6000-0xd94e8000 stackSize=1014KB
  | held mutexes=
  #00  pc 0000000000017520  /system/lib/libc.so (syscall+28)
  #01  pc 00000000000b68a1  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)
  #02  pc 000000000025a8a9  /system/lib/libart.so (_ZN3art12ProfileSaver3RunEv+296)
  #03  pc 000000000025bbed  /system/lib/libart.so (_ZN3art12ProfileSaver21RunProfileSaverThreadEPv+52)
  #04  pc 0000000000047f83  /system/lib/libc.so (_ZL15__pthread_startPv+22)
  #05  pc 000000000001a151  /system/lib/libc.so (__start_thread+6)
  
"pool-4-thread-1" tid=14 TimedWaiting 
"pool-4-thread-1" prio=5 tid=14 TimedWaiting
  | group="main" sCount=1 dsCount=0 obj=0x12cd3700 self=0xead20100
  | sysTid=1340 nice=0 cgrp=default sched=0/0 handle=0xd9314920
  | state=S schedstat=( 5877114 5492040 25 ) utm=0 stm=0 core=2 HZ=100
  | stack=0xd9212000-0xd9214000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0ba53966> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0ba53966> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:201)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2077)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1103)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1084)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"pool-5-thread-1" tid=16 Waiting 
"pool-5-thread-1" prio=5 tid=16 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12cd93a0 self=0xead20600
  | sysTid=1341 nice=0 cgrp=default sched=0/0 handle=0xd910a920
  | state=S schedstat=( 129176845 74385076 269 ) utm=11 stm=1 core=0 HZ=100
  | stack=0xd9008000-0xd900a000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x07bab4a7> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x07bab4a7> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1091)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1084)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Queue" tid=17 Waiting 
"Queue" prio=10 tid=17 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d05280 self=0xe69a5300
  | sysTid=1342 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xd8dfb920
  | state=S schedstat=( 56232769 6771616 41 ) utm=5 stm=0 core=3 HZ=100
  | stack=0xd8cf9000-0xd8cfb000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0db3fd54> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0db3fd54> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.PriorityBlockingQueue.take (PriorityBlockingQueue.java:519)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:197)
  at io.fabric.sdk.android.services.concurrency.c.b (SourceFile:236)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:65)
  at io.fabric.sdk.android.services.concurrency.c.take (SourceFile:46)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Queue" tid=18 Waiting 
"Queue" prio=10 tid=18 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d05310 self=0xe69a5800
  | sysTid=1343 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xd8cf6920
  | state=S schedstat=( 49655921 92168659 112 ) utm=4 stm=0 core=3 HZ=100
  | stack=0xd8bf4000-0xd8bf6000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0fcaa4fd> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0fcaa4fd> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.PriorityBlockingQueue.take (PriorityBlockingQueue.java:519)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:197)
  at io.fabric.sdk.android.services.concurrency.c.b (SourceFile:236)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:65)
  at io.fabric.sdk.android.services.concurrency.c.take (SourceFile:46)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Queue" tid=19 Waiting 
"Queue" prio=10 tid=19 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d053a0 self=0xe69a3500
  | sysTid=1344 nice=-8 cgrp=default sched=0/0 handle=0xd8bf1920
  | state=S schedstat=( 846309 4484230 13 ) utm=0 stm=0 core=3 HZ=100
  | stack=0xd8aef000-0xd8af1000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x003b85f2> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x003b85f2> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.PriorityBlockingQueue.take (PriorityBlockingQueue.java:519)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:197)
  at io.fabric.sdk.android.services.concurrency.c.b (SourceFile:236)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:65)
  at io.fabric.sdk.android.services.concurrency.c.take (SourceFile:46)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Queue" tid=20 Waiting 
"Queue" prio=10 tid=20 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d05670 self=0xe69a6200
  | sysTid=1347 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xd89df920
  | state=S schedstat=( 1778769 886692 4 ) utm=0 stm=0 core=1 HZ=100
  | stack=0xd88dd000-0xd88df000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0753f443> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0753f443> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.PriorityBlockingQueue.take (PriorityBlockingQueue.java:519)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:197)
  at io.fabric.sdk.android.services.concurrency.c.b (SourceFile:236)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:65)
  at io.fabric.sdk.android.services.concurrency.c.take (SourceFile:46)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Queue" tid=21 Waiting 
"Queue" prio=10 tid=21 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d05430 self=0xe69a5d00
  | sysTid=1345 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xd8ae6920
  | state=S schedstat=( 2836345 6435732 12 ) utm=0 stm=0 core=2 HZ=100
  | stack=0xd89e4000-0xd89e6000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x01fd9ac0> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x01fd9ac0> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.PriorityBlockingQueue.take (PriorityBlockingQueue.java:519)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:197)
  at io.fabric.sdk.android.services.concurrency.c.b (SourceFile:236)
  at io.fabric.sdk.android.services.concurrency.c.a (SourceFile:65)
  at io.fabric.sdk.android.services.concurrency.c.take (SourceFile:46)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Answers Events Handler1" tid=22 Waiting 
"Answers Events Handler1" prio=5 tid=22 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12db5dc0 self=0xe69a7100
  | sysTid=1351 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xd51ff920
  | state=S schedstat=( 50707574 56999541 97 ) utm=3 stm=2 core=0 HZ=100
  | stack=0xd50fd000-0xd50ff000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0ea193f9> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0ea193f9> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1091)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1084)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at io.fabric.sdk.android.services.b.n$1$1.onRun (SourceFile:75)
  at io.fabric.sdk.android.services.b.h.run (SourceFile:30)
  at java.lang.Thread.run (Thread.java:762)
  
"Crashlytics Exception Handler1" tid=23 Waiting 
"Crashlytics Exception Handler1" prio=5 tid=23 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12e06430 self=0xe69a7b00
  | sysTid=1353 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xd50fa920
  | state=S schedstat=( 37418690 16641270 48 ) utm=1 stm=2 core=2 HZ=100
  | stack=0xd4ff8000-0xd4ffa000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x01780f3e> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x01780f3e> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:413)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at io.fabric.sdk.android.services.b.n$1$1.onRun (SourceFile:75)
  at io.fabric.sdk.android.services.b.h.run (SourceFile:30)
  at java.lang.Thread.run (Thread.java:762)
  
"FlurryAgent" tid=28 Native 
"FlurryAgent" prio=5 tid=28 Native
  | group="main" sCount=1 dsCount=0 obj=0x12cd95e0 self=0xe69a7600
  | sysTid=1364 nice=0 cgrp=default sched=0/0 handle=0xd49f4920
  | state=S schedstat=( 232978513 46108076 535 ) utm=19 stm=4 core=3 HZ=100
  | stack=0xd48f2000-0xd48f4000 stackSize=1038KB
  | held mutexes=
  #00  pc 0000000000017520  /system/lib/libc.so (syscall+28)
  #01  pc 00000000000b68a1  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)
  #02  pc 00000000003f559f  /system/lib/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE+230)
  #03  pc 00000000003f548f  /system/lib/libart.so (_ZN3art12JniMethodEndEjPNS_6ThreadE+8)
  #04  pc 000000000070f457  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+106)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:323)
  at android.os.Looper.loop (Looper.java:136)
  at android.os.HandlerThread.run (HandlerThread.java:61)
  
"pool-3-thread-1" tid=29 TimedWaiting 
"pool-3-thread-1" prio=5 tid=29 TimedWaiting
  | group="main" sCount=1 dsCount=0 obj=0x12d18b80 self=0xd472ba00
  | sysTid=1366 nice=0 cgrp=default sched=0/0 handle=0xd48ef920
  | state=S schedstat=( 6730846 69154 8 ) utm=0 stm=0 core=0 HZ=100
  | stack=0xd47ed000-0xd47ef000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0881a2ec> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0881a2ec> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:201)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2077)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1103)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1084)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"pool-9-thread-1" tid=30 Waiting 
"pool-9-thread-1" prio=5 tid=30 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d9baf0 self=0xead6f400
  | sysTid=1369 nice=0 cgrp=default sched=0/0 handle=0xd467f920
  | state=S schedstat=( 39379462 4887307 69 ) utm=3 stm=0 core=2 HZ=100
  | stack=0xd457d000-0xd457f000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0d5e76b5> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0d5e76b5> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:413)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"FileObserver" tid=31 Native 
"FileObserver" prio=5 tid=31 Native
  | group="main" sCount=1 dsCount=0 obj=0x12cd30d0 self=0xd472e700
  | sysTid=1370 nice=0 cgrp=default sched=0/0 handle=0xd447f920
  | state=S schedstat=( 231501 121038 2 ) utm=0 stm=0 core=0 HZ=100
  | stack=0xd437d000-0xd437f000 stackSize=1038KB
  | held mutexes=
  #00  pc 000000000004a5c0  /system/lib/libc.so (read+8)
  #01  pc 00000000000c72a9  /system/lib/libandroid_runtime.so (???)
  #02  pc 00000000006db44b  /system/framework/arm/boot-framework.oat (Java_android_os_FileObserver_00024ObserverThread_observe__I+78)
  at android.os.FileObserver$ObserverThread.observe (Native method)
  at android.os.FileObserver$ObserverThread.run (FileObserver.java:85)
  
"AdWorker(Default) #2" tid=34 Waiting 
"AdWorker(Default) #2" prio=5 tid=34 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d18280 self=0xd472f100
  | sysTid=1374 nice=0 cgrp=default sched=0/0 handle=0xd3746920
  | state=S schedstat=( 3500961 609539 11 ) utm=0 stm=0 core=2 HZ=100
  | stack=0xd3644000-0xd3646000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0e61e14a> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0e61e14a> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:430)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:333)
  at java.util.concurrent.SynchronousQueue.take (SynchronousQueue.java:891)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"AdWorker(Default) #4" tid=35 Waiting 
"AdWorker(Default) #4" prio=5 tid=35 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12d18550 self=0xead72b00
  | sysTid=1376 nice=0 cgrp=default sched=0/0 handle=0xd385e920
  | state=S schedstat=( 14023808 1842460 54 ) utm=0 stm=1 core=1 HZ=100
  | stack=0xd375c000-0xd375e000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x0b8da8bb> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x0b8da8bb> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:430)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:333)
  at java.util.concurrent.SynchronousQueue.take (SynchronousQueue.java:891)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"OkHttp ConnectionPool" tid=37 TimedWaiting 
"OkHttp ConnectionPool" daemon prio=5 tid=37 TimedWaiting
  | group="main" sCount=1 dsCount=0 obj=0x12c96c10 self=0xe69a3a00
  | sysTid=1378 nice=0 cgrp=default sched=0/0 handle=0xd17fe920
  | state=S schedstat=( 622038 0 6 ) utm=0 stm=0 core=3 HZ=100
  | stack=0xd16fc000-0xd16fe000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x005c01d8> (a com.android.okhttp.ConnectionPool)
  at com.android.okhttp.ConnectionPool.performCleanup (ConnectionPool.java:319)
- locked <0x005c01d8> (a com.android.okhttp.ConnectionPool)
  at com.android.okhttp.ConnectionPool.runCleanupUntilPoolIsEmpty (ConnectionPool.java:256)
  at com.android.okhttp.ConnectionPool.-wrap0 (ConnectionPool.java)
  at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:102)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:762)
  
"Chrome_IOThread" tid=39 Native 
"Chrome_IOThread" prio=7 tid=39 Native
  | group="main" sCount=1 dsCount=0 obj=0x12dd6ca0 self=0xd44e6b00
  | sysTid=1383 nice=-4 cgrp=default sched=0/0 handle=0xd0cff920
  | state=S schedstat=( 149043061 49315801 610 ) utm=12 stm=2 core=3 HZ=100
  | stack=0xd0c03000-0xd0c05000 stackSize=1014KB
  | held mutexes=
  #00  pc 0000000000049404  /system/lib/libc.so (__epoll_pwait+20)
  #01  pc 000000000001a6e1  /system/lib/libc.so (epoll_pwait+60)
  #02  pc 000000000001a711  /system/lib/libc.so (epoll_wait+12)
  #03  pc 000000000003c07d  /data/app/com.android.chrome-1/base.apk (???)
  
"TaskSchedulerFo" tid=40 Native 
"TaskSchedulerFo" prio=5 tid=40 Native
  | group="main" sCount=1 dsCount=0 obj=0x12dd6940 self=0xd5241300
  | sysTid=1388 nice=0 cgrp=default sched=0/0 handle=0xd06dc920
  | state=S schedstat=( 66243533 55358611 276 ) utm=5 stm=1 core=3 HZ=100
  | stack=0xd05e0000-0xd05e2000 stackSize=1014KB
  | held mutexes=
  #00  pc 0000000000017524  /system/lib/libc.so (syscall+32)
  #01  pc 0000000000047b0b  /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)
  #02  pc 0000000000052ae9  /data/app/com.android.chrome-1/base.apk (???)
  
"TaskSchedulerSi" tid=41 Native 
"TaskSchedulerSi" prio=5 tid=41 Native
  | group="main" sCount=1 dsCount=0 obj=0x12dd6550 self=0xd0d11e00
  | sysTid=1392 nice=0 cgrp=default sched=0/0 handle=0xd02ff920
  | state=S schedstat=( 7502769 216885 11 ) utm=0 stm=0 core=2 HZ=100
  | stack=0xd0203000-0xd0205000 stackSize=1014KB
  | held mutexes=
  #00  pc 0000000000017520  /system/lib/libc.so (syscall+28)
  #01  pc 0000000000047b0b  /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)
  #02  pc 00000000000394e3  /data/app/com.android.chrome-1/base.apk (???)
  
"GAC_Executor[0]" tid=42 Waiting 
"GAC_Executor[0]" prio=5 tid=42 Waiting
  | group="main" sCount=1 dsCount=0 obj=0x12dd6310 self=0xd44e5c00
  | sysTid=1395 nice=0 cgrp=default sched=0/0 handle=0xcff7f920
  | state=S schedstat=( 2937154 1191577 10 ) utm=0 stm=0 core=3 HZ=100
  | stack=0xcfe7d000-0xcfe7f000 stackSize=1038KB
  | held mutexes=
  at java.lang.Object.wait! (Native method)
- waiting on <0x04ccc931> (a java.lang.Object)
  at java.lang.Thread.parkFor$ (Thread.java:2128)
- locked <0x04ccc931> (a java.lang.Object)
  at sun.misc.Unsafe.park (Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)
  at java.util.concurren
  
"Signal Catcher" tid=3 Runnable 
"Signal Catcher" daemon prio=5 tid=3 Runnable
  | group="system" sCount=0 dsCount=0 obj=0x12c4dd30 self=0xe95f2400
  | sysTid=1322 nice=0 cgrp=default sched=0/0 handle=0xf38a7920
  | state=R schedstat=( 75819307 0 28 ) utm=4 stm=3 core=2 HZ=100
  | stack=0xf37ab000-0xf37ad000 stackSize=1014KB
  | held mutexes= "mutator lock"(shared held)
  #00  pc 00000000003511a9  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
  #01  pc 00000000003316bd  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+304)
  #02  pc 0000000000343817  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+622)
  #03  pc 000000000033d5a1  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+336)
  #04  pc 000000000033d2c1  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+180)
  #05  pc 000000000033d1b3  /system/lib/libart.so (_ZN3art10ThreadList14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+570)
  #06  pc 00000000003225c9  /system/lib/libart.so (_ZN3art7Runtime14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+228)
  #07  pc 0000000000326f41  /system/lib/libart.so (_ZN3art13SignalCatcher13HandleSigQuitEv+1460)
  #08  pc 000000000032601d  /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+352)
  #09  pc 0000000000047f83  /system/lib/libc.so (_ZL15__pthread_startPv+22)
  #10  pc 000000000001a151  /system/lib/libc.so (__start_thread+6)
  
"HeapTaskDaemon" tid=7 Blocked 
"HeapTaskDaemon" daemon prio=5 tid=7 Blocked
  | group="system" sCount=1 dsCount=0 obj=0x12c4df70 self=0xe95f4700
  | sysTid=1326 nice=0 cgrp=default sched=0/0 handle=0xe6388920
  | state=S schedstat=( 444738485 176310138 362 ) utm=41 stm=3 core=3 HZ=100
  | stack=0xe6286000-0xe6288000 stackSize=1038KB
  | held mutexes=
  #00  pc 0000000000017520  /system/lib/libc.so (syscall+28)
  #01  pc 00000000000b68a1  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)
  #02  pc 00000000001b58e1  /system/lib/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+288)
  #03  pc 00000000001b5f55  /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+44)
  #04  pc 00000000001603df  /system/framework/arm/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+74)
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
- waiting to lock an unknown object
  at java.lang.Daemons$HeapTaskDaemon.run (Daemons.java:433)
  at java.lang.Thread.run (Thread.java:762)
@iForests iForests reopened this Jul 24, 2018
@iForests
Copy link
Author

Here are build.gradle files:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext.kotlin_version = '1.2.51'
    ext {
        compile_sdk_version = 27
        build_tools_version = '27.0.3'
        support_library_version = '27.1.1'

        version_code = 185
        version_name = '1.185'
    }

    repositories {
        jcenter()
        maven { url 'https://plugins.gradle.org/m2/'}
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.2'
        classpath 'com.google.gms:google-services:4.0.1'
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.11.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files

        classpath 'com.jakewharton:butterknife-gradle-plugin:8.6.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
apply plugin: 'kotlin'

allprojects {
    repositories {
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
        jcenter()
    }
}

repositories {
    mavenCentral()
    maven {
        url 'https://maven.google.com/'
        name 'Google'
    }
}
dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
compileKotlin {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}
compileTestKotlin {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}
// It is a library project

apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.jakewharton.butterknife'
// apply from: 'https://raw.githubusercontent.com/JeroenMols/GitAsMaven/master/publish-bitbucket.gradle'

android {
    compileSdkVersion rootProject.compile_sdk_version
    buildToolsVersion rootProject.build_tools_version

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 16
        versionCode rootProject.version_code
        versionName rootProject.version_name
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        manifestPlaceholders = [onesignal_app_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                                onesignal_google_project_number: "000000000000"]
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

kotlin {
    experimental { coroutines 'enable' }
}

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://api.bitbucket.org/1.0/repositories/livapp/androidcommonlib/raw/releases"
            credentials {
                username REPOSITORY_USERNAME
                password REPOSITORY_PASSWORD
            }
        }
        maven { url "https://jitpack.io" }
        mavenCentral()
    }
}

repositories {
    maven { url 'https://maven.fabric.io/public' }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile "com.android.support:appcompat-v7:$rootProject.support_library_version"
    compile "com.android.support:design:$rootProject.support_library_version"

    compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.5'
    compile 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22.5'

    compile 'com.squareup.retrofit2:retrofit:2.4.0'
    compile 'com.squareup.retrofit2:converter-gson:2.4.0'
    compile 'com.google.code.gson:gson:2.8.2'
    compile 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-experimental-adapter:1.0.0'

    compile 'com.jakewharton:butterknife:8.6.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'

    compile 'com.squareup.picasso:picasso:2.5.2'
    compile 'jp.wasabeef:picasso-transformations:2.1.2'

    compile 'com.github.amlcurran.showcaseview:library:5.4.3'

    compile 'com.facebook.android:facebook-android-sdk:4.34.0'

    compile('com.crashlytics.sdk.android:crashlytics:2.6.7@aar') {
        transitive = true
    }

    compile 'com.mixerboxlabs.commonlib:commonlib:0.61'

    compile 'org.greenrobot:eventbus:3.0.0'

    compile 'com.google.firebase:firebase-core:16.0.1'
    compile 'com.google.firebase:firebase-ads:15.0.1'

    // For interstitial
    compile('com.mopub:mopub-sdk-interstitial:4.15.0@aar') {
        transitive = true
    }

    // For native static (images).
    compile('com.mopub:mopub-sdk-native-static:4.15.0@aar') {
        transitive = true
    }

    // For banner
    compile('com.mopub:mopub-sdk-banner:4.15.0@aar') {
        transitive = true
    }

    compile 'com.inmobi.monetization:inmobi-ads:7.0.2'

    compile 'com.onesignal:OneSignal:3.9.2'

    compile 'com.github.JetradarMobile:android-snowfall:1.1.6'

    compile 'cn.pedant.sweetalert:library:1.3'
}

@Nightsd01
Copy link
Contributor

@iForests Thanks for your excellent bug report, we are looking into this now. It looks like a deadlock is causing the main UI thread to become unresponsive.

Is this the only type of ANR you are seeing or are you seeing separate reports as well?

We should have an update soon to fix this (and other) ANR's/race condition issues.

@iForests
Copy link
Author

iForests commented Aug 3, 2018

There are 3 types of ANR that look similar.

executing service app.xxx/com.onesignal.SyncJobService
com.onesignal.SyncJobService

-

Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 }
(no location available)

-

Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 56. Wait queue head age: 20508.4ms.)
app.xxx.sdk.MainPageV4Activity

There is anohter type of ANR. I am not sure whether they are the same or not. Please let me know if I should open another issue for the following one. Thanks.

Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) }
(no location available)

"main" prio=5 tid=1 Blocked
  | group="main" sCount=1 dsCount=0 obj=0x7654d098 self=0x7f956c7a00
  | sysTid=13480 nice=-4 cgrp=default sched=0/0 handle=0x7f99f6fa98
  | state=S schedstat=( 3044039364 656938551 9986 ) utm=179 stm=125 core=5 HZ=100
  | stack=0x7fee53a000-0x7fee53c000 stackSize=8MB
  | held mutexes=
  at com.onesignal.LocationGMS.onFocusChange (SourceFile:293)
- waiting to lock <0x0054a293> (a com.onesignal.LocationGMS$1) held by thread 83
  at com.onesignal.OneSignal.onAppFocus (SourceFile:1113)
  at com.onesignal.ActivityLifecycleHandler.handleFocus (SourceFile:120)
  at com.onesignal.ActivityLifecycleHandler.onActivityResumed (SourceFile:74)
  at com.onesignal.ActivityLifecycleListener.onActivityResumed (SourceFile:48)
  at android.app.Application.dispatchActivityResumed (Application.java:240)
  at android.app.Activity.onResume (Activity.java:1331)
  at android.support.v4.app.FragmentActivity.onResume (SourceFile:485)
  at app.xxx.sdk.MainPageV4Activity.onResume (SourceFile:386)
  at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1277)
  at android.app.Activity.performResume (Activity.java:7079)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3823)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3887)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1707)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6732)
  at java.lang.reflect.Method.invoke! (Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)

@Nightsd01 Nightsd01 mentioned this issue Aug 3, 2018
@Nightsd01
Copy link
Contributor

@iForests This issue has now been resolved in 3.10.1, thank you for your very detailed bug report!

About that last ANR you posted....I don't think that is being caused by our SDK. Could you post the entire ANR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants