[GHC] #2786: Blackhole loops are not detected and reported in GHCi
GHC
cvs-ghc at haskell.org
Mon Oct 22 13:47:49 CEST 2012
#2786: Blackhole loops are not detected and reported in GHCi
---------------------------------+------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: GHCi | Version: 6.8.3
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonmar):
I looked into this a bit today. One problem is that now GHCi is
dynamically linked, we always retain all CAFs (because we set `keepCAFs`
to true). This means that any loop that goes through a CAF won't be
detected as a black hole, because the CAF is inherently live.
I suspect this isn't the only reason that we don't get blackhole
exceptions in GHC, though.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2786#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list