[GHC] #2164: zmachine: internal error: task 0xa031e0: main thread 1 has been GC'd

GHC trac at galois.com
Sun May 25 08:37:26 EDT 2008


#2164: zmachine: internal error: task 0xa031e0: main thread 1 has been GC'd
----------------------------+-----------------------------------------------
 Reporter:  guest           |          Owner:  simonmar      
     Type:  bug             |         Status:  new           
 Priority:  normal          |      Milestone:  6.8.3         
Component:  Compiler (FFI)  |        Version:  6.8.2         
 Severity:  normal          |     Resolution:                
 Keywords:                  |     Difficulty:  Unknown       
 Testcase:                  |   Architecture:  x86_64 (amd64)
       Os:  Unknown         |  
----------------------------+-----------------------------------------------
Comment (by wjt):

 I can trigger the same internal error on my x86 (Pentium M) with a
 different example, using gtk2hs, curl and HXT.  The attached source file
 is as far as I can reduce it without the error going away, I'm afraid.
 The output given is:

 {{{
 before
 GHC_bug_2164: internal error: task 0x842ccb8: main thread 1 has been GC'd
     (GHC version 6.8.2 for i386_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

 I cannot reproduce the error using the ZMachine code.

 {{{
 2071 % uname -a; ghc --info
 Linux talkie 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
 GNU/Linux
  [("Project name","The Glorious Glasgow Haskell Compilation System")
  ,("Project version","6.8.2")
  ,("Booter version","6.8.2")
  ,("Stage","2")
  ,("Interface file version","6")
  ,("Have interpreter","YES")
  ,("Object splitting","YES")
  ,("Have native code generator","YES")
  ,("Support SMP","YES")
  ,("Unregisterised","NO")
  ,("Tables next to code","YES")
  ,("Win32 DLLs","")
  ,("RTS ways"," debug  thr thr_p thr_debug debug_p thr_debug thr_debug_p")
  ,("Leading underscore","NO")
  ]

 2083 % for i in gtk curl hxt; do ghc-pkg list $i; done
 /usr/lib/ghc-6.8.2/package.conf:
     gtk-0.9.12.1
 /usr/lib/ghc-6.8.2/package.conf:
     curl-1.3.2
 /usr/lib/ghc-6.8.2/package.conf:
     hxt-7.5
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2164#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list