#3900: CAFs used after GC with shared libs
---------------------------------+------------------------------------------
Reporter: augustss | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12.2
Component: Runtime System | Version: 6.12.1
Keywords: | Difficulty:
Os: Linux | Testcase:
Architecture: Unknown/Multiple | Failure: Runtime crash
---------------------------------+------------------------------------------
Comment(by augustss):
If this problem can't be fixed in a generic way, I'd like to request two
things:
* Mark garbage collected CAFs so that if they are ever used again the RTS
can give a good error message. I'd like to spare other people tracking
down this bug again. It was tedious.
* Add a function setKeepCAFs() that can be called outside the RTS. It's
much more reliable to have a function to link against in the RTS than just
a symbol to set (I failed in several ways to set keepCAFs from outside the
RTS.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3900#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs