程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程解疑 >> anr-Android 發生ANR時候在traces根本發現不了哪裡錯了,求解答

anr-Android 發生ANR時候在traces根本發現不了哪裡錯了,求解答

編輯:編程解疑
Android 發生ANR時候在traces根本發現不了哪裡錯了,求解答

App裡面Log日志報的ANR錯:

11-09 16:46:42.739: E/ActivityManager(1309): ANR in com.dingdingpai.paybox (com.dingdingpai.paybox/com.zftpay.paybox.activity.acquirer.nearby.NearByPaySucAct)
11-09 16:46:42.739: E/ActivityManager(1309): PID: 28531
11-09 16:46:42.739: E/ActivityManager(1309): Reason: Input dispatching timed out (Waiting because the touched window has not finished processing the input events that were previously delivered to it.)
11-09 16:46:42.739: E/ActivityManager(1309): Load: 19.43 / 18.81 / 18.84
11-09 16:46:42.739: E/ActivityManager(1309): CPU usage from 36891ms to 0ms ago with 99% awake:
11-09 16:46:42.739: E/ActivityManager(1309): 86% 28531/com.dingdingpai.paybox: 82% user + 3.9% kernel / faults: 179 minor 29 major
11-09 16:46:42.739: E/ActivityManager(1309): 2% 406/adbd: 0.1% user + 1.9% kernel / faults: 1549 minor
11-09 16:46:42.739: E/ActivityManager(1309): 1.1% 213/mediaserver: 0% user + 1.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.9% 1695/android.process.media: 0.4% user + 0.4% kernel / faults: 1 minor
11-09 16:46:42.739: E/ActivityManager(1309): 0.8% 1309/system_server: 0.5% user + 0.2% kernel / faults: 853 minor 36 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.6% 2623/mpdecision: 0% user + 0.6% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.4% 20721/kworker/0:2H: 0% user + 0.4% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.4% 1457/com.android.systemui: 0.2% user + 0.1% kernel / faults: 1467 minor 532 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.3% 127/w1_bus_master1: 0% user + 0.3% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.2% 25402/com.xiaomi.gamecenter: 0% user + 0.2% kernel / faults: 4 minor 1 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 1784/com.android.phone: 0.1% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 2248/com.miui.securitycenter.remote: 0.1% user + 0% kernel / faults: 1244 minor 96 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 25659/kworker/0:3H: 0% user + 0.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 3/ksoftirqd/0: 0% user + 0.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 30244/kworker/0:2: 0% user + 0.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 7/kworker/u:0H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 26627/logcat: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 30827/kworker/u:4: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 155/mmcqd/0: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 200/servicemanager: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 210/surfaceflinger: 0% user + 0% kernel / faults: 1 minor 1 major
11-09 16:46:42.739: E/ActivityManager(1309): 0% 402/thermal-engine: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 13894/wpa_supplicant: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 30833/kworker/u:12: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2/kthreadd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 33/kworker/u:1H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 222/qrngd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 336/sdcard: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 400/location-mq: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 821/mdss_fb0: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 1741/com.sohu.inputmethod.sogou.xiaomi: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 1827/com.miui.whetstone: 0% user + 0% kernel / faults: 4 minor
11-09 16:46:42.739: E/ActivityManager(1309): 0% 1860/com.miui.home: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2138/com.miui.powerkeeper:service: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2226/com.miui.networkassistant.deamon: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2590/mcd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2957/sogou.mobile.explorer.hotwords: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 13881/MC_Thread: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 13883/RX_Thread: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31241/migration/1: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31242/kworker/1:0: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31243/kworker/1:0H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31244/ksoftirqd/1: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31254/kworker/1:1: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31433/kworker/1:1H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31434/kworker/0:1H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31437/kworker/1:2H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 55% TOTAL: 49% user + 6% kernel + 0% iowait + 0% softirq
11-09 16:46:42.739: E/ActivityManager(1309): CPU usage from 2259ms to 2795ms later:
11-09 16:46:42.739: E/ActivityManager(1309): 108% 28531/com.dingdingpai.paybox: 107% user + 1.7% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 16% 30950/Thread-1615: 16% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 14% 31058/Thread-1623: 14% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 14% 31096/Thread-1627: 14% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 14% 31176/Thread-1631: 12% user + 1.7% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 30866/Thread-1612: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 31043/Thread-1621: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 31089/Thread-1625: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 31119/Thread-1629: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.7% 28554/FileObserver: 1.7% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 7.2% 1309/system_server: 5.4% user + 1.8% kernel / faults: 1 minor
11-09 16:46:42.739: E/ActivityManager(1309): 7.2% 1338/ActivityManager: 3.6% user + 3.6% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.8% 213/mediaserver: 0% user + 1.8% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.8% 406/adbd: 0% user + 1.8% kernel / faults: 32 minor
11-09 16:46:42.739: E/ActivityManager(1309): 1.8% 406/adbd: 0% user + 1.8% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31531/adbd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.3% 31244/ksoftirqd/1: 0% user + 1.3% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 43% TOTAL: 39% user + 3.4% kernel

然後我在traces文件裡面去找PID: 28531的根本發現不了什麼錯

單獨拉出來PID=28531的拉出來如下:

"Thread-1633" prio=5 tid=1 VMWAIT
| group="main" sCount=1 dsCount=0 obj=0x42b18010 self=0x416f4860
| sysTid=28531 nice=0 sched=0/0 cgrp=apps handle=1074823508
| state=S schedstat=( 23570772482 18096225770 108042 ) utm=1866 stm=491 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0004d663 /system/lib/libdvm.so
#04 pc 0003cd0d /system/lib/libdvm.so
#05 pc 0004f255 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+420)
#06 pc 00001063 /system/bin/app_process
#07 pc 0000e4bb /system/lib/libc.so (__libc_init+50)
#08 pc 00000d80 /system/bin/app_process
at dalvik.system.NativeStart.run(Native Method)

但是根本不知道是哪裡報錯了啊,好糾結啊,用了騰訊的bugly也根本不行啊,有點崩潰,哪位大神給看下到底出錯了啊,拜謝

下面是pid=28531的全部traces日志:

----- pid 28531 at 2016-11-09 16:46:39 -----
Cmd line: com.dingdingpai.paybox

JNI: CheckJNI is off; workarounds are off; pins=1; globals=498

DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)

"Thread-1631" prio=5 tid=26 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x42b0e968 self=0x62c1cec8
| sysTid=31176 nice=0 sched=0/0 cgrp=apps handle=1656772904
| state=S schedstat=( 3633299697 1606457029 4432 ) utm=337 stm=26 core=1
at java.lang.VMThread.sleep(Native Method)
at java.lang.Thread.sleep(Thread.java:1013)
at java.lang.Thread.sleep(Thread.java:995)
at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:111)
at java.lang.Thread.run(Thread.java:841)

"Thread-1633" prio=5 tid=1 VMWAIT
| group="main" sCount=1 dsCount=0 obj=0x42b18010 self=0x416f4860
| sysTid=28531 nice=0 sched=0/0 cgrp=apps handle=1074823508
| state=S schedstat=( 23570772482 18096225770 108042 ) utm=1866 stm=491 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0004d663 /system/lib/libdvm.so
#04 pc 0003cd0d /system/lib/libdvm.so
#05 pc 0004f255 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+420)
#06 pc 00001063 /system/bin/app_process
#07 pc 0000e4bb /system/lib/libc.so (__libc_init+50)
#08 pc 00000d80 /system/bin/app_process
at dalvik.system.NativeStart.run(Native Method)

"Thread-1629" prio=5 tid=34 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x424ef5a0 self=0x61f39890
| sysTid=31119 nice=0 sched=0/0 cgrp=apps handle=1621144376
| state=S schedstat=( 3689865326 1726587225 4851 ) utm=343 stm=25 core=1
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0005655f /system/lib/libdvm.so
#04 pc 00056b21 /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+34)
#05 pc 00055c81 /system/lib/libdvm.so
#06 pc 00055ce7 /system/lib/libdvm.so (dvmThreadSleep(unsigned long long, unsigned int)+62)
#07 pc 00000214 /dev/ashmem/dalvik-jit-code-cache (deleted)
at java.lang.VMThread.sleep(Native Method)
at java.lang.Thread.sleep(Thread.java:1013)
at java.lang.Thread.sleep(Thread.java:995)
at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:111)
at java.lang.Thread.run(Thread.java:841)

