Cabal: GHC thread escapes when suspending cabal with Ctrl+Z

Created on 9 Apr 2014  路  3Comments  路  Source: haskell/cabal

When I build xhb with cabal build -j4 on GHC 7.8 (cabal configure -w ghc-7.8.1), and then suspend the process with Ctrl+Z, one ghc process is not suspended and goes nuts on 100% CPU (possibly forever).

(xhb doesn't currently build cleanly on 7.8; you have to cabal get xhb, then edit Graphics/XHB/Shared.hs and add an import System.IO.Unsafe (unsafePerformIO) to make it work.)

I don't know if this is a GHC or cabal related problem.

info-needed

Most helpful comment

I didn't see that there's info-needed requested from my side, as adding tags doesn't send anybody emails.

I have just tried it again with

cabal-install version 1.22.6.0
using version 1.22.4.0 of the Cabal library
ghc-7.10.3
xhb-0.6.2015.8.1

and could not reproduce the problem.

All 3 comments

I don't know if this is a GHC or cabal related problem.

You can test by running cabal build -j4 -v3, extracting the ghc --make [...] line and then invoking ghc --make [...] manually.

closing as rotted. (info-needed after 4 years is probably not forthcoming).

I didn't see that there's info-needed requested from my side, as adding tags doesn't send anybody emails.

I have just tried it again with

cabal-install version 1.22.6.0
using version 1.22.4.0 of the Cabal library
ghc-7.10.3
xhb-0.6.2015.8.1

and could not reproduce the problem.

Was this page helpful?
0 / 5 - 0 ratings