Too many ANRs in Launcher App[com.android.launcher process]

104 views
Skip to first unread message

Maunik Shah

unread,
Dec 17, 2012, 4:38:42 AM12/17/12
to android-...@googlegroups.com
Hi Developers,

I'm facing too many ANR in launcher App during the monkey run (not much reproducible). The count of the ANR is around 3877.
I noticed that in every 17 sec the ANR triggers on Launcher App and every time I get the same & generic native call stack as following:

Could you plase help me out regarding this issue?

Thanks,
Maunik

----- pid 4827 at 1980-01-08 10:37:10 -----
Cmd line: com.android.launcher

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

"main" prio=5 tid=1 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x40ff16a0 self=0x4007f018
  | sysTid=4827 nice=0 sched=0/0 cgrp=apps handle=1075516976
  | schedstat=( 0 0 0 ) utm=68 stm=16 core=0
  #00  pc 0000dab0  /system/lib/libc.so (epoll_wait+12)
  #01  pc 000145b1  /system/lib/libutils.so (android::Looper::pollInner(int)+96)
  #02  pc 00014819  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+104)
  #03  pc 0005f27f  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
  #04  pc 0001f330  /system/lib/libdvm.so (dvmPlatformInvoke+112)
  #05  pc 0004e079  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+360)
  #06  pc 000287e0  /system/lib/libdvm.so
  #07  pc 0002cfa8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
  #08  pc 0005f93f  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
  #09  pc 000668e5  /system/lib/libdvm.so
  #10  pc 000287e0  /system/lib/libdvm.so
  #11  pc 0002cfa8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
  #12  pc 0005f695  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
  #13  pc 0004a6a7  /system/lib/libdvm.so
  #14  pc 00048c49  /system/lib/libandroid_runtime.so
  #15  pc 00049665  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+368)
  #16  pc 00000dcf  /system/bin/app_process
  #17  pc 00017193  /system/lib/libc.so (__libc_init+38)
  #18  pc 00000b34  /system/bin/app_process
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:125)
  at android.os.Looper.loop(Looper.java:124)
  at android.app.ActivityThread.main(ActivityThread.java:4800)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
  at dalvik.system.NativeStart.main(Native Method)

"AsyncTask #1" prio=5 tid=13 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x418d5520 self=0x4f466a18
  | sysTid=4851 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1075381024
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x418d56b8> (a java.lang.VMThread) held by tid=13 (AsyncTask #1)
  at java.lang.Thread.parkFor(Thread.java:1231)
  at sun.misc.Unsafe.park(Unsafe.java:323)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2022)
  at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:413)
  at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1009)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1069)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
  at java.lang.Thread.run(Thread.java:856)

"FileObserver" prio=5 tid=12 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x418b9bd8 self=0x51b61008
  | sysTid=4849 nice=0 sched=0/0 cgrp=apps handle=1374338744
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  #00  pc 0000c99c  /system/lib/libc.so (read+12)
  #01  pc 0007a081  /system/lib/libandroid_runtime.so
  #02  pc 0001f330  /system/lib/libdvm.so (dvmPlatformInvoke+112)
  #03  pc 0004e079  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+360)
  #04  pc 000287e0  /system/lib/libdvm.so
  #05  pc 0002cfa8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
  #06  pc 0005f695  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
  #07  pc 0005f6bf  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
  #08  pc 00054ae7  /system/lib/libdvm.so
  #09  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #10  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at android.os.FileObserver$ObserverThread.observe(Native Method)
  at android.os.FileObserver$ObserverThread.run(FileObserver.java:88)

"launcher-loader" prio=5 tid=11 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x418b7ac0 self=0x4f446470
  | sysTid=4848 nice=0 sched=0/0 cgrp=apps handle=1370899784
  | schedstat=( 0 0 0 ) utm=23 stm=3 core=0
  #00  pc 0000dab0  /system/lib/libc.so (epoll_wait+12)
  #01  pc 000145b1  /system/lib/libutils.so (android::Looper::pollInner(int)+96)
  #02  pc 00014819  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+104)
  #03  pc 0005f27f  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
  #04  pc 0001f330  /system/lib/libdvm.so (dvmPlatformInvoke+112)
  #05  pc 0004e079  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+360)
  #06  pc 000287e0  /system/lib/libdvm.so
  #07  pc 0002cfa8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
  #08  pc 0005f695  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
  #09  pc 0005f6bf  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
  #10  pc 00054ae7  /system/lib/libdvm.so
  #11  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #12  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:125)
  at android.os.Looper.loop(Looper.java:124)
  at android.os.HandlerThread.run(HandlerThread.java:60)

