logo       

[GHC] #805: Too many workers; runaway worker creation?: msg#00127

lang.haskell.glasgow.bugs

Subject: [GHC] #805: Too many workers; runaway worker creation?

#805: Too many workers; runaway worker creation?
-------------------------------------+--------------------------------------
Reporter: lipeng@xxxxxxxxxxxxx | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6
Component: Runtime System | Version: 6.5
Severity: blocker | Keywords:
Os: Linux | Difficulty: Unknown
Architecture: x86 |
-------------------------------------+--------------------------------------
See the attached code. Use "make" to compile and you should get an
executable file called "Bug.bin", then you can run it by typing the
command "./Bug.bin N" where N is the number of concurrent threads.

For N<=32. The program works fine. It will simply loop and you need
another terminal to kill it.

For N>32, it always crashes immediately:

{{{
$ ./Bug.bin 33
Bug.bin: internal error: too many workers; runaway worker creation?
(GHC version 6.5.20060620 for i386_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Aborted
}}}

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/805>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise