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

OS error 998 when connecting to Python 3.12 process on Windows #727

Open
tteichma opened this issue Nov 15, 2024 · 0 comments
Open

OS error 998 when connecting to Python 3.12 process on Windows #727

tteichma opened this issue Nov 15, 2024 · 0 comments

Comments

@tteichma
Copy link

I am unable to connect to a Python 3.12 process on Windows from py-spy (also running under Python 3.12). It fails with the following error message:

py-spy top --pid 37396
Error: Invalid access to memory location. (os error 998)
Reason: Invalid access to memory location. (os error 998)

Attaching to a running process of Python 3.11 or below works (even if py-spy is running from Python 3.12).

Versions

  • Python: 3.12.4
  • py-spy: 0.4.0
  • OS: Windows 10 Enterprise (Build 19045.5011)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant