Code Monkey home page Code Monkey logo

chkbugreport's People

Contributors

chirayudesai avatar edsj-sony avatar ivmos avatar nealmcb avatar regisd avatar space2 avatar toshi38 avatar toshi38-sony avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chkbugreport's Issues

java.lang.ArrayIndexOutOfBoundsException

It is impossible to use ChkBugReport on Android 4.2.2 because of java.lang.ArrayIndexOutOfBoundsException.

Loading input...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 3
at java.util.Vector.get(Vector.java:694)
at com.sonyericsson.chkbugreport.Lines.getLine(Lines.java:69)
at com.sonyericsson.chkbugreport.ps.PSScanner.readPS(PSScanner.java:61)
at com.sonyericsson.chkbugreport.ps.PSScanner.run(PSScanner.java:42)
at com.sonyericsson.chkbugreport.BugReportModule.preProcess(BugReportModule.java:338)
at com.sonyericsson.chkbugreport.Module.generate(Module.java:537)
at com.sonyericsson.chkbugreport.Main.run(Main.java:208)
at com.sonyericsson.chkbugreport.Main.main(Main.java:318)

The reason:

Both PSScanner.HEADER_1 and PSScanner.HEADER_2 templates are missed for bugreport format in Android 4.2.2

Handle complex Wakelocks

After improving the wakelock parsing in #75 the BatteryInfoPlugin we still do not parse these two part locks:

Wake lock *job*/com.accuweather.android/com.urbanairship.job.AndroidJobService: 16ms partial (1 times) max=16, 16ms background partial (1 times) max=16 realtime

Investigate and fix parsing of said locks. An error is printed in the log current so the user is aware of them (if they read the log).

Create a temporary in-memory representation of the report

This is needed for several reasons:

  • Will fix the linking problems (the actual links and anchors are generated when everything is ready)
  • Will allow to generate reports in other format, not just html
  • Will make it easier to create an interactive version (either with a java gui or by running a temporary web server)

Display Swap from librank if it exists

We now parse both bug reports with swap, and without from librank data. However we currently do not show this anywhere. We should display this to the end user (and investigate if we can sum it or check something or do other analysis).

See loadLibrankSecUnsafe function.

[Request Function] ChkBugReport should allow user to add their own keyword for filtering

Hello,
ChkBugReport is an awesome piece of work! Good job guys.
However, just wondering that if i could request an additional function on ChkBugReport.
Just wonder if user could add their own keyword for filtering?
For example, i would like to filter the keyword like Kernel Panic, Out-Of-Memory (OOM)...etc
Or maybe we could have those keyword implement in the next release of ChkBugReport?
Thanks :D
Richard

Wakelocks Plugin Issue

I'm using v0.5 (rel 203). It appears that it requires loading com.sonyericsson.chkbugreport.plugins.battery.WakelocksPlugin in order to generate the battery stats.

I've been getting the following error when I execute java -jar chkbugreport.jar bugreport.txt:

Plugin crashed while loading data: com.sonyericsson.chkbugreport.plugins.battery.WakelocksPlugin

All the other plugins seemed to have been loaded properly.

[LogPlugin]Many errors in log for NumberFormatException

Investigate and fix. Likely a parsing issue.
Example:

[LogPlugin]addSampleData(eventType=398 I dvm_lock_sample):java.lang.NumberFormatException: For input string: "boolean com.android.server.wm.ActivityTaskManagerService$LocalService.switchUser(int"
[LogPlugin]addSampleData(eventType=395 I dvm_lock_sample):java.lang.NumberFormatException: For input string: "void com.android.server.wm.WindowManagerService.setWillReplaceWindows(android.os.IBinder"
[LogPlugin]addSampleData(eventType=394 I dvm_lock_sample):java.lang.NumberFormatException: For input string: "void com.android.server.wm.WindowManagerService.updateRotationUnchecked(boolean"
[LogPlugin]addSampleData(eventType=400 I dvm_lock_sample):java.lang.NumberFormatException: For input string: "boolean com.android.server.wm.ActivityTaskManagerService$LocalService.switchUser(int"
[LogPlugin]addSampleData(eventType=400 I dvm_lock_sample):java.lang.NumberFormatException: For input string: "boolean com.android.server.wm.ActivityTaskManagerService$LocalService.switchUser(int"

chkbugreport -t traceviewfile isn't working

I pulled traceview file to my dev system
Getting:

ChkBugReport 0.5 (rev 215) (C) 2012 Sony Ericsson Mobile Communications AB
Read 112 threads...
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at com.sonyericsson.chkbugreport.traceview.TraceModule.load(TraceModule.java:242)
        at com.sonyericsson.chkbugreport.traceview.TraceModule.addFile(TraceModule.java:157)
        at com.sonyericsson.chkbugreport.Main.run(Main.java:210)

        at com.sonyericsson.chkbugreport.Main.main(Main.java:358)

Host:
Windows 7, x64
AWD:
Name: Pixel_API_27
CPU/ABI: Google APIs Intel Atom (x86)

ChkBugReport:
ChkBugReport 0.5 (rev 215)

java.lang.ClassNotFoundException com.sonyericsson.chkbugreport.AdbExtension

Test Environment:

  • Ubuntu 12.04
  • OpenJDK 1.6.0_24
  • Used the v0.4 rev 185 precompiled jar

The error message appeared during the start up but it doesn't seem to affect the execution of the program(the parsed logs are still generated)

Error Message:
java.lang.ClassNotFoundException: com.apple.eawt.Application
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at com.sonyericsson.chkbugreport.Main.changeDocIcon(Main.java:112)
at com.sonyericsson.chkbugreport.Main.(Main.java:96)
at com.sonyericsson.chkbugreport.Main.main(Main.java:593)
Failed to register extension 'com.sonyericsson.chkbugreport.AdbExtension' due to: java.lang.NoClassDefFoundError: com/android/ddmlib/IShellOutputReceiver

Save each sub-chapter in separete files

Currently the the eventlog and systemlog chapters could be very big. To avoid using too much memory in the browser, the subsections should be saved as individual files as well.

Need help - Google Pixel Android N 7.1.1 bugreport not read properly with chkbugreport

Hello,

I am looking in to this Pixel bugreport and a similar other QC product and having issues with generating the report with the chkbugreport tool.

When the Pixel device(Android 7.1.1) bug report is parsed the index.html file is not generated.
Analysis gives error inbetween as below.., though if needed please let me know I would share the logs.

###################ERROR_LOGS################

