[GHC] #7767: "internal error: evacuate: strange closure type 154886248" crash

GHC cvs-ghc at haskell.org
Thu Mar 14 09:48:09 CET 2013


#7767: "internal error: evacuate: strange closure type 154886248" crash
----------------------------+-----------------------------------------------
Reporter:  rodlogic         |          Owner:                
    Type:  feature request  |         Status:  new           
Priority:  normal           |      Component:  Runtime System
 Version:  7.6.2            |       Keywords:                
      Os:  MacOS X          |   Architecture:  x86_64 (amd64)
 Failure:  Runtime crash    |      Blockedby:                
Blocking:                   |        Related:                
----------------------------+-----------------------------------------------
Changes (by nomeata):

 * cc: mail@… (added)


Comment:

 ghc-heap-view has to do some nasty stuff, so I’m not too surprised that it
 does not work flawlessly in every case; this is not necessary a bug in
 GHC. It could indeed profit from some support by GHC.

 The `closure_type_names` list is actually not used in ghc-heap-view; it
 was added only for debugging purposes. It might still be handy to have
 that symbol exposed, though.

 The only code that needs to be synchronized with the RTS (besides the
 closure layout) seems to be the `data ClosureType`.

 Only now I am discovering the `RtClosureInspect` module, which seems to be
 quite similar to ghc-heap-view.... strange that I did not see that before.
 I need to see if that can serve my purposes well enough.

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



More information about the ghc-tickets mailing list