[GHC] #7087: 'select' fails for very large arguments to 'threadDelay'

GHC cvs-ghc at haskell.org
Tue Jul 31 11:01:51 CEST 2012


#7087: 'select' fails for very large arguments to 'threadDelay'
----------------------------+-----------------------------------------------
  Reporter:  Gabriel439     |          Owner:                    
      Type:  bug            |         Status:  closed            
  Priority:  normal         |      Milestone:  7.6.1             
 Component:  Compiler       |        Version:  7.4.1             
Resolution:  duplicate      |       Keywords:  threadDelay select
        Os:  Linux          |   Architecture:  x86_64 (amd64)    
   Failure:  Runtime crash  |     Difficulty:  Unknown           
  Testcase:                 |      Blockedby:                    
  Blocking:                 |        Related:  #6019             
----------------------------+-----------------------------------------------

Comment(by marlowsd@…):

 commit 598ee1ad1b8de089a2ed207543761d617a90db52
 {{{
 Author: Simon Marlow <marlowsd at gmail.com>
 Date:   Tue Jul 31 09:06:43 2012 +0100

     Fix #7087 (integer overflow in getDelayTarget())

  includes/Rts.h     |    2 ++
  rts/posix/Select.c |   15 ++++++++++++---
  2 files changed, 14 insertions(+), 3 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list