Hi Romain,
  The ANR was observed in an activity that uses a gridview to display small 
images and metadata. The gridview is backed by a cursor adapter that feeds 
it views. There is not much to draw here. Hence it would be great if you 
could point me to some guidelines regarding potential root causes. Also if 
this is a OpenGLDriver or platform bug, have you come across any thing that 
looks similar to this before? It would help me narrow down the root cause.

Thanks in advance
Gaurav 

On Friday, October 12, 2012 10:37:15 AM UTC-7, Gaurav wrote:
>
> Hi Romain,
>   Thanks for the quick turnaround. I do not think I can pursue a bug in 
> the OpenGLDriver or the platform without information about the device or 
> Android OS version in particular. However you also mentioned drawing too 
> much. How much is too much? I would appreciate any guidelines regarding 
> this. 
>
> Thanks
> Gaurav
>
> On Friday, October 12, 2012 10:26:02 AM UTC-7, Romain Guy (Google) wrote:
>>
>> Your application is involved :) This stack trace indicates that the 
>> ANR occurs while drawing your application. It could occur for a number 
>> of reasons: your app is doing way too much drawing, bug in the 
>> platform, bug in the OpenGL driver, etc. 
>>
>> On Fri, Oct 12, 2012 at 10:18 AM, Gaurav <[email protected]> wrote: 
>> > Hi, 
>> >   I am trying to investigate the following ANR. Unfortunately the 
>> report 
>> > does not contain any information regarding device or Android OS 
>> version. The 
>> > entire stack trace has the main thread doing something in the platform 
>> with 
>> > nothing in my application seemingly involved. Any clues regarding what 
>> could 
>> > be going on here? Is this for example a known condition on specific 
>> devices? 
>> > or under specific circumstances? 
>> > 
>> > 
>> > DALVIK THREADS: 
>> > (mutexes: tll=0 tsl=0 tscl=0 ghl=0) 
>> > "main" prio=5 tid=1 SUSPENDED 
>> >   | group="main" sCount=1 dsCount=0 obj=0x40c61460 self=0x12a20 
>> >   | sysTid=16528 nice=0 sched=0/0 cgrp=default handle=1074619592 
>> >   | schedstat=( 27371262660 19178339946 112956 ) utm=2448 stm=289 
>> core=0 
>> >   at android.view.GLES20Canvas.nDrawDisplayList(Native Method) 
>> >   at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:363) 
>> >   at 
>> > 
>> android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:842) 
>> >   at android.view.ViewRootImpl.draw(ViewRootImpl.java:2049) 
>> >   at 
>> android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773) 
>> >   at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585) 
>> >   at android.os.Handler.dispatchMessage(Handler.java:99) 
>> >   at android.os.Looper.loop(Looper.java:137) 
>> >   at android.app.ActivityThread.main(ActivityThread.java:4507) 
>> >   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:790)
>>  
>>
>> >   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) 
>> >   at dalvik.system.NativeStart.main(Native Method) 
>> > 
>>
>>
>>
>>
>> -- 
>> Romain Guy 
>> Android framework engineer 
>> [email protected] 
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to