8
I keep getting ANRs sometimes if i start a new Activity from a running Activity that has a SurfaceView. Does anyone know what this lock is about? I use android support package to use fragments, my surfaceview is in a fragment.
----- pid 5281 at 2012-04-05 10:59:42 -----
Cmd line: com.customlbs.android
DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0 hwl=0 hwll=0)
"main" prio=5 tid=1 WAIT
| group="main" sCount=1 dsCount=0 obj=0x400281b8 self=0xd088
| sysTid=5281 nice=0 sched=0/0 cgrp=default handle=-1345006464
| schedstat=( 594287586 502197465 969 )
at java.lang.Object.wait(Native Method)
- waiting on <0x40028250> (a java.lang.VMThread)
at java.lang.Thread.parkFor(Thread.java:1424)
at java.lang.LangAccessImpl.parkFor(LangAccessImpl.java:48)
at sun.misc.Unsafe.park(Unsafe.java:337)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:808)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:841)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1171)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:185)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:261)
at android.view.SurfaceView.updateWindow(SurfaceView.java:506)
at android.view.SurfaceView.updateWindow(SurfaceView.java:407)
at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:217)
at android.view.View.dispatchWindowVisibilityChanged(View.java:4080)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:720)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:720)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:720)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.j