#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
---------------------------------+------------------------------------------
Changes (by simonmar):

  * milestone:  => 6.12.2


Comment:

 Ah yes.  A program that intends to load Haskell libraries dynamically at
 runtime will have to identify itself as such somehow, so that the RTS can
 disable GC'ing of CAFs.  Setting `keepCAFs = 1` before `hs_init()` will do
 it currently, we should decide if that's the right thing or not.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3900#comment:1>
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

Reply via email to