"Thread-1627" prio=5 tid=33 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x428e4638 self=0x61f1c890
| sysTid=31096 nice=0 sched=0/0 cgrp=apps handle=1643236584
| state=S schedstat=( 3674041640 1764672973 5137 ) utm=332 stm=35 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"Thread-1625" prio=5 tid=32 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x424e1200 self=0x61ee9860
| sysTid=31089 nice=0 sched=0/0 cgrp=apps handle=1643027640
| state=S schedstat=( 3708275048 1726739259 5283 ) utm=337 stm=33 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"Thread-1623" prio=5 tid=30 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x426c2158 self=0x62c222b8
| sysTid=31058 nice=0 sched=0/0 cgrp=apps handle=1656829440
| state=S schedstat=( 3700224020 1786775127 5578 ) utm=344 stm=26 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~343)
at android.os.Handler.enqueueMessage(Handler.java:626)
at android.os.Handler.sendMessageAtTime(Handler.java:595)
at android.os.Handler.sendMessageDelayed(Handler.java:566)
at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530)
at android.os.Handler.sendEmptyMessage(Handler.java:515)
at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112)
at java.lang.Thread.run(Thread.java:841)

"Thread-1621" prio=5 tid=29 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x42b37f08 self=0x62c5c1d0
| sysTid=31043 nice=0 sched=0/0 cgrp=apps handle=1621199688
| state=S schedstat=( 3730750307 1943187029 5817 ) utm=347 stm=26 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"AudioRecord" prio=10 tid=28 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x424969d0 self=0x62c207d0
| sysTid=30963 nice=-16 sched=0/0 cgrp=apps handle=1621178400
| state=S schedstat=( 4357705 17892868 76 ) utm=0 stm=0 core=0
#00 pc 00021a9c /system/lib/libc.so (__futex_syscall3+12)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 00051bbd /system/lib/libmedia.so (android::AudioRecord::AudioRecordThread::threadLoop()+100)
#03 pc 0000ea4d /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104)
#04 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#05 pc 0000e5ef /system/lib/libutils.so
#06 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#07 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"Thread-1615" prio=5 tid=25 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x42b044e0 self=0x62c6ae78
| sysTid=30950 nice=0 sched=0/0 cgrp=apps handle=1615996768
| state=S schedstat=( 8791873112 4710523269 7727 ) utm=851 stm=28 core=1
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0005655f /system/lib/libdvm.so
#04 pc 00056b21 /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+34)
#05 pc 0004c3b3 /system/lib/libdvm.so
#06 pc 0004e073 /system/lib/libdvm.so
#07 pc 00083623 /system/lib/libandroid_runtime.so
#08 pc 0008365b /system/lib/libandroid_runtime.so
#09 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#11 pc 00000214 /dev/ashmem/dalvik-jit-code-cache (deleted)
at android.media.AudioRecord.native_read_in_short_array(Native Method)
at android.media.AudioRecord.read(AudioRecord.java:663)
at com.tuner168.ble_bracelet_sim.audio.RecognizeThread.run(RecognizeThread.java:102)

"Timer-2" prio=5 tid=20 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x42b1baf8 self=0x6057c798
| sysTid=30909 nice=0 sched=0/0 cgrp=apps handle=1621135960
| state=S schedstat=( 20484377 5202030 40 ) utm=2 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.util.Timer$TimerImpl) at java.lang.Object.wait(Object.java:401) at java.util.Timer$TimerImpl.run(Timer.java:238)

"pool-3-thread-2" prio=5 tid=24 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x4292c330 self=0x6057d638
| sysTid=30867 nice=0 sched=0/0 cgrp=apps handle=1658670960
| state=S schedstat=( 32660106 13747029 65 ) utm=3 stm=0 core=1
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=24 (pool-3-thread-2) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:429) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:331) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:910) 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:841)

"Thread-1612" prio=5 tid=23 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x42927908 self=0x62dd56c0
| sysTid=30866 nice=0 sched=0/0 cgrp=apps handle=1656995496
| state=S schedstat=( 3839698317 1806337748 7682 ) utm=350 stm=33 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"[email protected]@428b4460" daemon prio=5 tid=19 WAIT
| group="main" sCount=1 dsCount=0 obj=0x428b72f8 self=0x62c0a5d8
| sysTid=30852 nice=0 sched=0/0 cgrp=apps handle=1616152720
| state=S schedstat=( 305990 46979 6 ) utm=0 stm=0 core=2
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.ref.ReferenceQueue) at java.lang.Object.wait(Object.java:401) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73) at org.apache.http.impl.conn.tsccm.RefQueueWorker.run(RefQueueWorker.java:102) at java.lang.Thread.run(Thread.java:841)

