[GHC] #8433: forkProcess masks async exceptions inside the child process

GHC ghc-devs at haskell.org
Fri Nov 8 00:33:16 UTC 2013


#8433: forkProcess masks async exceptions inside the child process
-----------------------------------+------------------------------------
        Reporter:  joeyh           |            Owner:
            Type:  bug             |           Status:  new
        Priority:  normal          |        Milestone:
       Component:  libraries/unix  |          Version:  7.6.3
      Resolution:                  |         Keywords:
Operating System:  Linux           |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown    |       Difficulty:  Unknown
       Test Case:                  |       Blocked By:
        Blocking:                  |  Related Tickets:
-----------------------------------+------------------------------------

Comment (by hvr):

 Here's a simple way to reproduce:

 {{{#!hs
 System.Posix.Process.forkProcess $ print =<<
 Control.Exception.getMaskingState
 }}}

 outputs `MaskedInterrupt` with GHC 7.6.3 on Linux

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


More information about the ghc-tickets mailing list