FORUMS
Remove All Ads from XDA

 View Poll Results: What are you using this guide for?

A starting point to learn
 
563 Vote(s)
72.93%
A quick refresher course
 
103 Vote(s)
13.34%
Troubleshooting
 
255 Vote(s)
33.03%
Referring users from development threads
 
48 Vote(s)
6.22%
Linking to my own guide(s)
 
11 Vote(s)
1.42%

[UNIVERSAL][LOGCAT]How to get & read a logcat/ Troubleshoot your own issues!

6,811 posts
Thanks Meter: 9,145
 
Post Reply Email Thread
3rd December 2017, 03:29 PM |#821  
Stryke_the_Orc's Avatar
OP Retired Senior Moderator
Flag Maras Dantia
Thanks Meter: 9,145
 
More
Quote:
Originally Posted by sourav143

Anyone here can read my logcat? Pls solve my problem, when i open paytm app my phone getting rebooted, pls check this, if u found any solution pls tell me

There is two logcats of same thing, if u find any common error pls tell

Based on your logs from 12-02-2017, paytm is trying to get broadcast permissions that are being denied. This is then causing the application to hang, which cascades into the android system and eventually causes a reboot because processes are getting hung. One problem you have in trying to diagnose this is that you're using the catlog app. Don't get me wrong, the app is great for problems that don't send you into a bootloop or cause your phone to reboot, but this is like trying to diagnose a problem at boot on your PC with software installed on the OS. You just don't see everything you need to. Get a set of clean logs using adb, it'll be much easier for others to see the actual start/stop of the system.

FWIW - I took the "lengthy" logs and ran a simple search for paytm. Once I started seeing errors (denoted by the E/ in the log) surrounding the application, I simply read what was happening during that timeframe. Below are the most frequent entries surrounding the app.

Code:
I/InputDispatcher( 2824): Application is not responding: 13166  It has been 20004.9ms since event, 20004.6ms since wait started.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 48.  Wait queue head age: 20462.2ms.
12-02 10:27:15.839 I/WindowManager( 2824): Input event dispatching timed out sending to net.one97.paytm/net.one97.paytm.landingpage.activity.AJRMainActivity.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 48.  Wait queue head age: 20462.2ms.
E/d       (13166): readAppPrivateFile() com.paytm.xEngage.props.json
 D/ActivityManager(26894): resumeTopActivityInnerLocked() : #1 prevTask=TaskRecord{a46fcded0 #283 A=net.one97.paytm U=0 StackId=1 sz=1} next=ActivityRecord{af8d992d0 u0 net.one97.paytm/.AJRJarvisSplash t283} mFocusedStack=ActivityStack{6e0831dd0 stackId=1, 1 tasks}
