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

【Thread Leak ?】Unknown Dummy Thread due to the patched subprocess.check_output #2032

Open
Alex-Beng opened this issue Apr 29, 2024 · 0 comments

Comments

@Alex-Beng
Copy link

  • gevent version: 24.2.1 From PyPI
  • Python version: cPython 3.9.13 downloaded from python.org
  • Operating System: For example, Windows 10 (10.0.19045.4291 + x86)

Description:

I have a python script, which use subprocess.check_output to check the windows version. Then in the debugging mod, it looks like that it will create a ThreadPool's thread, and the thread can't be killed through gevent.get_hub().threadpool.kill().

I think it may be a kind of Thread Leak ? Or just the gevent feature ?

the reproduce code and result can be seen in microsoft/debugpy#1572

What I've run:

microsoft/debugpy#1572 (comment)

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