Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

PerfView Unhandled exception, .Net Core profiling

$
0
0

Hello i simply tries to follow this instruction to gather some trace information on simply HelloWorld! application:

https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md

I have successfully collected data (i think) because zip file is ready. But when i try to open it on Windows under PerfView (1.9) i stuck with following exception:

Started: Opening sampleTrace.trace.zip
Completed: Opening sampleTrace.trace.zip   (Elapsed Time: 0,035 sec)
Started: Opening  Stacks
Completed: Opening  Stacks   (Elapsed Time: 0,065 sec)
Exception Occurred: System.FormatException: Input string was not in a correct format.
   at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   at Diagnostics.Tracing.StackSources.LinuxPerfScriptEventParser.<NextEvent>d__32.MoveNext()
   at Diagnostics.Tracing.StackSources.LinuxPerfScriptEventParser.<Parse>d__8.MoveNext()
   at Diagnostics.Tracing.StackSources.LinuxPerfScriptStackSource.InternAllLinuxEvents(Boolean doThreadTime)
   at Diagnostics.Tracing.StackSources.LinuxPerfScriptStackSource..ctor(String path, Boolean doThreadTime)
   at PerfView.PerfScriptPerfViewFile.OpenStackSourceImpl(String streamName, TextWriter log, Double startRelativeMSec, Double endRelativeMSec, Predicate`1 predicate)
   at PerfView.PerfViewStackSource.OpenStackSource(String streamName, TextWriter log, Double startRelativeMSec, Double endRelativeMSec, Predicate`1 predicate)
   at PerfView.PerfViewStackSource.<>c__DisplayClass23_0.<Open>b__0()
   at PerfView.StatusBar.<>c__DisplayClass19_0.<StartWork>b__0(Object <state>)
An exceptional condition occurred, see log for details.



Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>