C:\Projects\Tools>java -jar chkbugreport-0.4-185.jar pixelbugreport.txt
java.lang.ClassNotFoundException: com.apple.eawt.Application
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sonyericsson.chkbugreport.Main.changeDocIcon(Main.java:112)
at com.sonyericsson.chkbugreport.Main.(Main.java:96)
at com.sonyericsson.chkbugreport.Main.main(Main.java:593)
Failed to register extension 'com.sonyericsson.chkbugreport.AdbExtension' due to: java.lang.NoClassDefFoundError: com/android/ddmlib/IShellOutputReceiver
ChkBugReport 0.4 (rev 185) (C) 2012 Sony Ericsson Mobile Communications AB
Loading input...
Could not find header in ps output
Cannot find section: PROCESSES (ignoring it)
Plugins are loading data...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.SysPropsPlugin...
[SysPropsPlugin]Cannot parse uptime: 15:53:27 up 21:18, 0 users, load average: 7.57, 6.10, 5.72
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.PackageInfoPlugin...
[PackageInfoPlugin]Cannot find section: PACKAGE SETTINGS
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.ScreenShotPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.stacktrace.StackTracePlugin...
java.lang.NumberFormatException: For input string: "com.google.android.gms:17"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sonyericsson.chkbugreport.plugins.stacktrace.StackTraceScanner.scan(StackTraceScanner.java:146)
at com.sonyericsson.chkbugreport.plugins.stacktrace.StackTracePlugin.run(StackTracePlugin.java:126)
at com.sonyericsson.chkbugreport.plugins.stacktrace.StackTracePlugin.run(StackTracePlugin.java:120)
at com.sonyericsson.chkbugreport.plugins.stacktrace.StackTracePlugin.load(StackTracePlugin.java:83)
at com.sonyericsson.chkbugreport.Module.runPlugins(Module.java:543)
at com.sonyericsson.chkbugreport.Module.generate(Module.java:472)
at com.sonyericsson.chkbugreport.Main.processFile(Main.java:277)
at com.sonyericsson.chkbugreport.Main.loadFile(Main.java:266)
at com.sonyericsson.chkbugreport.Main.run(Main.java:248)
at com.sonyericsson.chkbugreport.Main.main(Main.java:593)
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.MemPlugin...
[MemPlugin]Section not found: DUMP OF SERVICE meminfo (ignoring section)
[MemPlugin]librank section is suspiciously small... ignoring it
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.logs.SystemLogPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.logs.MainLogPlugin...
[LogPlugin]Cannot find section MAIN LOG (aborting plugin)
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.logs.kernel.KernelLogPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.logs.event.EventLogPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.ftrace.FTracePlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.SurfaceFlingerPlugin...
[SurfaceFlingerPlugin]Error parsing: cannot recognize section!
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.WindowManagerPlugin...
Cannot find node 'Event Hub State:'
java.lang.NullPointerException
at com.sonyericsson.chkbugreport.util.Util.parseBoolean(Util.java:366)
at com.sonyericsson.chkbugreport.plugins.WindowManagerPlugin.loadWindowManagerState(WindowManagerPlugin.java:189)
at com.sonyericsson.chkbugreport.plugins.WindowManagerPlugin.load(WindowManagerPlugin.java:96)
at com.sonyericsson.chkbugreport.Module.runPlugins(Module.java:543)
at com.sonyericsson.chkbugreport.Module.generate(Module.java:472)
at com.sonyericsson.chkbugreport.Main.processFile(Main.java:277)
at com.sonyericsson.chkbugreport.Main.loadFile(Main.java:266)
at com.sonyericsson.chkbugreport.Main.run(Main.java:248)
at com.sonyericsson.chkbugreport.Main.main(Main.java:593)
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.CpuFreqPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.battery.BatteryInfoPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.WakelocksPlugin...
[WakelocksPlugin]Section not found: KERNEL WAKELOCKS (aborting plugin)
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.AlarmManagerPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.UsageHistoryPlugin...
[UsageHistoryPlugin]Cannot find section: USAGE HISTORY
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.PSTreePlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.MiscPlugin...
Running (load) plugin: com.sonyericsson.chkbugreport.plugins.SummaryPlugin...
Plugins are generating output...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.SysPropsPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.PackageInfoPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.ScreenShotPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.MemPlugin...
[MemPlugin]procrank section is suspiciously small... ignoring it
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.logs.SystemLogPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.logs.MainLogPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.logs.kernel.KernelLogPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.logs.event.EventLogPlugin...
ComponentStat: onResume was missing (63636851)
ComponentStat: onCreate was missing (63636851)
ComponentStat: onCreate was called again without onDestroy (90)
ComponentStat: onResume was missing (6165789)
ComponentStat: onCreate was missing (6165789)
ComponentStat: onResume was missing (179030741)
ComponentStat: onCreate was missing (179030741)
ComponentStat: onCreate was missing (78)
ComponentStat: onResume was missing (77232840)
ComponentStat: onCreate was missing (77232840)
ComponentStat: onCreate was called again without onDestroy (91)
ComponentStat: onResume was missing (60193920)
ComponentStat: onCreate was missing (60193920)
ComponentStat: onResume was missing (68741941)
ComponentStat: onCreate was missing (68741941)
ComponentStat: onResume was already guessed, but it's missing again (60193920)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onCreate was missing (91)
ComponentStat: onCreate was missing (89)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onCreate was called again without onDestroy (89)
ComponentStat: onResume was missing (60373270)
ComponentStat: onCreate was missing (60373270)
ComponentStat: onResume was missing (121117689)
ComponentStat: onCreate was missing (121117689)
ComponentStat: onResume was called again without onPause (89)
ComponentStat: onResume was already guessed, but it's missing again (60373270)
ComponentStat: onCreate was called again without onDestroy (89)
ComponentStat: onResume was missing (23044084)
ComponentStat: onCreate was missing (23044084)
ComponentStat: onCreate was called again without onDestroy (89)
ComponentStat: onResume was missing (119450726)
ComponentStat: onCreate was missing (119450726)
ComponentStat: onCreate was called again without onDestroy (89)
ComponentStat: onResume was missing (15749034)
ComponentStat: onCreate was missing (15749034)
ComponentStat: onResume was missing (160692058)
ComponentStat: onCreate was missing (160692058)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onCreate was missing (85)
ComponentStat: onResume was missing (267100170)
ComponentStat: onCreate was missing (267100170)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onResume was called again without onPause (89)
ComponentStat: onCreate was called again without onDestroy (89)
ComponentStat: onResume was already guessed, but it's missing again (160692058)
ComponentStat: onCreate was called again without onDestroy (89)
ComponentStat: onResume was missing (115331678)
ComponentStat: onCreate was missing (115331678)
ComponentStat: onResume was missing (114472554)
ComponentStat: onCreate was missing (114472554)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onResume was called again without onPause (89)
ComponentStat: onResume was already guessed, but it's missing again (160692058)
ComponentStat: onResume was called again without onPause (89)
ComponentStat: onResume was already guessed, but it's missing again (119450726)
ComponentStat: onResume was called again without onPause (89)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onResume was already guessed, but it's missing again (23044084)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onResume was called again without onPause (89)
ComponentStat: onResume was already guessed, but it's missing again (60373270)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onCreate was called again without onDestroy (92)
ComponentStat: onResume was missing (209859621)
ComponentStat: onCreate was missing (209859621)
ComponentStat: onResume was missing (264977609)
ComponentStat: onCreate was missing (264977609)
ComponentStat: onResume was already guessed, but it's missing again (209859621)
ComponentStat: onCreate was called again without onDestroy (92)
ComponentStat: onResume was missing (245388294)
ComponentStat: onCreate was missing (245388294)
ComponentStat: onResume was missing (109452662)
ComponentStat: onCreate was missing (109452662)
ComponentStat: onResume was missing (5869436)
ComponentStat: onCreate was missing (5869436)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onCreate was called again without onDestroy (94)
ComponentStat: onResume was missing (216376136)
ComponentStat: onCreate was missing (216376136)
ComponentStat: onResume was missing (182093919)
ComponentStat: onCreate was missing (182093919)
ComponentStat: onResume was already guessed, but it's missing again (216376136)
ComponentStat: onResume was missing (234722498)
ComponentStat: onCreate was missing (234722498)
ComponentStat: onResume was already guessed, but it's missing again (216376136)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was already guessed, but it's missing again (245388294)
ComponentStat: onCreate was missing (92)
ComponentStat: onResume was already guessed, but it's missing again (209859621)
ComponentStat: onCreate was called again without onDestroy (92)
ComponentStat: onResume was missing (164557322)
ComponentStat: onCreate was missing (164557322)
ComponentStat: onResume was missing (251044081)
ComponentStat: onCreate was missing (251044081)
ComponentStat: onResume was missing (159653832)
ComponentStat: onCreate was missing (159653832)
ComponentStat: onResume was called again without onPause (92)
ComponentStat: onResume was already guessed, but it's missing again (251044081)
ComponentStat: onCreate was already guessed, but it's missing again (92)
ComponentStat: onResume was called again without onPause (92)
ComponentStat: onResume was already guessed, but it's missing again (209859621)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onCreate was already guessed, but it's missing again (92)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was missing (87298382)
ComponentStat: onCreate was missing (87298382)
ComponentStat: onResume was already guessed, but it's missing again (87298382)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onCreate was called again without onDestroy (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was missing (145150606)
ComponentStat: onCreate was missing (145150606)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was missing (37272910)
ComponentStat: onCreate was missing (37272910)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was missing (68640786)
ComponentStat: onCreate was missing (68640786)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was already guessed, but it's missing again (60373270)
ComponentStat: onResume was missing (88373500)
ComponentStat: onCreate was missing (88373500)
ComponentStat: onCreate was already guessed, but it's missing again (78)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was missing (206284496)
ComponentStat: onCreate was missing (206284496)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was missing (87918813)
ComponentStat: onCreate was missing (87918813)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was missing (2385681)
ComponentStat: onCreate was missing (2385681)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was missing (240314704)
ComponentStat: onCreate was missing (240314704)
ComponentStat: onCreate was missing (88)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onResume was missing (221577470)
ComponentStat: onCreate was missing (221577470)
ComponentStat: onResume was missing (267964734)
ComponentStat: onCreate was missing (267964734)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was missing (184609790)
ComponentStat: onCreate was missing (184609790)
ComponentStat: onResume was missing (12280190)
ComponentStat: onCreate was missing (12280190)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was already guessed, but it's missing again (184609790)
ComponentStat: onResume was missing (6454574)
ComponentStat: onCreate was missing (6454574)
ComponentStat: onResume was called again without onPause (88)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onResume was already guessed, but it's missing again (206284496)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was missing (232024266)
ComponentStat: onCreate was missing (232024266)
ComponentStat: onResume was missing (120273927)
ComponentStat: onCreate was missing (120273927)
ComponentStat: onResume was called again without onPause (88)
ComponentStat: onResume was already guessed, but it's missing again (232024266)
ComponentStat: onResume was called again without onPause (88)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onResume was already guessed, but it's missing again (206284496)
ComponentStat: onCreate was called again without onDestroy (88)
ComponentStat: onResume was missing (266216875)
ComponentStat: onCreate was missing (266216875)
ComponentStat: onResume was missing (154511076)
ComponentStat: onCreate was missing (154511076)
ComponentStat: onResume was called again without onPause (88)
ComponentStat: onResume was already guessed, but it's missing again (266216875)
ComponentStat: onResume was called again without onPause (88)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onResume was already guessed, but it's missing again (206284496)
ComponentStat: onCreate was called again without onDestroy (96)
ComponentStat: onResume was missing (183804273)
ComponentStat: onCreate was missing (183804273)
ComponentStat: onResume was missing (216889636)
ComponentStat: onCreate was missing (216889636)
ComponentStat: onCreate was called again without onDestroy (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was missing (72762023)
ComponentStat: onCreate was missing (72762023)
ComponentStat: onCreate was missing (96)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was already guessed, but it's missing again (267100170)
ComponentStat: onResume was missing (260598716)
ComponentStat: onCreate was missing (260598716)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (85)
ComponentStat: onResume was already guessed, but it's missing again (267100170)
ComponentStat: onCreate was already guessed, but it's missing again (96)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (85)
ComponentStat: onResume was already guessed, but it's missing again (267100170)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (85)
ComponentStat: onResume was already guessed, but it's missing again (267100170)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (85)
ComponentStat: onResume was already guessed, but it's missing again (267100170)
ComponentStat: onResume was already guessed, but it's missing again (206284496)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onCreate was already guessed, but it's missing again (88)
ComponentStat: onResume was called again without onPause (88)
ComponentStat: onResume was already guessed, but it's missing again (206284496)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was called again without onPause (85)
ComponentStat: onCreate was already guessed, but it's missing again (89)
ComponentStat: onCreate was missing (94)
ComponentStat: onCreate was missing (90)
ComponentStat: onCreate was already guessed, but it's missing again (90)
ComponentStat: onCreate was already guessed, but it's missing again (90)
ComponentStat: onCreate was missing (86)
ComponentStat: onResume was already guessed, but it's missing again (267100170)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onCreate was called again without onDestroy (96)
ComponentStat: onResume was already guessed, but it's missing again (183804273)
ComponentStat: onResume was missing (122264348)
ComponentStat: onCreate was missing (122264348)
ComponentStat: onResume was called again without onPause (96)
ComponentStat: onResume was already guessed, but it's missing again (122264348)
ComponentStat: onResume was called again without onPause (78)
ComponentStat: onResume was already guessed, but it's missing again (77232840)
ComponentStat: onCreate was called again without onDestroy (97)
ComponentStat: onResume was missing (86269837)
ComponentStat: onCreate was missing (86269837)
ComponentStat: onResume was missing (46132485)
ComponentStat: onCreate was missing (46132485)
ComponentStat: onResume was already guessed, but it's missing again (86269837)
ComponentStat: onResume was missing (8192974)
ComponentStat: onCreate was missing (8192974)
ComponentStat: onResume was missing (172014999)
ComponentStat: onCreate was missing (172014999)
ComponentStat: onResume was called again without onPause (97)
ComponentStat: onResume was already guessed, but it's missing again (8192974)
ComponentStat: onResume was missing (15485083)
ComponentStat: onCreate was missing (15485083)
ComponentStat: onResume was called again without onPause (97)
ComponentStat: onResume was already guessed, but it's missing again (8192974)
ComponentStat: onResume was missing (125349898)
ComponentStat: onCreate was missing (125349898)
ComponentStat: onResume was called again without onPause (97)
Cannot make DB connection: java.lang.ClassNotFoundException: org.sqlite.JDBC
ProcStat: am_proc_start was missing (7362 @ 05-10 09:47:17.314)
ProcStat: am_proc_start was missing (5133 @ 05-10 09:48:11.048)
ProcStat: am_proc_start was missing (7726 @ 05-10 09:49:15.151)
ProcStat: am_proc_start without am_died (10018 @ 05-10 09:49:16.085)
ProcStat: am_proc_start without am_died (10018 @ 05-10 09:49:19.358)
ProcStat: am_proc_start was missing (7069 @ 05-10 09:49:27.698)
ProcStat: am_proc_start was missing (8085 @ 05-10 09:49:30.304)
ProcStat: am_proc_start was missing (8302 @ 05-10 09:49:38.899)
ProcStat: am_proc_start was missing (7288 @ 05-10 09:49:45.774)
ProcStat: am_proc_start was missing (8346 @ 05-10 09:49:45.775)
ProcStat: am_proc_start was missing (8377 @ 05-10 09:51:59.995)
ProcStat: am_proc_start was missing (2122 @ 05-10 09:58:58.941)
ProcStat: am_proc_start was missing (7825 @ 05-10 09:59:35.701)
ProcStat: am_proc_start was missing (5154 @ 05-10 10:08:00.009)
ProcStat: am_proc_start was missing (8700 @ 05-10 10:08:01.180)
ProcStat: am_proc_start was missing (7788 @ 05-10 10:09:25.649)
ProcStat: am_proc_start was missing (8825 @ 05-10 10:09:25.651)
ProcStat: am_proc_start was missing (8924 @ 05-10 10:21:58.757)
ProcStat: am_proc_start was missing (7629 @ 05-10 10:21:58.759)
ProcStat: am_proc_start was missing (7315 @ 05-10 10:21:58.763)
ProcStat: am_proc_start was missing (8178 @ 05-10 10:21:58.766)
ProcStat: am_proc_start was missing (8807 @ 05-10 10:21:58.768)
ProcStat: am_proc_start was missing (8626 @ 05-10 10:22:59.560)
ProcStat: am_proc_start was missing (9389 @ 05-10 10:39:22.343)
ProcStat: am_proc_start without am_died (10108 @ 05-10 11:15:58.177)
ProcStat: am_proc_start was missing (8513 @ 05-10 11:19:58.964)
ProcStat: am_proc_start without am_died (10018 @ 05-10 11:40:53.832)
ProcStat: am_proc_start was missing (2422 @ 05-10 11:42:16.489)
ProcStat: am_proc_start was missing (8725 @ 05-10 11:42:45.995)
ProcStat: am_proc_start without am_died (10103 @ 05-10 11:44:16.128)
ProcStat: am_proc_start was missing (9007 @ 05-10 11:44:38.466)
ProcStat: am_proc_start was missing (8745 @ 05-10 12:15:50.728)
ProcStat: am_proc_start was missing (9486 @ 05-10 12:16:16.748)
ProcStat: am_proc_start without am_died (10035 @ 05-10 12:16:25.031)
ProcStat: am_proc_start without am_died (10018 @ 05-10 12:16:25.871)
ProcStat: am_proc_start without am_died (10069 @ 05-10 12:17:06.008)
ProcStat: am_proc_start without am_died (10098 @ 05-10 12:17:06.214)
ProcStat: am_proc_start without am_died (10062 @ 05-10 12:17:07.169)
ProcStat: am_proc_start was missing (9953 @ 05-10 12:17:07.202)
ProcStat: am_proc_start without am_died (10018 @ 05-10 12:17:07.432)
ProcStat: am_proc_start without am_died (10108 @ 05-10 12:17:07.878)
ProcStat: am_proc_start without am_died (10090 @ 05-10 12:17:17.997)
ProcStat: am_proc_start was missing (10431 @ 05-10 12:17:20.789)
ProcStat: am_proc_start was missing (10562 @ 05-10 12:17:26.642)
ProcStat: am_proc_start was missing (10641 @ 05-10 12:17:27.161)
ProcStat: am_proc_start was missing (11161 @ 05-10 12:17:28.883)
ProcStat: am_proc_start was missing (11133 @ 05-10 12:17:33.807)
ProcStat: am_proc_start was missing (10220 @ 05-10 12:17:35.759)
ProcStat: am_proc_start without am_died (10031 @ 05-10 12:17:47.563)
ProcStat: am_proc_start was missing (11207 @ 05-10 12:17:47.817)
ProcStat: am_proc_start was missing (11051 @ 05-10 12:17:47.875)
ProcStat: am_proc_start was missing (11494 @ 05-10 12:17:48.693)
ProcStat: am_proc_start was missing (10727 @ 05-10 12:18:08.860)
ProcStat: am_proc_start was missing (11558 @ 05-10 12:18:15.312)
ProcStat: am_proc_start was missing (10042 @ 05-10 12:18:37.877)
ProcStat: am_proc_start was missing (11527 @ 05-10 12:18:42.248)
ProcStat: am_proc_start was missing (10852 @ 05-10 12:27:15.650)
ProcStat: am_proc_start without am_died (10018 @ 05-10 12:30:06.540)
ProcStat: am_proc_start was missing (9460 @ 05-10 12:30:36.855)
ProcStat: am_proc_start was missing (10669 @ 05-10 12:31:14.820)
ProcStat: am_proc_start was missing (11586 @ 05-10 12:31:15.920)
ProcStat: am_proc_start was missing (2756 @ 05-10 12:31:15.922)
ProcStat: am_proc_start was missing (8285 @ 05-10 12:31:16.321)
ProcStat: am_proc_start was missing (9205 @ 05-10 12:31:16.745)
ProcStat: am_proc_start without am_died (10090 @ 05-10 12:31:16.951)
ProcStat: am_proc_start was missing (11028 @ 05-10 12:31:17.044)
ProcStat: am_proc_start was missing (7517 @ 05-10 12:31:17.075)
ProcStat: am_proc_start was missing (8150 @ 05-10 12:31:17.212)
ProcStat: am_proc_start was missing (6044 @ 05-10 12:31:17.410)
ProcStat: am_proc_start was missing (11239 @ 05-10 12:47:32.064)
ProcStat: am_proc_start was missing (10135 @ 05-10 12:47:32.068)
ProcStat: am_proc_start was missing (11192 @ 05-10 12:47:55.442)
ProcStat: am_proc_start was missing (10905 @ 05-10 12:47:55.444)
ProcStat: am_proc_start was missing (11086 @ 05-10 12:47:55.445)
ProcStat: am_proc_start was missing (7139 @ 05-10 12:49:10.247)
ProcStat: am_proc_start was missing (10885 @ 05-10 12:49:10.250)
ProcStat: am_proc_start was missing (11331 @ 05-10 13:59:28.223)
ProcStat: am_proc_start without am_died (10108 @ 05-10 15:51:24.185)
ProcStat: am_proc_start without am_died (10088 @ 05-10 15:51:45.460)
ProcStat: am_proc_start was missing (11895 @ 05-10 15:51:45.685)
ProcStat: am_proc_start without am_died (10103 @ 05-10 15:51:45.815)
ProcStat: am_proc_start was missing (10949 @ 05-10 15:51:46.058)
ProcStat: am_proc_start was missing (11913 @ 05-10 15:51:47.431)
ProcStat: am_proc_start without am_died (10006 @ 05-10 15:51:48.764)
ProcStat: am_proc_start without am_died (10093 @ 05-10 15:51:48.915)
ProcStat: am_proc_start without am_died (10035 @ 05-10 15:51:51.378)
ProcStat: am_proc_start without am_died (10018 @ 05-10 15:51:51.652)
ProcStat: am_proc_start without am_died (10011 @ 05-10 15:51:53.727)
ProcStat: am_proc_start without am_died (1000 @ 05-10 15:52:09.840)
ProcStat: am_proc_start without am_died (10002 @ 05-10 15:52:09.996)
ProcStat: am_proc_start without am_died (10047 @ 05-10 15:52:10.219)
ProcStat: am_proc_start without am_died (10026 @ 05-10 15:52:10.393)
ProcStat: am_proc_start without am_died (10062 @ 05-10 15:52:10.477)
ProcStat: am_proc_start without am_died (10098 @ 05-10 15:52:10.727)
ProcStat: am_proc_start was missing (7961 @ 05-10 15:52:19.107)
ProcStat: am_proc_start was missing (7802 @ 05-10 15:52:21.252)
ProcStat: am_proc_start was missing (12469 @ 05-10 15:52:31.419)
ProcStat: am_proc_start was missing (12738 @ 05-10 15:52:36.375)
ProcStat: am_proc_start without am_died (10103 @ 05-10 15:52:37.119)
ProcStat: am_proc_start without am_died (10112 @ 05-10 15:52:48.854)
ProcStat: am_proc_start was missing (5968 @ 05-10 15:53:03.828)
ProcStat: am_proc_start was missing (12630 @ 05-10 15:53:03.971)
ProcStat: am_proc_start was missing (12885 @ 05-10 15:53:09.484)
ProcStat: am_proc_start was missing (12977 @ 05-10 15:53:14.675)
ProcStat: am_proc_start was missing (13281 @ 05-10 15:53:27.618)
ProcStat: am_proc_start was missing (12129 @ 05-10 15:53:27.619)
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.ftrace.FTracePlugin...
[FTracePlugin]Cannot find section: FTRACE
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.SurfaceFlingerPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.CpuFreqPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.battery.BatteryInfoPlugin...
[BatteryInfoPlugin]Section not found: DUMP OF SERVICE batteryinfo (ignoring it)
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.WakelocksPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.AlarmManagerPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.UsageHistoryPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.PSTreePlugin...
[PSTreePlugin]Process list information not found! (aborting plugin)
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.MiscPlugin...
Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.SummaryPlugin...
Collecting errors...
Copying extra resources...
Saving raw sections
java.io.FileNotFoundException: C:\Projects\pixelbugreport_out\data..\raw\1241-_com.android.settings\com.android.set[...]Settings$DevelopmentSettin
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at com.sonyericsson.chkbugreport.Module.saveSections(Module.java:599)
at com.sonyericsson.chkbugreport.Module.generate(Module.java:484)
at com.sonyericsson.chkbugreport.Main.processFile(Main.java:277)
at com.sonyericsson.chkbugreport.Main.loadFile(Main.java:266)
at com.sonyericsson.chkbugreport.Main.run(Main.java:248)
at com.sonyericsson.chkbugreport.Main.main(Main.java:593)

[SysPropsPlugin] Can not parse uptime

Output format of uptime has changed since tool was written. Handle new uptime format.

[SysPropsPlugin]Cannot parse uptime:  12:16:10 up 40 min,  0 users,  load average: 116.24, 113.01, 58.60

FileNotFoundException

Saving raw sections
java.io.FileNotFoundException: ./bugreport_out/data/../raw/157-AlLsC95fPwum92sfV6BpnFMlwIjEeXoRs1ETKfTeyM0TiOuhe3l5HxoqipTWqSXeGoDVYZDCysLDyTAImH1TaI62x41azA46F+VuPxMttiMYdFUGS2koEQaJAmb2EPD6hPzgfQhddiOHhtg0PqXCoZoBV+hfNJO03ah7dXhKnyE4TfC12fxBdtyqu0rLxdX24ijF5APKUJ8qcHjpVkQ8tOoTih67eHhwqCKCeFIwUyr6IqvM22mhBzWhX7fR+Z6vk8z8+O+P8cnnkyYwir6sTz9A3D0AnSGwVR2N4QtufLSE1JBEoLzdtoEkO28depq-peZG9-9jhhPbjWQDpPim3AW3-cDI+IsBQIgvf8hhlnlipZwLxzvrekYptPew6X7Yn3i7iMlbqIj2Q8QC4F2zq8qf8gD8i9S91Q4iCDRCt83wYOAvvaM3CMvq0ReWElBXhK4dFNt1ctQGwTRE9nXEFHUhq-39HDwoW8dkwlW5rRGdTajjpIeyajCYpliAhis2KMIEiQFKiBC2BTlBCgaLGScT6n8QpeqFVnx423-4kXCuJqRkbK10UgWOqBdSrUyDpANV80GLUGqfbjp7wHCq9hSxn5dqEFcNZFqBuEq7yTr3RNPAQdJ0MWE3nWBE5+TcIg9vHjOVvZ2EgxplHMp2tSEZDQUb9hXQ2QwKOjtiQpiWngM+uVCrGYKKZY1cYLcvqo5DzQHQCrQYmenyEKpFO2RAa9uPCvICDjmDN+3cT3XmMJ9vnn0WDfuL+HXkPT9YdbdML2mC0RnIWjqk+kbJQYldzE2VBOdNO2KQWOqheoDaOZALbfZmdfJbf5tyVLU6X+UJj++7G0oCi625P102GnD+mRx8DAXl5Rn1Frw8Og97MS29aq5Xa5UdYxZys0Fk2NpC9aSZEEXHER4Ee8lR6fNzElB5XMSMgEeUwNmGvjm2rnyFT7daEy-lygDjm4HtIQv5Dp6SfdXlRXkZAWQlPrn2IYJdjlYpPibBLgLFg+5KQYmtXzARGMUYJLKY5Fxe2zd7XljDJ6EnITHlAj2Ik3q1bVjtwZZLDgX4XA+TGWIYJAxtiyy7QIkkc5BIeI2x98DB0ijgicOYkRnhxFxPYEvCiu5tV5x15BvcsVGXpPcbDsMJlBSWHkmbYuNNSYXx+ioHxzAQpXtuvdV636sXlEpBlc1NrfBtSgwAT6j3s3gePgCUM8isW53H7Cl-jSqrtzOjYCTwQchL85YvYYnX1ZmAKY6U-DQItDIcrXLmZZbY-CJ60Y0S0dO2DglABOhZ+Gh0JkwOy+UJzPeBZsXCcNGAtPHWV+3julIkpIz2KXxav8mmsreM1YFhEdvq7kv9RbfYuq8H5YibpRPTMVhPn90gVfpbDxNbSPZfcQCdOJh-UAJ2+hAgbx-h0P4h8ShRaR4jbL0s2IeEdLPeRUYBvJgAtWPNi2xkpiSMy8IZKVSMwosGdjowEyXvK1MlCBxqc4vPTQsBoF0aJdJ9jo5-Pl9eFjF1Banb+DPPzM1X0VbKv+rnHNU4ZYpK8KX5C-kb07Evc73TMhu3vkFWzuAmhOHouRymXcjB6ftTk15-geh1NEcyKuyTTg95uHBVaSUGFa2qG8kkPXmNzRgq8+LUj8jHZwm2lV+c7qO9u-skRd68PFEXz2WPp6+hYr4tUB3pK1grxPrsxFnxyK8Fsazyz0WXpHHNXWwGoujGg7qa6RbhuiXDRWKVdvadN1fZcsoOnPFoHEE00CZiLQRQiyKZqf2GYEJuturDdbSX1mS867ms98ptYDfaCU5N6T2jRZT0 (File name too long)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:101)
at com.sonyericsson.chkbugreport.Module.saveSections(Module.java:719)
at com.sonyericsson.chkbugreport.Module.generate(Module.java:579)
at com.sonyericsson.chkbugreport.Main.run(Main.java:232)
at com.sonyericsson.chkbugreport.Main.main(Main.java:358)

Generation of report failed: FileNotFoundException: bugreport_out/data/../raw/087-/data_USAGE

I ran
java -jar chkbugreport-0.5-211.jar bugreport.txt

And it failed with

Running (generate) plugin: com.sonyericsson.chkbugreport.plugins.charteditor.ChartEditorPlugin...
Collecting errors...
Copying extra resources...
Saving raw sections
java.io.FileNotFoundException: bugreport_out/data/../raw/087-/data_USAGE (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:101)
at com.sonyericsson.chkbugreport.Module.saveSections(Module.java:706)
at com.sonyericsson.chkbugreport.Module.generate(Module.java:566)
at com.sonyericsson.chkbugreport.Main.run(Main.java:232)
at com.sonyericsson.chkbugreport.Main.main(Main.java:358)

Remove use of deprecated APIs

On a clean build:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Investigate and fix.

Kernel Wake Sources Plugin - some columns always display 0

Using ChkBugReport 0.5 215, some of the "Battery info | Kernel wakelocks" columns are always 0 e.g. Total time, Max time etc.

The bugreport contains kernel wake sources figures generated by the kernel power driver print_wakeup_source_stats() which are reported in millisecond units:

ret = seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t"
			"%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
			ws->name, active_count, ws->event_count,
			ws->wakeup_count, ws->expire_count,
			ktime_to_ms(active_time), ktime_to_ms(total_time),
			ktime_to_ms(max_time), ktime_to_ms(ws->last_time),
			ktime_to_ms(prevent_sleep_time));

