
#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 rwbarton): Is `openEndedPipe` SIGPIPE? Then, in the last test, as you have exited the shell that invoked the daemon, when you send it a SIGTERM, wouldn't the daemon try to print an error message `trap`, and then receive a SIGPIPE since its stderr is closed, and then enter `trap` again to handle that signal, etc.? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10081#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler