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

GHC ghc-devs at haskell.org
Sun Mar 2 16:09:59 UTC 2014


#8834: 64-bit windows cabal.exe segfaults in GC
----------------------------------+---------------------------------
       Reporter:  awson           |             Owner:
           Type:  bug             |            Status:  new
       Priority:  highest         |         Milestone:  7.8.1
      Component:  None            |           Version:  7.8.1-rc2
       Keywords:                  |  Operating System:  Windows
   Architecture:  x86_64 (amd64)  |   Type of failure:  None/Unknown
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+---------------------------------
 `cabal.exe` built with 64-bit windows GHC segfaults doing `cabal
 configure` or `cabal install` or probably something else.

 This occurs *both* for cabal-install 1.18.0.2 built against Cabal 1.18.1.2
 and for cabal-install 1.18.0.3 built against Cabal 1.18.1.3.

 This occurs only for 64-bit build, 32-bit build is fine.

 64-bit GHC-7.6.3 build is also fine.

 During debugging I see segfault occurs inside `evacuate` somewhere near
 `get_itbl` call I guess.

 If I make `cabal.exe` to not trigger some presumably bad GC compiling it
 with `-rtsopts` and running it as (for example) {{{cabal +RTS -H256m -m50
 -RTS ...}}} the problem disappears.

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


More information about the ghc-tickets mailing list