[GHC] #4449: GHC 7 can't do IO when demonized

GHC cvs-ghc at haskell.org
Tue Jan 4 08:32:31 CET 2011


#4449: GHC 7 can't do IO when demonized
----------------------------+-----------------------------------------------
  Reporter:  kazu-yamamoto  |          Owner:  tibbe      
      Type:  bug            |         Status:  new        
  Priority:  normal         |      Milestone:  7.0.2      
 Component:  Compiler       |        Version:  7.1        
Resolution:                 |       Keywords:  forkProcess
  Testcase:                 |      Blockedby:             
Difficulty:                 |             Os:  MacOS X    
  Blocking:                 |   Architecture:  x86        
   Failure:  None/Unknown   |  
----------------------------+-----------------------------------------------

Comment(by kazu-yamamoto):

 I run the original test code (using System.Process) with GHC
 7.0.2rc1/-threaded and checked the running echo daemon with "lsof". There
 should be one kqueue socket and two pairs of pipe (which is used by
 System.Event.Control). But there are not such file descriptors. So, I
 guess kqueue.new fails after "daemonize".

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



More information about the Glasgow-haskell-bugs mailing list