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

GHC cvs-ghc at haskell.org
Wed Feb 27 00:29:11 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):

 Finally, I've now tried Simon M.'s suggested fix, which is simply to
 change {{{killThread}}} in {{{System.Timeout.timeout}}} to
 {{{uninterruptibleMask_ . killThread}}}, and with that change I can no
 longer reproduce the issue.

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



More information about the ghc-tickets mailing list