logo       

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

lang.haskell.glasgow.bugs

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

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@xxxxxxxxxxx,
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise