On 03/06/2010 15:30, Eric Kow wrote:
On Thu, Jun 03, 2010 at 10:16:25 +0100, Simon Marlow wrote:
How are you invoking child processes, incendentally?
System.Process, or manually with System.Posix.forkProcess?  If the
latter, I have a sneaking suspicion that we need to block signals
across the fork(), or something like that.  We already do it for
System.Process.

As far as I can tell, we only use System.Process

$ grep -r "import .*Process" src
src/Ssh.hs:import System.Posix.Process ( getProcessID )
src/Ssh.hs:import System.Process ( runInteractiveProcess )
src/Darcs/External.hs:import System.Process ( runProcess,
runInteractiveProcess, waitForProcess )
src/Exec.hs:import System.Process   ( runProcess, terminateProcess,
waitForProcess )


Dan: what version of GHC was your darcs compiled with? The fix for signal handling in System.Process occurred in 6.10.2.

  http://hackage.haskell.org/trac/ghc/ticket/2870

and then there was a further fix (not the cause of this error, I think), in 6.10.4:

  http://hackage.haskell.org/trac/ghc/ticket/3317

Cheers,
        Simon
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to