[GHC] #10169: bracket not running the final action on termination through SIGTERM

GHC ghc-devs at haskell.org
Thu Mar 19 03:56:50 UTC 2015


#10169: bracket not running the final action on termination through SIGTERM
-------------------------------------+-------------------------------------
        Reporter:  Kritzefitz        |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  libraries/base    |                 Version:  7.6.3
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86
 Type of failure:  Incorrect result  |               Test Case:
  at runtime                         |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 The GHC runtime doesn't install any signal handler for SIGTERM by default,
 so the program just exits immediately. See ticket:6113#comment:1.

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


More information about the ghc-tickets mailing list