|
RE: Bug in GHC 6.2.1: msg#00007lang.haskell.glasgow.bugs
> This is the program: > > import Control.Concurrent > > main = do > m <- newEmptyMVar > forkIO $ do > s <- getLine > putMVar m s > s <- takeMVar m > putStrLn s > > > ghc --make Bug.hs [21:54] > Chasing modules from: Bug.hs > Compiling Main ( Bug.hs, Bug.o ) > Linking ... > > ./a.out [21:57] > # Now hit Ctrl-C > a.out: internal error: main thread has been GC'd > Please report this as a bug to glasgow-haskell-bugs@xxxxxxxxxxx, > or http://www.sourceforge.net/projects/ghc/ Thanks, that's a bug. I've fixed it in CVS. As far as I can tell, only aborting a program with Ctrl-C should trigger the bug. Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | FollowUp: Bug in GHC 6.2.1, Benjamin Franksen |
|---|---|
| Next by Date: | RE: [PATCH] fix integer truncation in hp2ps output, Simon Marlow |
| Previous by Thread: | FollowUp: Bug in GHC 6.2.1, Benjamin Franksen |
| Next by Thread: | Re: Bug in GHC 6.2.1, Gregory Wright |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |