[ ghc-Bugs-996263 ] internal error: main thread has been GC'd

SourceForge.net noreply at sourceforge.net
Fri Jul 23 05:20:23 EDT 2004


Bugs item #996263, was opened at 2004-07-22 23:58
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=996263&group_id=8032

Category: Runtime System
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Simon Marlow (simonmar)
Summary: internal error: main thread has been GC'd

Initial Comment:
when compiling the following program with ghc 6.2.1

count :: (?c :: Integer) => IO ()
count = do y <- return ?c
           putStr ((show ?c)++"\n")
           let ?c = y+1 in count 

main = let ?c=0 in count

compiles fine with ghc: --make  -fglasgow-exts test.hs
While running, wenn pressing control-c to break, it
tells me:

a.out: 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/




----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2004-07-23 09:20

Message:
Logged In: YES 
user_id=48280

Thanks for the report.  This bug is known, and the fix will
be in 6.2.2.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=996263&group_id=8032



More information about the Glasgow-haskell-bugs mailing list