title: Android ANR : How to debug /data/anr/traces.txt file
body: <p>Below is the trace when android settings application got ANR. Can any one help me understand what does this means to find out the root cause ?</p>
  
  <p>Cmd line: com.android.settings</p>
  
  <pre><code>JNI: CheckJNI is on; workarounds are off; pins=0; globals=241
  
  DALVIK THREADS:
  (mutexes: tll=0 tsl=0 tscl=0 ghl=0)
  
  "main" prio=5 tid=1 NATIVE
    | group="main" sCount=1 dsCount=0 obj=0x418d1578 self=0x41879200
    | sysTid=3804 nice=0 sched=0/0 cgrp=apps handle=1075535868
    | state=R schedstat=( 1407544347 1054154639 7321 ) utm=82 stm=58 core=2
    #00  pc 000049a4  /system/bin/linker
    #01  pc 00001845  /system/bin/linker
    at com.google.android.gles_jni.EGLImpl._eglGetDisplay(Native Method)
    at com.google.android.gles_jni.EGLImpl.eglGetDisplay(EGLImpl.java:109)
    at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:1019)
    at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:979)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1536)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    at android.view.Choreographer.doCallbacks(Choreographer.java:562)
    at android.view.Choreographer.doFrame(Choreographer.java:532)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    at android.os.Handler.handleCallback(Handler.java:730)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:5103)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:525)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>Thanks !</p>