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