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

SourceForge.net noreply at sourceforge.net
Thu Jul 22 19:58:03 EDT 2004


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

Category: Runtime System
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
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/




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

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