scavenge_stack: weird activation record found on stack on "cabal install -j"
|Reported by:||adinapoli||Owned by:|
|Operating System:||MacOS X||Architecture:||x86_64 (amd64)|
|Type of failure:||Runtime crash||Test Case:|
|Related Tickets:||Differential Rev(s):|
sorry if this was reported somewhere else. I know that the dreadful "scavenge_stack" is nothing new, but it's the first time I see it on Mac OS X (I'm on Maverick, OS X 10.9.2).
This is a "stacktrace" of the problem. It seems to happen almost consistently if I try to do a parallel installation:
[hsenv]☁ ~HSENV cabal install -j snap Resolving dependencies... Configuring HUnit-18.104.22.168... Downloading MonadRandom-0.1.13... Downloading logict-0.6.0.2... cabal: internal error: scavenge_stack: weird activation record found on stack: 415597384 (GHC version 22.214.171.12440228 for x86_64_apple_darwin) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug  2328 abort cabal install -j snap [hsenv]☁ ~HSENV
The concerning thing is that it doesn't seem to be deterministic. After issuing that command, I have tried again and it worked this time:
[hsenv]☁ ~HSENV cabal install -j snap Resolving dependencies... Configuring HUnit-126.96.36.199... Downloading MonadRandom-0.1.13... Configuring SHA-1.6.4... Downloading logict-0.6.0.2... Downloading process-188.8.131.52... [...]
It seems to happen with every package and I have tried to install snap just for the sake of reproducing it.
ps. Cross-posted on Github into the cabal issue tracker: https://github.com/haskell/cabal/issues/1716