求助:一个ANR问题
"main" prio=5 tid=1 NATIVE| group="main" sCount=1 dsCount=0 obj=0x40d9b9a0 self=0x56f6a010
| sysTid=3510 nice=0 sched=0/0 cgrp=apps handle=1074074444
| state=S schedstat=( 2923555850329 1683200028211 7046738 ) utm=219388 stm=72936 core=2
#00 pc 000182c4 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000e5dc /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000e638 /system/lib/libc.so (__pthread_cond_timedwait+60)
#03 pc 000536e9 /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+72)
#04 pc 0004d801 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+404)
#05 pc 00027920 /system/lib/libdvm.so
#06 pc 0002b964 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#07 pc 000605b7 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
#08 pc 00067fed /system/lib/libdvm.so
#09 pc 00027920 /system/lib/libdvm.so
#10 pc 0002b964 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#11 pc 000602e1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
#12 pc 00049de3 /system/lib/libdvm.so
#13 pc 00047a99 /system/lib/libandroid_runtime.so
#14 pc 000487b7 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)
#15 pc 00000d97 /system/bin/app_process
#16 pc 000128df /system/lib/libc.so (__libc_init+38)
#17 pc 00000ac8 /system/bin/app_process
at android.os.BinderProxy.transact(Native Method)
at com.android.internal.telephony.IPhoneSubInfo$Stub$Proxy.getDeviceId(IPhoneSubInfo.java:196)
at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:239)
......
这个是部分日志,很奇怪为什么会在android.os.BinderProxy.transact(Native Method),网上查了半天没头绪,大家帮忙看看是什么原因吧 --------------------编程问答-------------------- 单看这个不好找出问题,你去网上找找出现ARN的情况,然后排查出自己的问题,或者你就出现ARN的情况描述下,帮忙戳一下http://vote.blog.csdn.net/blogstaritem/blogstar2013/xiaanming --------------------编程问答-------------------- 求牛人... --------------------编程问答-------------------- 没有人能解答一下吗 --------------------编程问答-------------------- BinderProxy.transact是在使用Binder进行通信的时候调用的方法 --------------------编程问答-------------------- 这样的ANR我以前解过很多,各有各的原因。思路是看CPU被哪个进程占的最多,然后进入这个进程对应的code查,你的日志里面一定有CPU占用率的信息。如这个:
CPU usage from 3950ms to -1308ms ago with 99% awake:
34% TOTAL: 11% user + 22% kernel + 0.9% iowait
贴出来看看
补充:移动开发 , Android