[GHC] #5071: GHCi crashes on large alloca/allocaBytes requests

GHC cvs-ghc at haskell.org
Tue Dec 13 09:59:43 CET 2011


#5071: GHCi crashes on large alloca/allocaBytes requests
---------------------------------+------------------------------------------
    Reporter:  guest             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:  7.4.1           
   Component:  Compiler          |     Version:  7.0.3           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:                    |    Testcase:                  
   Blockedby:                    |    Blocking:                  
---------------------------------+------------------------------------------

Comment(by marlowsd@…):

 commit d95a7f1311578cf37c0889098d32cbcb8964d906
 {{{
 Author: Simon Marlow <marlowsd at gmail.com>
 Date:   Mon Dec 12 14:18:30 2011 +0000

     Avoid integer overflow when calling allocGroup() (#5071)

  rts/hooks/OutOfHeap.c |    8 ++++++--
  rts/sm/Storage.c      |    7 +++++--
  2 files changed, 11 insertions(+), 4 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list