"CommunicationWithDeviceThread" prio=5 tid=21 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x427db388 self=0x60517ec0
| sysTid=28580 nice=0 sched=0/0 cgrp=apps handle=1615950296
| state=S schedstat=( 281667 0 2 ) utm=0 stm=0 core=0
#00 pc 000218d0 /system/lib/libc.so (epoll_wait+12)
#01 pc 0001081b /system/lib/libutils.so (android::Looper::pollInner(int)+98)
#02 pc 00010a45 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
#03 pc 0006bb19 /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
#04 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#05 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#06 pc 000297e0 /system/lib/libdvm.so
#07 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#08 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#09 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#10 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#11 pc 00058133 /system/lib/libdvm.so
#12 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#13 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:138)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:61)

"Binder_4" prio=5 tid=18 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x4266e1c8 self=0x60525cf0
| sysTid=28564 nice=0 sched=0/0 cgrp=apps handle=1616009896
| state=S schedstat=( 17960418 45819164 121 ) utm=1 stm=0 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"WifiManager" prio=5 tid=17 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x42573cd8 self=0x60524008
| sysTid=28561 nice=0 sched=0/0 cgrp=apps handle=1616004192
| state=S schedstat=( 17615048 65286354 145 ) utm=0 stm=1 core=0
#00 pc 000218d0 /system/lib/libc.so (epoll_wait+12)
#01 pc 0001081b /system/lib/libutils.so (android::Looper::pollInner(int)+98)
#02 pc 00010a45 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
#03 pc 0006bb19 /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
#04 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#05 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#06 pc 00000214 /dev/ashmem/dalvik-jit-code-cache (deleted)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:138)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:61)

"Binder_3" prio=5 tid=16 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x425317f8 self=0x60514010
| sysTid=28559 nice=0 sched=0/0 cgrp=apps handle=1615936968
| state=S schedstat=( 17389168 46019273 138 ) utm=0 stm=1 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"java.lang.ProcessManager" daemon prio=5 tid=15 WAIT
| group="main" sCount=1 dsCount=0 obj=0x4252fd28 self=0x60513768
| sysTid=28557 nice=0 sched=0/0 cgrp=apps handle=1615934240
| state=S schedstat=( 5171247 879583 37 ) utm=0 stm=0 core=1
at java.lang.Object.wait(Native Method)

  • waiting on (a java.util.HashMap) at java.lang.Object.wait(Object.java:364) at java.lang.ProcessManager.waitForMoreChildren(ProcessManager.java:140) at java.lang.ProcessManager.watchChildren(ProcessManager.java:105) at java.lang.ProcessManager.access$000(ProcessManager.java:40) at java.lang.ProcessManager$1.run(ProcessManager.java:58)

"FileObserver" prio=5 tid=14 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x424c8d30 self=0x5f551718
| sysTid=28554 nice=0 sched=0/0 cgrp=apps handle=1616506096
| state=S schedstat=( 2674007 4621617 16 ) utm=0 stm=0 core=0
at java.lang.StackTraceElement.(StackTraceElement.java:~61)
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:579)
at java.lang.Thread.getAllStackTraces(Thread.java:521)
at com.tencent.bugly.proguard.a.a(BUGLY:943)
at com.tencent.bugly.crashreport.crash.anr.b.a(BUGLY:395)
at com.tencent.bugly.crashreport.crash.anr.b$1.onEvent(BUGLY:462)
at android.os.FileObserver$ObserverThread.onEvent(FileObserver.java:125)
at android.os.FileObserver$ObserverThread.observe(Native Method)
at android.os.FileObserver$ObserverThread.run(FileObserver.java:88)

"BUGLY_THREAD" prio=5 tid=12 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x42491a18 self=0x60297378
| sysTid=28553 nice=0 sched=0/0 cgrp=apps handle=1599414472
| state=S schedstat=( 13214376 14080415 57 ) utm=1 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=12 (BUGLY_THREAD) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2056) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1062) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:778) 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:841)

"BUGLY_THREAD" prio=5 tid=13 WAIT
| group="main" sCount=1 dsCount=0 obj=0x4248fea8 self=0x6028f940
| sysTid=28552 nice=0 sched=0/0 cgrp=apps handle=1613299096
| state=S schedstat=( 109396885 61975669 283 ) utm=3 stm=7 core=2
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=13 (BUGLY_THREAD) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1057) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:778) 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:841)

