#6019: 'threadDelay maxBound' results in 'internal error: select failed'
---------------------------+------------------------------------------------
 Reporter:  shahn          |          Owner:                
     Type:  bug            |         Status:  new           
 Priority:  normal         |      Component:  Runtime System
  Version:  7.4.1          |       Keywords:                
       Os:  Linux          |   Architecture:  x86_64 (amd64)
  Failure:  Runtime crash  |       Testcase:                
Blockedby:                 |       Blocking:                
  Related:                 |  
---------------------------+------------------------------------------------
 When compiling and running this program:

 {{{
 import Control.Concurrent

 main = threadDelay maxBound
 }}}
 , I get a crash and the following error message:
 {{{
 select: Invalid argument
 threadDelayMaxBound: internal error: select failed
     (GHC version 7.4.1 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}
 . This doesn't happen in ghci. I compiled with 'ghc FILE.hs'.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to