-
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
'Attempt to substract with overflow' in linux/symbolication #183
Comments
I just tried this with Centos7 (using the py-spy v0.2.2 installed via pip) and it worked fine for me - with both the v2.7.5 and v3.6.8 versions installed through yum =(. Does this just happen in the integration tests? |
benfred
added a commit
that referenced
this issue
Oct 21, 2019
With linux, we were loading up symbolication data even when not doing native extension profiling - since we unwind the stack to figure out the pthreadid /native threadid mapping. This caused an issue where loading symbols paniced (#183). Change to not load symbols unless needed. Also try to handle the underlying error.
Still haven't managed to reproduce - but #187 there should fix the problem hopefully |
Fix is in v0.3.0 - let me know if this doesn't work out for you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried running crate tests on CentOS 7, with libunwind built manually (due to issues linking to the system-wide one, described in another issue), both vs the system Python and with Python 3.6 from conda installation.
All unit tests pass, but all integration tests fail with a weird overflow error:
Looks like this subtraction is failing:
py-spy/remoteprocess/src/linux/symbolication.rs
Lines 89 to 90 in d167236
Full backtrace
The text was updated successfully, but these errors were encountered: