#5003: test 4038 (ghci) fails on OS X 64 bit.
---------------------------------+------------------------------------------
Reporter: gwright | Owner: gwright
Type: bug | Status: new
Priority: high | Milestone: 7.2.1
Component: GHCi | Version: 7.0.2
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime crash
---------------------------------+------------------------------------------
Comment(by altaic):
Oh that makes sense. On x86-64, `RESERVED_C_STACK_BYTES` = 2048 *
sizeof(SIZEOF_LONG) = 2048 * 8 = 16384 = 16k. Dividing 8192/16 = 512,
which is roughly the number of iterations the program runs before
crashing. Except they're not loop iterations, they are nested C calls
which each get a whopping 16k of stack. So wouldn't this be expected
behavior?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5003#comment:14>
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