[GHC] #15038: Memory Corruption (strange closure type)

GHC ghc-devs at haskell.org
Sat Apr 28 14:32:03 UTC 2018


#15038: Memory Corruption (strange closure type)
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Good sleuthing!

 However, I'm not sure about marking `absentError` as non-CAFFY. Afterall,
 judging by its RHS it looks as though it may carry a reference to at least
 one CAF (namely `unpackCString# "Oops!  Entered absent arg"#). Have you
 looked at the STG that is produced for this?

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


More information about the ghc-tickets mailing list