12-01 23:18:30.453 D/ActivityTrigger(26894): ActivityTrigger activityPauseTrigger 
12-01 23:18:30.462 V/Launcher(27938): Launcher.onPause()
12-01 23:18:30.462 W/BroadcastQueue(26894): Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) } from com.sec.android.app.launcher (pid=27938, uid=10069) requires com.google.android.launcher.permission.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android.gms/.icing.proxy.ApplicationLauncherReceiver
Because it looks to be calling the Samsung launcher, your ROM simply may not be compatible with this app (I don't know, I don't know anything about the ROM you're running)
Hope that gets you on the right path
 
 
3rd December 2017, 03:36 PM |#822  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Stryke_the_Orc

Based on your logs from 12-02-2017, paytm is trying to get broadcast permissions that are being denied.

Because it looks to be calling the Samsung launcher, your ROM simply may not be compatible with this app (I don't know, I don't know anything about the ROM you're running)
Hope that gets you on the right path

Thanks sir for your effort, for giving some time to read my logs, now tell pls what to do for paytm app running? & if u dont get the error then pls tell how i get accurate log file?

Matter- After opening the paytm app, its not working, hanged, if i touched 3-4times after some time its got rebooted & if i not touch after opening the app, when it is in hang, after 30-35sec its working

But want to solve this? Why this is not working & rebooted?
3rd December 2017, 05:16 PM |#823  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Stryke_the_Orc

Don't get me wrong, the app is great for problems that don't send you into a bootloop or cause your phone to reboot, but this is like trying to diagnose a problem at boot on your PC with software installed on the OS. You just don't see everything you need to. Get a set of clean logs using adb, it'll be much easier for others to see the actual start/stop of the system.

Sir i followed ur method, i captured logs via adb, this is with filter "adb logcat ActivityManager:I Paytm *:S"

Please look once
Attached Files
File Type: txt Filtered.txt - [Click for QR Code] (140.6 KB, 16 views)
3rd December 2017, 08:21 PM |#824  
Stryke_the_Orc's Avatar
OP Retired Senior Moderator
Flag Maras Dantia
Thanks Meter: 9,145
 
More
Quote:
Originally Posted by sourav143

Sir i followed ur method, i captured logs via adb, this is with filter "adb logcat ActivityManager:I Paytm *:S"

Please look once

Grab a complete log using adb, then search for paytm. If you see errors immediately after the app launches that should indicate your problem. From the logs I saw before, it was related to Samsung Home.
5th December 2017, 02:18 PM |#825  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Stryke_the_Orc

Grab a complete log using adb, then search for paytm. If you see errors immediately after the app launches that should indicate your problem. From the logs I saw before, it was related to Samsung Home.

Bro please check this once
I taken again logs, this is only paytm app logs in that file, if any error comes, why that app not responding?
Attached Files
File Type: txt new 1.txt - [Click for QR Code] (486.1 KB, 14 views)
15th December 2017, 04:18 PM |#826  
Member
Flag Kottayam - kerala
Thanks Meter: 23
 
More
Deleted
3rd January 2018, 04:54 AM |#827  
Senior Member
Thanks Meter: 13
 
More
E/AndroidRuntime(13932): Process: com.sec.android.app.camera, PID: 13932
E/AndroidRuntime(13932): java.lang.RuntimeException: setParameters failed
E/AndroidRuntime(13932): at com.samsung.android.camera.core.SemCamera.native_s etParameters(Native Method)
E/AndroidRuntime(13932): at com.samsung.android.camera.core.SemCamera.setParam eters(SemCamera.java)
E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CommonEngine.set Parameters(CommonEngine.java:8936)
E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CommonEngine.set AllParameters(CommonEngine.java:5633)
E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CeStateInitializ ed.handleRequest(CeStateInitialized.java:117)
E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CeRequestQueue$R unFirstRequest.run(CeRequestQueue.java:353)
E/AndroidRuntime(13932): at android.os.Handler.handleCallback(Handler.java)
E/AndroidRuntime(13932): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime(13932): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime(13932): at android.os.HandlerThread.run(HandlerThread.java)



This is logcat error from camera stopped working. Please tell how to solve this problem. What to change & where?
18th January 2018, 05:40 PM |#828  
nachordez's Avatar
Senior Member
Flag Madrid
Thanks Meter: 1,049
 
More
Hi!
I'm having random (and often) reboots in my andoid Lenovo Yota Book (atom processor, BTW, and android 7.1) that I cannot trace to where they come from...
Here is the end of the last:kmsg (or better to say, the kernel oops file that substitutes it now). ┬┐Could you take a look and tell me if you see something there?
https://pastebin.com/JdnUs7rN

Thanks a lot!!
23rd January 2018, 09:24 AM |#829  
gaganbajwa's Avatar
Senior Member
Thanks Meter: 18
 
More
Plz any one help me i already fix this log but take second log its same how to fix this


This is my stock and port debug smali debug smali fixed plz check and help me

Already fixed but take second log its same
Attached Files
File Type: txt new 1.txt - [Click for QR Code] (183 Bytes, 0 views)
File Type: zip stockDebug.zip - [Click for QR Code] (5.8 KB, 0 views)
Post Reply Subscribe to Thread

Tags
how-to, logcat, troubleshooting

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes