Open hhwyt opened 2 months ago
I have not seen this error before, but it probably indicates that the profile JSON contains some bad data. Can you reproduce this? Can you attach the corresponding profile.json file here?
Thanks for your response.
I encountered this error each time I run samply record
. And this is my profile.json.
profile.json.tar.gz
Is it an empty file? The tar.gz file shows me an error when I unpack it.
Sorry, my fault. Here is the correct version.
Ah, yes, all the sample tables are empty. You can search for samples":{"length":
in the JSON.
So for some reason samply wasn't able to capture any samples.
Is it possible that the app you're running is an x86_64 app that runs via Rosetta? samply cannot profile Intel binaries. I filed #201 about showing a useful error in that case.
I have the same issue attempting to profile a rust application on OSX.
Samply runs with no error and opens the browser at localhost.
The viewer then errors with RangeError: minimumFractionDigits value is out of range
because no data was actually generated.
Confirmed in my case that it is a native apple silicon binary.
Interesting! How long does the profiled process run for? Maybe it shuts down before the first sample is gathered?
@mstange Ah ... that is an interesting point, will test.
Hello, everyone! I'm attempting to profile my program using
samply record
, but i've encountered an error stating,RangeError: minimumFractionDigits value is out of range
. Does anyone know how to resolve this issue or suggest a possible workaround?Error stack from chrome console:
Machine: Mac, Apple Silicon, M3 Max OS: Sonoma 14.1 (23B2073) Chrome: Version 124.0.6367.119 (Official Build) (arm64)
Thanks for any help.