[GHC] #8834: 64-bit windows cabal.exe segfaults in GC

GHC ghc-devs at haskell.org
Mon Mar 17 09:02:12 UTC 2014


#8834: 64-bit windows cabal.exe segfaults in GC
----------------------------------+----------------------------------
        Reporter:  awson          |            Owner:  jstolarek
            Type:  bug            |           Status:  patch
        Priority:  highest        |        Milestone:  7.8.1
       Component:  Compiler       |          Version:  7.8.1-rc2
      Resolution:                 |         Keywords:
Operating System:  Windows        |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------

Comment (by jstolarek):

 Replying to [comment:50 jstolarek]:
 > Simon, could we get a day or two more for this one? I'm at the very
 moment writing a summary of what I've learned so far and I believe it will
 get us very close to fixing this bug properly.

 According to my experiments you can fix Windows build easily by changing
 definition of `isTrivial` in !CmmSink to:

 {{{
 isTrivial :: CmmExpr -> Bool
 isTrivial (CmmReg (CmmLocal _)) = True
 isTrivial (CmmLit _) = True
 isTrivial _          = False
 }}}

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


More information about the ghc-tickets mailing list