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 220.127.116.11 built against Cabal 18.104.22.168 and for cabal-install 22.214.171.124 built against Cabal 126.96.36.199.
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.