[GHC] #7836: "Invalid object in processHeapClosureForDead" when profiling with -hb

GHC ghc-devs at haskell.org
Thu Apr 5 06:20:26 UTC 2018


#7836: "Invalid object in processHeapClosureForDead" when profiling with -hb
-------------------------------------+-------------------------------------
        Reporter:  hyperthunk        |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Profiling         |              Version:  8.5
      Resolution:                    |             Keywords:  profiling
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9640             |  Differential Rev(s):  Phab:D4567
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by osa1):

 * keywords:  profiling osx => profiling
 * version:  7.4.2 => 8.5
 * differential:   => Phab:D4567


Old description:

> 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
> }}}

New description:

 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
 }}}

--

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


More information about the ghc-tickets mailing list