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

GHC trac at galois.com
Wed Mar 8 17:35:19 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                  |     Resolution:         
  Keywords:                          |             Os:  Unknown
Difficulty:  Unknown                 |   Architecture:  Unknown
-------------------------------------+--------------------------------------
Comment (by lennart at augustsson.net):

 Sometimes (very often?) it's not really necessary to have timer interrupts
 running in the Haskell rts.
 I've added a patch that allows you to turn them off by specifying a
 negative value to the -C flag.

 Using this feature I can get around the access violation that sometimes
 occurs when unloading a DLL.  A proper fix for the race condition is still
 needed, though.

-- 
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