[GHC] #10081: SIGTERM ignored when process has been detached from terminal
GHC
ghc-devs at haskell.org
Wed Feb 11 19:21:35 UTC 2015
#10081: SIGTERM ignored when process has been detached from terminal
-------------------------------------+-------------------------------------
Reporter: nakal | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/unix | Version: 7.8.3
Resolution: | Keywords:
Operating System: FreeBSD | Architecture: x86_64
Type of failure: Incorrect result | (amd64)
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by nakal):
As far as I know, SIGPIPE will occur, if a pipe was there, but it's closed
later and the main process still tries to write to it. I think detached
programs don't get SIGPIPE when they write something to stdout/stderr.
I have to mention some more facts here. I tried to catch many more signals
to check what happens. My small program originally did not catch SIGPIPE
and the behavior is the same. You can try it.
There is no endless loop when you send the signal. The process is still
idle. I think that the main process still works correctly without
interruptions, but I will verify it later to be sure.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10081#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list