Skip to content

C-c test suite does not force kill hung GHC processes

By default the test timeout is 300sec. One common thing to have occur is you get GHC in an infinite loop, and now a test won't terminate. So you do the obvious thing and C-c the test script. BUT LITTLE DO YOU KNOW, the GHC process is still hanging around.

So, Python should probably force kill its subprocesses as its quitting, rather than hope that the SIGHUP will reap them. Timeouts DO kill properly, which is nice.

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC thomie
Operating system
Architecture
Edited by Edward Z. Yang
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information