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

GHC ghc-devs at haskell.org
Thu Apr 5 06:22:42 UTC 2018


#7836: "Invalid object in processHeapClosureForDead" when profiling with -hb
-------------------------------------+-------------------------------------
        Reporter:  hyperthunk        |                Owner:  (none)
            Type:  bug               |               Status:  patch
        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:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 We should either stop allocating `CONSTR_NOCAF` on the heap, or apply the
 patch I submitted. If I'm understanding the story correctly we can
 legitimately allocate `CONSTR_NOCAF` on the heap so I think the patch is
 correct.

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


More information about the ghc-tickets mailing list