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

[Windows] nullptr exception in psutil_get_open_files() #1823

Closed
ydder007 opened this issue Sep 9, 2020 · 2 comments
Closed

[Windows] nullptr exception in psutil_get_open_files() #1823

ydder007 opened this issue Sep 9, 2020 · 2 comments

Comments

@ydder007
Copy link

ydder007 commented Sep 9, 2020

Windows

  • { Windows 10/Server 2016/Server 2019 }
  • { 5.7.2 }
  • { 2.7.18 }

file: process_handles.c:250 -> exception: "globalFileName" was "nullptr"
We recently upgraded from an older version of psutil (5.2.2) to the latest package.
Since then we encountered numerous crashes. I traced the crash dumps down to one culprit:

process_handles.c lines 246ff.:
image

It seems like globalFileName can be NULL here.

@ydder007 ydder007 added the bug label Sep 9, 2020
@BoboTiG
Copy link
Contributor

BoboTiG commented Sep 19, 2020

Could this be the culprit for #1763?

@giampaolo
Copy link
Owner

Good catch. I should have fixed this. Please reopen if I didn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants