[GHC] #12226: C-c does not force kill hung GHC processes
GHC
ghc-devs at haskell.org
Wed Jun 22 21:19:54 UTC 2016
#12226: C-c does not force kill hung GHC processes
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Test Suite | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12226>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list