Skip to content

64-bit windows cabal.exe segfaults in GC

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.

Trac metadata
Trac field Value
Version 7.8.1-rc2
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information