[darcs-users] Error message

Dan Pascu dan at ag-projects.com
Fri Jun 4 13:44:46 UTC 2010


On 4 Jun 2010, at 12:15, Simon Marlow wrote:

> 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?

I don't know for sure. I use the darcs package from debian unstable,  
so I guess it was compiled with ghc-6.12.1 which is what is available  
in debian unstable. I think Trent can clarify this.

>  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
>


--
Dan








More information about the darcs-users mailing list