[GHC] #5203: Stack overflow in criterion
GHC
cvs-ghc at haskell.org
Sun Jun 5 23:36:46 CEST 2011
#5203: Stack overflow in criterion
---------------------------------+------------------------------------------
Reporter: rl | Owner: igloo
Type: bug | Status: new
Priority: highest | Milestone: 7.2.1
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime crash
---------------------------------+------------------------------------------
Comment(by igloo):
Smaller testcase (q2.hs, W2.hs) attached. Still depends on `vector` (and
therefore transitively `primitive`), although they are part of a normal
GHC tree anyway.
{{{
$ ghc --make q2 -O -Wall -fforce-recomp -dcore-lint -dcmm-lint
[1 of 2] Compiling W2 ( W2.hs, W2.o )
[2 of 2] Compiling Main ( q2.hs, q2.o )
Linking q2 ...
$ ./q2
W1
mean
159999
"A"
"B"
"C"
W3
}}}
{{{
$ ghc --make q2 -O -Wall -fforce-recomp -dcore-lint -dcmm-lint -DBREAK
[1 of 2] Compiling W2 ( W2.hs, W2.o )
[2 of 2] Compiling Main ( q2.hs, q2.o )
Linking q2 ...
$ ./q2
W1
mean
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5203#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list