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

coverage.py 6.3 regression - SIGTERM hang during time.sleep() #1340

Closed
ben-spiller opened this issue Mar 10, 2022 · 2 comments
Closed

coverage.py 6.3 regression - SIGTERM hang during time.sleep() #1340

ben-spiller opened this issue Mar 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ben-spiller
Copy link

Describe the bug
I have a Python program that's doing a long (infinite) time.sleep(1000), and has no multiprocessing/threading. With coverage 6.2 it works but with 6.3 sending SIGTERM results in a hang.

To Reproduce

  1. Python 3.10
  2. coverage.py 6.3.0. 6.2.0 does not hang.
  3. A python program that just does time.sleep(1000)
  4. Sending a SIGTERM (on RHEL 8.5) does not terminate it with coverage.py 6.3 but does with 6.2.

Expected behavior
SIGTERM should still terminate the process - the presence of coverage.py shouldn't break that.

Additional context
Similar symptoms to GH-1310 but no multiprocessing involved here

@ben-spiller ben-spiller added bug Something isn't working needs triage labels Mar 10, 2022
@nedbat
Copy link
Owner

nedbat commented May 19, 2022

@ben-spiller Can you re-test with this fix for #1310 ?

pip install git+https://github.com/nedbat/coveragepy.git@803a5494ef23#egg=coverage

@nedbat nedbat added question Further information is requested and removed needs triage labels May 21, 2022
@nedbat
Copy link
Owner

nedbat commented Sep 4, 2022

Feel free to re-open this if you get more information.

@nedbat nedbat closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2022
@nedbat nedbat removed the question Further information is requested label Sep 4, 2022
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

No branches or pull requests

2 participants