[GHC] #2870: User signals are not blocked before 'fork' in runInteractiveProcess

GHC trac at galois.com
Thu Feb 19 08:24:17 EST 2009


#2870: User signals are not blocked before 'fork' in runInteractiveProcess
-----------------------------------------------+----------------------------
    Reporter:  dsh                             |        Owner:  igoo            
        Type:  merge                           |       Status:  new             
    Priority:  high                            |    Milestone:  6.10.2          
   Component:  libraries/process               |      Version:  6.10.1          
    Severity:  normal                          |   Resolution:                  
    Keywords:  threaded runInteractiveProcess  |   Difficulty:  Unknown         
    Testcase:                                  |           Os:  Unknown/Multiple
Architecture:  x86_64 (amd64)                  |  
-----------------------------------------------+----------------------------
Changes (by simonmar):

  * owner:  simonmar => igoo
  * type:  bug => merge

Comment:

 Fixed.  Three patches are required, first ghc:

 {{{
 Thu Feb 19 03:34:18 PST 2009  Simon Marlow <marlowsd at gmail.com>
   * Export blockUserSignals and unblockUserSignals (needed for #2870)
 }}}

 secondly for libraries/process:

 {{{
 Thu Feb 19 04:32:35 PST 2009  Simon Marlow <marlowsd at gmail.com>
   * Fix #2870: User signals are not blocked before 'fork' in
 runInteractiveProcess
 }}}

 and finally, for libraries/base, this isn't strictly necessary but I think
 it's prudent:

 {{{
 Thu Feb 19 03:42:17 PST 2009  Simon Marlow <marlowsd at gmail.com>
   * Set the IO manager pipe descriptors to FD_CLOEXEC
 }}}

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


More information about the Glasgow-haskell-bugs mailing list