(Note the calls to ktime_to_ms() which mean active_time, total_time etc are in ms units in the bugreport.)

However, in ChkBugReport's KernelWakeSourcesPlugin.java, the code in generate() appears to be converting to ms again. e.g.

long maxMs = lock.max_time / 1000000L;

which results in the 0 figures. (Not quite sure why dividing by a million there?)

[MemPlugin]Failed gathering data from procrank output

MemPlugin failing to parse procrank data, likely a change in format, investigate and fix parsing.

[MemPlugin]Failed gathering data from procrank output... Maybe procrank is buggy again?: java.lang.NumberFormatException: For input string: "6K    8"

Add ability to replace logcat

ChkBugReport should be able to replace logcat:

  • user starts chkbugreport instead of logcat
  • chkbugreport continuously reads the log(s) and prints them (also stores them in memory)
  • when user presses a key, it will start processing the log

This would allow:

  • finer log filtering (using xml files)
  • optional support for inserting markers in the log, when certain keys are pressed

Parse all of window attributes

Window attributes can be several lines:

mAttrs={(0,0)(fillxfill) gr=BOTTOM CENTER_VERTICAL sim={adjust=pan} ty=INPUT_METHOD fmt=TRANSPARENT wanim=0x1030056
      fl=NOT_FOCUSABLE LAYOUT_IN_SCREEN SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
      vsysui=LIGHT_NAVIGATION_BAR}

The current parser attempts to parse them line by line meaning that the secondary lines are missed. We should fix this.

[StackTracePlugin]Cannot find sections

StackTracePlugin reports several errors in log for missing sections. Investigate and check parsing for different section names.

[StackTracePlugin]Cannot find section: VM TRACES AT LAST ANR (aborting plugin)
[StackTracePlugin]Cannot find section: VM TRACES (aborting plugin)

[BatteryInfoPlugin]Could not parse line: Kernel Wake lock

Many issues with parsing lines for Kernel Wake lock. Investigate and improve parsing.

Could not parse line: Kernel Wake lock PowerManagerService.Display: 29s 912ms (6 times) realtime
Could not parse line: Kernel Wake lock PowerManager.SuspendLockout: 29s 876ms (0 times) realtime
Could not parse line: Kernel Wake lock pn551: 6s 57ms (3 times) realtime
Could not parse line: Kernel Wake lock alarmtimer: 6s 10ms (3 times) realtime
Could not parse line: Kernel Wake lock PowerManagerService.WakeLocks: 3s 719ms (15 times) realtime
Could not parse line: Kernel Wake lock nanohub_wakelock_read: 707ms (4 times) realtime
Could not parse line: Kernel Wake lock qcril: 604ms (4 times) realtime

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.