Skip to content

"Invalid object in processHeapClosureForDead" when profiling with -hb

Running the attached program, compiled with -threaded -Wall -auto-all -caf-all -fforce-recomp -fprof-auto-top -fprof-auto-calls - with the following flags: +RTS -hc -hbdrag,void -RTS

The output is as follows:

leaks: internal error: Invalid object in processHeapClosureForDead(): 60
    (GHC version 7.4.2 for i386_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Abort trap: 6
Edited by Ömer Sinan Ağacan
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information