"BUGLY_THREAD" prio=5 tid=11 WAIT
| group="main" sCount=1 dsCount=0 obj=0x4247f7d8 self=0x5f550d68
| sysTid=28550 nice=0 sched=0/0 cgrp=apps handle=1599410624
| state=S schedstat=( 25886336 22998661 313 ) utm=1 stm=1 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=11 (BUGLY_THREAD) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1057) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:778) 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:841)

"Binder_2" prio=5 tid=10 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x4244dec0 self=0x5f4d4008
| sysTid=28545 nice=0 sched=0/0 cgrp=apps handle=1596783464
| state=S schedstat=( 19653653 26620362 131 ) utm=1 stm=0 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"Binder_1" prio=5 tid=9 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x4244dd20 self=0x5f2cf250
| sysTid=28544 nice=0 sched=0/0 cgrp=apps handle=1596780552
| state=S schedstat=( 17057920 52076197 126 ) utm=1 stm=0 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"FinalizerWatchdogDaemon" daemon prio=5 tid=8 WAIT
| group="system" sCount=1 dsCount=0 obj=0x424487f0 self=0x5bde28b0
| sysTid=28541 nice=0 sched=0/0 cgrp=apps handle=1541287176
| state=S schedstat=( 451876 609218 14 ) utm=0 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.Daemons$FinalizerWatchdogDaemon) at java.lang.Object.wait(Object.java:364) at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:230) at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:207) at java.lang.Thread.run(Thread.java:841)

"FinalizerDaemon" daemon prio=5 tid=7 WAIT
| group="system" sCount=1 dsCount=0 obj=0x42448640 self=0x5bde2008
| sysTid=28540 nice=0 sched=0/0 cgrp=apps handle=1541284960
| state=S schedstat=( 14235421 8436818 47 ) utm=1 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.ref.ReferenceQueue) at java.lang.Object.wait(Object.java:401) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170) at java.lang.Thread.run(Thread.java:841)

"ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
| group="system" sCount=1 dsCount=0 obj=0x424484d8 self=0x5ec14460
| sysTid=28539 nice=0 sched=0/0 cgrp=apps handle=1589725368
| state=S schedstat=( 2807867 4756510 18 ) utm=0 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on at java.lang.Object.wait(Object.java:364) at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:130) at java.lang.Thread.run(Thread.java:841)

"Compiler" daemon prio=5 tid=5 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x424483e8 self=0x5ec14008
| sysTid=28538 nice=0 sched=0/0 cgrp=apps handle=1541294864
| state=S schedstat=( 374628429 196207032 2486 ) utm=19 stm=18 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 00076c4b /system/lib/libdvm.so
#04 pc 00057815 /system/lib/libdvm.so
#05 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#06 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=4 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x42448300 self=0x58b35830
| sysTid=28537 nice=0 sched=0/0 cgrp=apps handle=1487448632
| state=S schedstat=( 2560678 3524426 20 ) utm=0 stm=0 core=0
#00 pc 0002086c /system/lib/libc.so (select+20)
#01 pc 0006433f /system/lib/libdvm.so
#02 pc 00066e91 /system/lib/libdvm.so
#03 pc 00057815 /system/lib/libdvm.so
#04 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#05 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
| group="system" sCount=0 dsCount=0 obj=0x42448208 self=0x5bdde338
| sysTid=28536 nice=0 sched=0/0 cgrp=apps handle=1589714456
| state=R schedstat=( 21778283 13446303 35 ) utm=1 stm=1 core=1
at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=2 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x42448128 self=0x58b37830
| sysTid=28535 nice=0 sched=0/0 cgrp=apps handle=1541266408
| state=S schedstat=( 290835661 1780590841 14137 ) utm=2 stm=27 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0007560f /system/lib/libdvm.so
#04 pc 00057815 /system/lib/libdvm.so
#05 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#06 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

NATIVE THREADS:
"gdingpai.paybox" sysTid=30946 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 9895416 257812 7 ) utm=0 stm=0 core=0

"gdingpai.paybox" sysTid=30947 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 49167 106614 2 ) utm=0 stm=0 core=0

"gdingpai.paybox" sysTid=30948 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 60885 0 2 ) utm=0 stm=0 core=0

"gdingpai.paybox" sysTid=30949 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 43230 9980989 3 ) utm=0 stm=0 core=0

"GL updater" sysTid=31132 nice=-10 sched=0/0 cgrp=apps
| state=S schedstat=( 364636 305104 4 ) utm=0 stm=0 core=1

----- end 28531 -----

最佳回答:


圖片說明

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved