[GHC] #14346: 8.2.1 regression: heap corruption after safe foreign calls

GHC ghc-devs at haskell.org
Mon Jul 30 08:47:17 UTC 2018


#14346: 8.2.1 regression: heap corruption after safe foreign calls
-------------------------------------+-------------------------------------
        Reporter:  andrewchen        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15260            |  Differential Rev(s):  Phab:D5020
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 >  Ah, I guess the patch was only merged to 8.2.2 branch (not to master).

 That's terrible. And very unusual; usually we put things on master first
 and then merge to a branch.

 However, if I understand aright:
 * The patch in 8.2.2 (comment:33 above) is very much a hack.
 * The real fix is in #14375
 * There is an active patch for #14375

 So we should make sure that the patch for #14375 does fix this ticket, and
 #15260

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


More information about the ghc-tickets mailing list