Skip to content

Disabling idle GC leads to freeze

I'm currently getting a runtime freeze with a spinning CPU with the latest GHC 8.0.1 RC (8.0.0.20160411). Testing 2 months ago on whatever was the latest release candidate showed no problems. The reproduction steps are a bit long winded:

Observe that Shake fails to complete and starts spinning on 1 CPU.

If you modify shake.cabal to remove -with-rtsopts=-I0 -qg -qb then it works again and completes in < 1 min. Adding back flags with +RTS -I0 -RTS shows that -I0 alone is the culprit.

Trac metadata
Trac field Value
Version 8.0.1-rc3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information