#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

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

Reply via email to