-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
There is one line that I always have to remove from my log because otherwise it won't load. Here is the error:
11:22:39.346 - AndroidLogcatDataSource - AndroidLogcatDataSource does not support processing user-specified processing groups - falling back to default processing.
11:22:39.454 - AndroidLogcatDataSource - AndroidLogcatDataSource does not support processing user-specified processing groups - falling back to default processing.
11:22:39.484 - AndroidLogcatCustomDataProcessor - Error processing line number 775 "06-24 09:04:46.725 0 0 I init : Loaded 52 kernel modules took 4444 ms" on C:\Users\mim\Downloads\logcat (6).log. length ('-1') must be a non-negative value. (Parameter 'length')
Actual value was -1.
11:22:39.488 - AndroidLogcatCustomDataProcessor - System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
Actual value was -1.
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
at System.ArgumentOutOfRangeException.ThrowIfNegative[T](T value, String paramName)
at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex, Int32 length)
at LinuxLogParser.AndroidLogcat.AndroidLogcatLogParser.ProcessSource(ISourceDataProcessor`3 dataProcessor, ILogger logger, IProgress`1 progress, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft-Performance-Tools-Linux-Android\LinuxLogParsers\LinuxLogParser\AndroidLogcat\AndroidLogcatLogParser.cs:line 145
11:22:39.500 - AndroidLogcatDataSource - An unexpected error occured while processing this session: One or more errors occurred. (length ('-1') must be a non-negative value. (Parameter 'length')
Actual value was -1.)
The following error was encountered:
An unhandled exception was encountered.
This error was caused by the following exception:
One or more errors occurred. (length ('-1') must be a non-negative value. (Parameter 'length')
Actual value was -1.)
at Microsoft.Performance.Shell.Bridge.BridgeSessionProcessor.ProcessDataCore(IReadOnlyCollection`1 selectedTables, CancellationToken cancellationToken)
at Microsoft.Performance.Shell.Bridge.BridgeSessionProcessor.ProcessData(IReadOnlyCollection`1 selectedTables, CancellationToken cancellationToken)
at Microsoft.Performance.Shell.WpaApplication.<>c__DisplayClass302_0.<ExecuteProcessor>b__0()
at Microsoft.Performance.Shell.WpaApplication.<>c__DisplayClass299_0`1.<WaitWithPump>b__0()
--- End of stack trace from previous location ---
at Microsoft.Performance.Shell.WpaApplication.WaitWithPump[TResult](Func`1 action)
at Microsoft.Performance.Shell.WpaApplication.ExecuteProcessor(BridgeSessionProcessor processor, IReadOnlyCollection`1 selectedTables, CancellationToken cancellationToken)
at Microsoft.Performance.Shell.Bridge.SessionPrototype.Process(IReadOnlyCollection`1 tables, IProgress`1 progress, CancellationToken cancellationToken)
length ('-1') must be a non-negative value. (Parameter 'length')
Actual value was -1.
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
at System.ArgumentOutOfRangeException.ThrowIfNegative[T](T value, String paramName)
at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex, Int32 length)
at LinuxLogParser.AndroidLogcat.AndroidLogcatLogParser.ProcessSource(ISourceDataProcessor`3 dataProcessor, ILogger logger, IProgress`1 progress, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft-Performance-Tools-Linux-Android\LinuxLogParsers\LinuxLogParser\AndroidLogcat\AndroidLogcatLogParser.cs:line 145
As shown in the error the line in question is:
06-24 09:04:46.725 0 0 I init : Loaded 52 kernel modules took 4444 ms
which is a bit strange as it does not look out of the ordinary compared to the lines around it
06-24 09:04:46.675 0 0 I init : Loading module /lib/modules/zram.ko with args ''
06-24 09:04:46.675 0 0 I zram : Added device: zram0
06-24 09:04:46.714 0 0 I init : Loaded kernel module /lib/modules/zram.ko
06-24 09:04:46.725 0 0 I init : Loaded 52 kernel modules took 4444 ms
06-24 09:04:46.735 0 0 I init : Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
06-24 09:04:46.751 0 0 I init : [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
Metadata
Metadata
Assignees
Labels
No labels