[GHC] #716: Unloading a dll generated by GHC doesn't free all resources

GHC trac at galois.com
Wed Mar 8 12:51:23 EST 2006


#716: Unloading a dll generated by GHC doesn't free all resources
---------------------------------------+------------------------------------
    Reporter:  lennart at augustsson.net  |        Owner:         
        Type:  bug                     |       Status:  new    
    Priority:  normal                  |    Milestone:         
   Component:  Compiler                |      Version:  6.4.1  
    Severity:  normal                  |     Keywords:         
          Os:  Unknown                 |   Difficulty:  Unknown
Architecture:  Unknown                 |  
---------------------------------------+------------------------------------
There seems to be resource leaks in load&unload of a DLL.
 If you put it in a loop strange thing can happen.

 So one thing I notiticed is that several places
 (Ticker.c, IOManager.c) create threads, but I could not
 find the place where these threads die.
 How are they supposed to die shutdownHaskell() is called?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/716>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list