#4074: Forking not possible with large processes
---------------------------------+------------------------------------------
Reporter: nomeata | Owner: simonmar
Type: bug | Status: infoneeded
Priority: normal | Milestone: 6.12.3
Component: Runtime System | Version: 6.12.1
Keywords: | Difficulty: Easy (less than 1 hour)
Os: Linux | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Changes (by simonmar):
* status: new => infoneeded
Comment:
I'm not able to reproduce it, but I've applied the following fix anyway:
{{{
Tue May 18 04:32:14 PDT 2010 Simon Marlow <[email protected]>
* Fix #4074 (I hope).
1. allow multiple threads to call startTimer()/stopTimer() pairs
2. disable the timer around fork() in forkProcess()
A corresponding change to the process package is required.
}}}
and the process package patch:
{{{
Tue May 18 09:36:17 BST 2010 Simon Marlow <[email protected]>
* Fix #4074: disable the timer signal around fork()
}}}
If you can test the fix that would be very helpful.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4074#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs