"main" tid = 1 Native "main" prio = 5 tid = 1 Native ANR после перезапуска сервисной работы - PullRequest
0 голосов
/ 31 октября 2019

Мое приложение имеет службу переднего плана, которая отправляет местоположение пользователя на сервер с помощью диспетчера аварийных сигналов.

Эта служба снова перезапускается прослушивателем вещания, если система закрывает его, этот процесс перезапуска начинается через 14 секунд после того, как система закрывает его.

Получение этого ANR в игровом магазине, не знаю причину. Любая подсказка?

ANR информация:


Huawei Mate 10 lite (HWRNE), Android 8.0
Report 1
"main" tid=1 Native
"main" prio=5 tid=1 Native
 | group="main" sCount=1 dsCount=0 flags=1 obj=0x735f6a20 self=0x76612a3a00
 | sysTid=12087 nice=-10 cgrp=default sched=0/0 handle=0x76661c69b0
 | state=S schedstat=( 3321320315 343093231 3421 ) utm=268 stm=64 core=3 HZ=100
 | stack=0x7fc7652000-0x7fc7654000 stackSize=8MB
 | held mutexes=

 #00  pc 0000000000069800  /system/lib64/libc.so (__epoll_pwait+8)

 #01  pc 000000000001f6c0  /system/lib64/libc.so (epoll_pwait+48)

 #02  pc 0000000000015c80  /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)

 #03  pc 0000000000015b68  /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+108)

 #04  pc 000000000011b320  /system/lib64/libandroid_runtime.so (???)

 #05  pc 000000000020169c  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140)

 at android.os.MessageQueue.nativePollOnce (Native method)

 at android.os.MessageQueue.next (MessageQueue.java:379)

 at android.os.Looper.loop (Looper.java:144)

 at android.app.ActivityThread.main (ActivityThread.java:7529)

 at java.lang.reflect.Method.invoke (Native method)

 at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)

 at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
"Jit thread pool worker thread 0" tid=2 Native
"Jit thread pool worker thread 0" daemon prio=5 tid=2 Native
 | group="main" sCount=1 dsCount=0 flags=1 obj=0x12cc01d0 self=0x7656895400
 | sysTid=12092 nice=9 cgrp=default sched=0/0 handle=0x7656dce4f0
 | state=S schedstat=( 878030205 372717189 926 ) utm=70 stm=17 core=3 HZ=100
 | stack=0x7656cd0000-0x7656cd2000 stackSize=1021KB
 | held mutexes=

 #00  pc 000000000001daac  /system/lib64/libc.so (syscall+28)

 #01  pc 00000000000e1ee4  /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+152)

 #02  pc 0000000000478304  /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+256)

 #03  pc 00000000004778b8  /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124)

 #04  pc 0000000000477384  /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+144)

 #05  pc 00000000000671b8  /system/lib64/libc.so (ZL15_pthread_startPv+36)

 #06  pc 000000000001eee4  /system/lib64/libc.so (__start_thread+68)
"FinalizerWatchdogDaemon" tid=4 Waiting
"FinalizerWatchdogDaemon" daemon prio=5 tid=4 Waiting
 | group="system" sCount=1 dsCount=0 flags=1 obj=0x12cc02e0 self=0x76612a7600
 | sysTid=12096 nice=4 cgrp=default sched=0/0 handle=0x76454504f0
 | state=S schedstat=( 1248437 12697400 44 ) utm=0 stm=0 core=0 HZ=100
 | stack=0x764534e000-0x7645350000 stackSize=1037KB
 | held mutexes=

 at java.lang.Object.wait (Native method)
- waiting on <0x0b667bec> (a java.lang.Daemons$FinalizerWatchdogDaemon)

 at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:300)
- locked <0x0b667bec> (a java.lang.Daemons$FinalizerWatchdogDaemon)

 at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:280)

 at java.lang.Daemons$Daemon.run (Daemons.java:103)

 at java.lang.Thread.run (Thread.java:784)
"FinalizerDaemon" tid=5 Waiting
"FinalizerDaemon" daemon prio=5 tid=5 Waiting
 | group="system" sCount=1 dsCount=0 flags=1 obj=0x12cc0370 self=0x76612a6200
 | sysTid=12095 nice=4 cgrp=default sched=0/0 handle=0x76455554f0
 | state=S schedstat=( 5129693 11300515 50 ) utm=0 stm=0 core=2 HZ=100
 | stack=0x7645453000-0x7645455000 stackSize=1037KB
 | held mutexes=

 at java.lang.Object.wait (Native method)
- waiting on <0x08ecdbb5> (a java.lang.Object)

 at java.lang.Object.wait (Object.java:422)

 at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)
- locked <0x08ecdbb5> (a java.lang.Object)

 at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)

 at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:235)

 at java.lang.Daemons$Daemon.run (Daemons.java:103)

 at java.lang.Thread.run (Thread.java:784)
"ReferenceQueueDaemon" tid=7 Waiting




"Binder:12087_1" tid=8 Native














"Binder:12087_2" tid=9 Native










"Profile Saver" tid=10 Native






"Timer-6" tid=11 TimedWaiting




"GoogleApiHandler" tid=12 Native










"GAC_Executor[0]" tid=13 Waiting











"Timer-0" tid=14 TimedWaiting




"hwuiTask2" tid=15 Native







"RenderThread" tid=16 Native









"HwBinder:12087_1" tid=17 Native










"Timer-2" tid=18 TimedWaiting




"Binder:12087_7" tid=19 Native










"hwuiTask1" tid=20 Native







"GAC_Executor[1]" tid=21 Waiting











"queued-work-looper" tid=22 Native










"Binder:12087_3" tid=23 Native














"Binder:12087_5" tid=24 Native










"Binder:12087_4" tid=25 Native










"OkHttp ConnectionPool" tid=26 TimedWaiting





"AsyncTask #11" tid=27 Waiting












"Okio Watchdog" tid=30 TimedWaiting




"process reaper" tid=31 Native









"Binder:12087_6" tid=32 Native










"Timer-4" tid=33 TimedWaiting




"Thread-4"
"mali-mem-purge"
"mali-utility-wo"
"mali-utility-wo"
"mali-utility-wo"
"mali-utility-wo"
"mali-utility-wo"
"mali-utility-wo"
"mali-utility-wo"
"mali-utility-wo"
"mali-cmar-backe"
"mali-hist-dump"
"Signal Catcher" tid=3 Runnable











"HeapTaskDaemon" tid=6 Blocked
...