Mon Oct 20 05:11:03 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* FIX (partially) #2703: bug in stack overflow handling when inside block
As a result of a previous ticket (#767) we disabled the generation of
StackOverflow exceptions when inside a Control.Exception.block, on the
grounds that StackOverflow is like an asynchronous exception. Instead
we just increase the stack size. However, the stack size calculation
was wrong, and ended up not increasing the size of the stack, with the
result that the runtime just kept re-allocating the stack and filling
up memory.
M ./rts/Schedule.c -3 +10
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081020121103-12142-68ef92516a00a68f8f7283626e9c14f8a464662e.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc