-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OverflowError: cannot convert float infinity to integer #9
Comments
Header only (perf script --debug-mode) files cause the same backtrace: -rw-rw-r-- 1 dan dan 1384 Apr 4 21:01 stacks.mysql-prep.2018-04-04 21:01:35-05:00 -rw-rw-r-- 1 dan dan 1384 Apr 4 21:01 stacks.mysql-prep.2018-04-04 21:01:58-05:00 |
Yes, the UI should say "empty file" or something, instead of crashing. Needs to be fixed. |
I've got the same issue on all perf files generated from jvm applications. Here's an example: perf-54606.data.gz |
@brendangregg can you check this example file? I'll also add a another issue to track general file error handling. |
Im getting the same error, perf file was generated using https://github.com/jvm-profiling-tools/async-profiler and the cmd I used was: ./profiler.sh -d 30 -o collapsed -f /tmp/traces.txt 30497 the file is not empty (~10mb) |
@rogerwelin async-profiler with |
@smarter did you produce |
@grooverdan File handling improvements will be tracked on #18 @rogerwelin @smarter these seem to be invalid files. Let me know if otherwise and I'll reopen the issue. @ceeaspb Thanks for the help on this! |
Ended up being caused by an empty file:
-rw-rw-r-- 1 dan dan 0 Apr 4 20:30 stacks.mysql-64-oltp_read_only_1.2018-04-04 20:30:08-05:00
The text was updated successfully, but these errors were encountered: