[GHC] #10081: SIGTERM ignored when process has been detached from terminal

GHC ghc-devs at haskell.org
Sat Feb 14 15:28:48 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:  Unknown/Multiple  |            Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * os:  FreeBSD => Unknown/Multiple


Comment:

 Indeed, I am testing on Linux. However, I don't understand why this
 behavior is unexpected. The thread in which the signal handler runs dies
 due to an uncaught exception from `hPutStrLn`, and so the `throwTo` is
 never reached.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10081#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list