[GHC] #15165: GHC 8.2.2: internal error with +RTS -hb

GHC ghc-devs at haskell.org
Fri Jul 13 12:13:05 UTC 2018


#15165: GHC 8.2.2: internal error with +RTS -hb
-------------------------------------+-------------------------------------
        Reporter:  kfiz              |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Profiling         |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15063, #15087,   |  Differential Rev(s):  Phab:D4928
  #7836                              |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ömer Sinan Ağacan <omeragacan@…>):

 In [changeset:"2625f1310edeff62eb3876cc6efbe105a80fe4ad/ghc"
 2625f131/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2625f1310edeff62eb3876cc6efbe105a80fe4ad"
 Fix processHeapClosureForDead CONSTR_NOCAF case

 CONSTR_NOCAF was introduced with 55d535da10d as a replacement for
 CONSTR_STATIC and CONSTR_NOCAF_STATIC, however, as explained in Note
 [static constructors], we copy CONSTR_NOCAFs (which can also be seen in
 evacuate) during GC, and they can become dead, like other CONSTR_X_Ys.
 processHeapClosureForDead is updated to reflect this.

 Test Plan: Validates on x86_64. Existing failures on i386.

 Reviewers: simonmar, bgamari, erikd

 Reviewed By: simonmar, bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #7836, #15063, #15087, #15165

 Differential Revision: https://phabricator.haskell.org/D4928
 }}}

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


More information about the ghc-tickets mailing list