Open kolmodin opened 11 years ago
Thanks! This is very interesting. Which OS/architecture are you on?
OS is Goobuntu, essentially Ubuntu 12.04. The machine is x86_64.
It did manage a few times to install cabal-install, so it seems it's not 100% reproducable.
I tried with ghc 7.6.3, same thing. I'd like to try to reproduce with ghc 7.7 as well, but some dependencies said they don't support base-4.7 and I didn't have time to setup local versions to try with.
Thanks, will try to reproduce.
So far failed to reproduce on an 8-core EC2 instance. Will try on a 16-core one.
Failed to reproduce on a 16-core instance running Ubuntu 12.04/x86_64.
@kolmodin
I have a feeling that this is a GHC RTS bug that only happens on systems with a large number of cores. Unfortunately, the largest EC2 instance I can rent has only 16 cores, which apparently isn't enough to trigger this behaviour.
If you have other ideas on how to reproduce this, I'll be happy to follow your advice.
I'd like to try to reproduce with ghc 7.7 as well, but some dependencies said they don't support base-4.7 and I didn't have time to setup local versions to try with.
IIRC it's only HTTP. All you need to do is relax the version bound in the .cabal file.
This is using the newly released
cabal-1.18.0
. I built it using a clean user package-db, usingGHC-7.6.2
.Using parallel compilation and sandbox, cabal fails in building the packages and instead hogs 100% CPU.
After this, nothing happens. The
cabal
process is stuck in some loop, using all cpu it can get.If I explicitly specify fewer CPUs, it still fails.
A package with fewer dependencies also fails, even with few CPUs.