[GHC] #926: infinite loop in ShutdownIOManager()

GHC trac at galois.com
Sat Oct 7 09:42:55 EDT 2006


#926: infinite loop in ShutdownIOManager()
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Runtime System  |      Version:  6.5    
    Severity:  normal          |     Keywords:         
          Os:  Windows         |   Difficulty:  Unknown
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Hi,

 I have found a way to 'hang' a DLL created using ghc-6.5.20061006 under
 Win32. This occurs when I dynamically load DLL built using GHC, call one
 of its exported functions that uses file IO and then exit my program
 without explicitly releasing the DLL first. I have uploaded a test
 application to http://eeter.fi.tartu.ee/~mark/ghc_hang.zip that
 demonstrates this issue.

 I am not sure if I can call this a bug, as when I unload the DLL,
 everything works fine. But this does not happen in GHC-6.4.2 or older
 versions.

 Regards,
 Mark

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


More information about the Glasgow-haskell-bugs mailing list