Main thread garbage collected
Duncan Coutts
duncan.coutts at worcester.oxford.ac.uk
Thu May 20 10:11:37 EDT 2004
Compile the following module:
main = interact id
ghc-6.2.1 Test.hs -o test
./test
^C
test: internal error: main thread has been GC'd
Please report this as a bug to glasgow-haskell-bugs at haskell.org,
or http://www.sourceforge.net/projects/ghc/
So you run the program, it does nothing as expected. You hit ^C to kill
the program and it it reports the message above.
This appears to have been fixed in 6.3 so just consider this a
regression test.
Duncan
More information about the Glasgow-haskell-bugs
mailing list