[GHC] #15382: heapprof001 segfaults in prof_hc_hb way on i386

GHC ghc-devs at haskell.org
Tue Dec 25 16:19:36 UTC 2018


#15382: heapprof001 segfaults in prof_hc_hb way on i386
-------------------------------------+------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"9b65ae69fbeddcb9df7c70b71c9cf62be1e03dbd/ghc"
 9b65ae69/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9b65ae69fbeddcb9df7c70b71c9cf62be1e03dbd"
 rts: Turn ASSERT in LDV_recordDead into a normal if

 As reported in #15382 the `ASSERT(ctr != NULL)` is currently getting
 routinely
 hit during testsuite runs. While this is certainly a bug I would far
 prefer
 getting a proper error message than a segmentation fault. Consequently I'm
 turning the `ASSERT` into a proper `if` so we get a proper error in non-
 debug
 builds.
 }}}

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


More information about the ghc-tickets mailing list