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

GHC ghc-devs at haskell.org
Thu May 10 11:12:00 UTC 2018


#15038: Memory Corruption (strange closure type)
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  merge
        Priority:  highest           |            Milestone:  8.4.3
       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:  #9718             |  Differential Rev(s):  Phab:D4680
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Also to note: Omer tried the approach in comment:33, but we found that
 binary sizes went up by 1%.  Comment:33 means that we'd link the code for
 all error-ids into every binary even if they are not actually used; but it
 seems hard to believe that would increase code size by 1%.

 Rather than pursue this mystery, we backed off and did the ad-hoc special
 case implemented in comment:36.

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


More information about the ghc-tickets mailing list