"Binder_2" prio=5 tid=10 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x41881bd0 self=0x400928f0
  | sysTid=4843 nice=0 sched=0/0 cgrp=apps handle=1367244432
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  #00  pc 0000cbd0  /system/lib/libc.so (__ioctl+8)
  #01  pc 00027ff5  /system/lib/libc.so (ioctl+16)
  #02  pc 00016b6d  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+124)
  #03  pc 0001731f  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+154)
  #04  pc 0001af55  /system/lib/libbinder.so
  #05  pc 00010e37  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+114)
  #06  pc 00048b79  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+44)
  #07  pc 0001099d  /system/lib/libutils.so
  #08  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #09  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at dalvik.system.NativeStart.run(Native Method)

"Binder_1" prio=5 tid=9 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x41881ae0 self=0x51cf6600
  | sysTid=4836 nice=0 sched=0/0 cgrp=apps handle=1361294504
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  #00  pc 0000cbd0  /system/lib/libc.so (__ioctl+8)
  #01  pc 00027ff5  /system/lib/libc.so (ioctl+16)
  #02  pc 00016b6d  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+124)
  #03  pc 0001731f  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+154)
  #04  pc 0001af55  /system/lib/libbinder.so
  #05  pc 00010e37  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+114)
  #06  pc 00048b79  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+44)
  #07  pc 0001099d  /system/lib/libutils.so
  #08  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #09  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at dalvik.system.NativeStart.run(Native Method)

"FinalizerWatchdogDaemon" daemon prio=5 tid=8 WAIT
  | group="system" sCount=1 dsCount=0 obj=0x4187d930 self=0x51d2b618
  | sysTid=4835 nice=0 sched=0/0 cgrp=apps handle=1372764776
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40ff8e50> (a java.lang.Daemons$FinalizerWatchdogDaemon)
  at java.lang.Object.wait(Object.java:364)
  at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:214)
  at java.lang.Thread.run(Thread.java:856)

"FinalizerDaemon" daemon prio=5 tid=7 WAIT
  | group="system" sCount=1 dsCount=0 obj=0x4187d780 self=0x51eab008
  | sysTid=4834 nice=0 sched=0/0 cgrp=apps handle=1370573296
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40fe7690> (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:169)
  at java.lang.Thread.run(Thread.java:856)

"ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
  | group="system" sCount=1 dsCount=0 obj=0x4187d618 self=0x51bbd9c8
  | sysTid=4833 nice=0 sched=0/0 cgrp=apps handle=1080617936
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40fe75b8>
  at java.lang.Object.wait(Object.java:364)
  at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:129)
  at java.lang.Thread.run(Thread.java:856)

"Compiler" daemon prio=5 tid=5 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x4187d528 self=0x51d2b098
  | sysTid=4832 nice=0 sched=0/0 cgrp=apps handle=1080617736
  | schedstat=( 0 0 0 ) utm=6 stm=3 core=0
  #00  pc 0000dd2c  /system/lib/libc.so (__futex_syscall3+8)
  #01  pc 00012eb4  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
  #02  pc 00012f10  /system/lib/libc.so (__pthread_cond_timedwait+60)
  #03  pc 0006e747  /system/lib/libdvm.so
  #04  pc 0005421b  /system/lib/libdvm.so
  #05  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #06  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=4 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x4187d440 self=0x523441e0
  | sysTid=4831 nice=0 sched=0/0 cgrp=apps handle=1370571320
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  #00  pc 0000d798  /system/lib/libc.so (recvmsg+8)
  #01  pc 000600b3  /system/lib/libdvm.so
  #02  pc 000602b1  /system/lib/libdvm.so
  #03  pc 00062e4b  /system/lib/libdvm.so
  #04  pc 0005421b  /system/lib/libdvm.so
  #05  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #06  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
  | group="system" sCount=0 dsCount=0 obj=0x4187d348 self=0x401ff118
  | sysTid=4830 nice=0 sched=0/0 cgrp=apps handle=1374311368
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=2 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x4187d268 self=0x40204838
  | sysTid=4829 nice=0 sched=0/0 cgrp=apps handle=1374924360
  | schedstat=( 0 0 0 ) utm=3 stm=0 core=0
  #00  pc 0000dd2c  /system/lib/libc.so (__futex_syscall3+8)
  #01  pc 00012eb4  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
  #02  pc 00012f10  /system/lib/libc.so (__pthread_cond_timedwait+60)
  #03  pc 0006d54b  /system/lib/libdvm.so
  #04  pc 0005421b  /system/lib/libdvm.so
  #05  pc 00012e70  /system/lib/libc.so (__thread_entry+48)
  #06  pc 000125c8  /system/lib/libc.so (pthread_create+172)
  at dalvik.system.NativeStart.run(Native Method)

NATIVE THREADS:
"GL updater" sysTid=4854 nice=-10 sched=0/0 cgrp=apps
  | schedstat=( 0 0 0 ) utm=0 stm=2 core=0

----- end 4827 -----



Reply all
Reply to author
Forward
0 new messages