#3156: Error on +RTS kHugeNumber
-------------------------------------+--------------------------------------
    Reporter:  zachk                 |        Owner:  simonmar
        Type:  bug                   |       Status:  closed  
    Priority:  normal                |    Milestone:  6.12.1  
   Component:  Runtime System        |      Version:  6.10.2  
    Severity:  minor                 |   Resolution:  fixed   
    Keywords:  6.10.1||6.10.2 Stack  |   Difficulty:  Unknown 
    Testcase:                        |           Os:  Linux   
Architecture:  x86                   |  
-------------------------------------+--------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * component:  Compiler => Runtime System
  * resolution:  => fixed

Comment:

 Fixed.  There were a series of tweaks necessary to get this fully cleaned
 up:

 {{{
 Thu May 28 06:33:57 PDT 2009  Simon Marlow <[email protected]>
   * Fix #3156: ensure preconditions of splitLargeBlock()

 Thu May 28 06:34:40 PDT 2009  Simon Marlow <[email protected]>
   * Round stack size to a whole number of megablocks

 Fri May 29 02:07:58 PDT 2009  Simon Marlow <[email protected]>
   * Fix bug in previous change: allocate the correct size

 Fri May 29 02:08:27 PDT 2009  Simon Marlow <[email protected]>
   * don't shrink the stack smaller than the value set by +RTS -k<size>
 }}}

 These fix a panic in the RTS when using a large `+RTS -k<size>`.  I'm not
 sure we should merge, since there's a good workaround: don't use `+RTS
 -k<size>` at all (the RTS will grow the stack as necessary).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3156#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to