[GHC] #5604: Thread handle leak in runtime

GHC cvs-ghc at haskell.org
Sat Nov 5 13:53:54 CET 2011


#5604: Thread handle leak in runtime
------------------------+---------------------------------------------------
    Reporter:  yurij    |       Owner:                              
        Type:  bug      |      Status:  new                         
    Priority:  normal   |   Component:  Runtime System              
     Version:  7.2.1    |    Keywords:  _endthreadex, shutdownThread
    Testcase:           |   Blockedby:                              
          Os:  Windows  |    Blocking:                              
Architecture:  x86      |     Failure:  Other                       
------------------------+---------------------------------------------------
 win32\OSThreads.c
 shutdownThread uses _endthreadex(0), which does not call CloseHandle for
 thread handle.

 It causes thread handle leak on each runtime
 initialization/deinitialization

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



More information about the Glasgow-haskell-bugs mailing list