Opened 11 years ago

Closed 11 years ago

#805 closed bug (fixed)

Too many workers; runaway worker creation?

Reported by: lipeng@… Owned by:
Priority: high Milestone: 6.6
Component: Runtime System Version: 6.5
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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:

Attachments (1)

runaway.tar.gz (659 bytes) - added by guest 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by guest

Attachment: runaway.tar.gz added

comment:1 Changed 11 years ago by simonmar

Priority: normalhigh

comment:2 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

That test has now been removed.

Note: See TracTickets for help on using tickets.