Simon Marlow wrote:

> > I have a program that hangs.  When I interrupt it (^C) it elicits the
> > following error message.
> >
> > CCTest: fatal error: resurrectThreads: thread blocked in a strange way
> > CCTest: no threads to run:  infinite loop or deadlock?
>
> I believe this bug was fixed between 5.02.2 and 5.02.3.  Could you
> upgrade to the latest version and see if that helps?

I upgraded my Sun/Solaris machine to 5.02.3.  My test program still fails,
but not with the same error messages.  (The two error messages come from two
Unix processes, the one I create and a second that the first process creates
with `fork`.)  With 5.02.3 I get:

CCTest: no threads to run:  infinite loop or deadlock?
CCTest: no threads to run:  infinite loop or deadlock?

I upgraded my x86/Linux machine to 5.03.20020410.  The test program fails
with these messages:

CCTest: interrupted
CCTest: interrupted

In case it might be a useful clue to anyone, my test program involves both
multiple processes (with `Posix.forkProcess`), multiple concurrent GHC
threads (with `Concurrent.forkIO`), and communication among them using pipes
(`Posix.createPipe`).

--Dean

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to