-
Notifications
You must be signed in to change notification settings - Fork 431
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
panic error message #552
Comments
Same here |
The problem is with parsing the process maps - probably of the PID you're trying to profile. Please attach:
|
@Jongy thank you very much for these instructions. just a couple mentions
thanks for your time |
RUST_BACKTRACE=1 ./py-spy top --pid 66 |
thanks @bdraco! here's what that command outputs (word wrapping might be weird so you'll have to scroll all the way right) :
and just to confirm the PID of interest is now 67 |
Thanks @Anto79-ops . Getting the contents of
It can be quite long indeed (depending on the amount of libraries your process has loaded), but since any of those lines can be the problematic line, we'll need the full one. You can attach it as a message in GitHub (copy the file aside, then drag and drop it to the textbox) |
Hi, as mentioned above I have the same problems (and the same output for RUST_BACKTRACE=1 ./py-spy top --pid 66 as above). Here is the content of my /proc/66/maps. |
@BrainInSight could you please tell me how you wrote your maps to a file? Thanks |
ok, was able to get the maps file thanks @Jongy and just to be consistent, here's the RUST_BACKTRACE for the same session
|
Hi @Jongy wondering if you had a chance to look the logs, and perhaps see a resolution. Thanks for your help and time. |
Hi @Anto79-ops haven't had the chance yet, I'll update once I do :) I did try meanwhile to run proc-maps crate on v0.2.1 (used by py-spy) and on master with your file from here and @BrainInSight 's file from here. Both manage to parse correctly so I might be doing something wrong :/ will continue testing it thoroughly once I find the time. |
Thank you @Jongy anytime you put to this issue is greatly appreciated. |
Hi, i'm facing the same issue. See below the ouput of backtrace=1 . I hope this might help to find the issue.
|
any luck on a solution for this issue? thank you |
I have the same backtrace. Attaching my maps. |
Hello all,
Not sure if this is an issue or usage problem, so I wanted to reach out.
I'm trying to install and run py-spy on Home Assistant OS in the container by these commands from these instructions:
However, when I to run the py-spy on the PID of interest, i get these errors:
Does anyone know what these means and how to solve the problem?
thank you
The text was updated successfully, but these errors were encountered: