Skip to content
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

Fix panic when virtual memory maps are empty #509

Merged
merged 2 commits into from
Jul 29, 2022
Merged

Conversation

benfred
Copy link
Owner

@benfred benfred commented Jul 29, 2022

In #503, there
are reports that py-spy panics - with the stack trace indicating
that its trying to load up a process with no virtual memory maps.

Fix by handling the case where maps are empty, to return an Err rather
than panicking

In #503, there
are reports that py-spy panics - with the stack trace indicating
that its trying to load up a process with no virtual memory maps.

Fix by handling the case where maps are empty, to return an Err rather
than panicking
@benfred benfred added the bug Something isn't working label Jul 29, 2022
@benfred benfred merged commit 7675615 into master Jul 29, 2022
@benfred benfred deleted the fix_maps_panic branch July 29, 2022 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant