[GHC] #7719: System.Timeout.timeout may leak <<timeout>> exceptions

GHC cvs-ghc at haskell.org
Tue Feb 26 01:26:00 CET 2013


#7719: System.Timeout.timeout may leak <<timeout>> exceptions
-------------------------+--------------------------------------------------
Reporter:  int-e         |          Owner:                
    Type:  bug           |         Status:  new           
Priority:  normal        |      Component:  libraries/base
 Version:  7.7           |       Keywords:                
      Os:  Linux         |   Architecture:  x86_64 (amd64)
 Failure:  None/Unknown  |      Blockedby:                
Blocking:                |        Related:                
-------------------------+--------------------------------------------------

Comment(by int-e):

 Together with nus on IRC, we found a possible solution to that latest
 puzzle: {{{timeout}}} creates threads using {{{forkIOWithUnmask}}} but
 those threads will still have exceptions blocked initially - so if the
 thread is never run, then a {{{killThread}}} call targeting it may still
 block.

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



More information about the ghc-tickets mailing list