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

GHC ghc-devs at haskell.org
Fri Aug 25 13:16:07 UTC 2017


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

Comment (by nad):

 I managed to trigger this bug using Agda version 2.6.0-439fe3e, built
 using GHC 8.2.1 with profiling enabled and `-fprof-auto`:
 {{{
 $ agda_p --version +RTS -hb
 Agda version 2.6.0-439fe3e
 agda_p: internal error: Invalid object in processHeapClosureForDead(): 7
     (GHC version 8.2.1 for i386_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted (core dumped)
 }}}

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


More information about the ghc-tickets mailing list