I am getting ANR with below traces for crashed PID ScreenManager.
I have pulled from adb shell
adb pull /data/anr/traces.txt.
Below is the main thread code for crash PID.
----- pid 2001 at 2018-04-25 12:21:08 ----- Cmd line: com.cnh.android.screenmanager
JNI: CheckJNI is off; workarounds are off; pins=2; globals=403 (plus 1 weak) DALVIK THREADS: (mutexes: tll=0 tsl=0 tscl=0 ghl=0) "main" prio=5 tid=1 MONITOR | group="main" sCount=1 dsCount=0 obj=0x6da53578 self=0x78760290 | sysTid=2001 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=1995636732 | state=S schedstat=( 0 0 0 ) utm=28182 stm=4971 core=1 at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~307) - waiting to lock <0x6dce0ab0> (a android.os.MessageQueue) at android.os.Handler.enqueueMessage(Handler.java:623) at android.os.Handler.sendMessageAtTime(Handler.java:592) at android.os.Handler.sendMessageDelayed(Handler.java:563) at android.os.Handler.postDelayed(Handler.java:391) at android.view.View.postDelayed(View.java:10752) at android.view.View.checkForLongClick(View.java:16835) at android.view.View.onTouchEvent(View.java:8402) at android.widget.TextView.onTouchEvent(TextView.java:7606) at android.view.View.dispatchTouchEvent(View.java:7390) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2211) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1912) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2211) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1912) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2211) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1912) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2211) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1912) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2211) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1912) at com.cnh.android.windowmanager.bars.BottomBar.dispatchTouchEvent(BottomBar.java:156) at com.cnh.android.widget.drawer.TouchDispatchView.dispatch(TouchDispatchView.java:95) at com.cnh.android.widget.drawer.TouchDispatchView.dispatchTouchEvent(TouchDispatchView.java:146) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2211) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1912) at android.view.View.dispatchPointerEvent(View.java:7570) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3975) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3870) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3434) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3484) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3453) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3538) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3461) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3595) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3434) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3484) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3453) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3461) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3434) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5511) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5491) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5462) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5649) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:182) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:132) at android.os.Looper.loop(Looper.java:124) 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:776) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:583) at dalvik.system.NativeStart.main(Native Method) ----- end 2001 -----
How can I find out where the problem is?
I want to learn how to analyse complete traces.