[GHC] #5203: Stack overflow in criterion

GHC cvs-ghc at haskell.org
Wed May 18 23:03:29 CEST 2011


#5203: Stack overflow in criterion
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:               
        Type:  bug               |      Status:  new          
    Priority:  normal            |   Component:  Compiler     
     Version:  7.1               |    Keywords:               
    Testcase:                    |   Blockedby:               
          Os:  MacOS X           |    Blocking:               
Architecture:  Unknown/Multiple  |     Failure:  Runtime crash
---------------------------------+------------------------------------------
 Test program:

 {{{
 import Criterion.Main
 main = defaultMain [bench "id" $ whnf id ()]
 }}}

 When I compile and run this with 7.1.20110517, I get:

 {{{
 warming up
 estimating clock resolution...
 mean is 2.896519 us (320001 iterations)
 Stack space overflow: current size 8388608 bytes.
 Use `+RTS -Ksize -RTS' to increase it.
 }}}

 This doesn't happen with 7.0.3.

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



More information about the Glasgow-haskell-bugs mailing list