[GHC] #15571: Eager AP_STACK blackholing causes incorrect size info for sanity checks

GHC ghc-devs at haskell.org
Thu Sep 20 11:58:30 UTC 2018


#15571: Eager AP_STACK blackholing causes incorrect size info for sanity checks
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Runtime System    |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15508            |  Differential Rev(s):  Phab:D5165
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 If I recall correctly we disable the part of the sanity check that
 requires zeroing the slop when THREADED_RTS is on. See here:
 https://phabricator.haskell.org/diffusion/GHC/browse/master/rts%2Fsm%2FSanity.c$738-743

 So full heap sanity check only happens after a major GC in the threaded
 runtime, and we don't do slop zeroing.

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


More information about the ghc-tickets mailing list