Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant