From dcc1e7773ff273d16e9de9411e312aeea0b8ff0e Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 4 Aug 2015 12:43:24 -0700 Subject: [PATCH] contexts.hpp: Increase callstack reserve space to 16k for Mac64. Fixes issue #1419. --- vm/contexts.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/contexts.hpp b/vm/contexts.hpp index fc16981646..b3b3af363c 100644 --- a/vm/contexts.hpp +++ b/vm/contexts.hpp @@ -15,8 +15,8 @@ enum context_object { /* When the callstack fills up (e.g by to deep recursion), a callstack overflow error is triggered. So before continuing executing on it in general_error(), we chop off this many bytes to have some space - to work with. */ -static const cell stack_reserved = 4096; + to work with. Mac OSX 64 bit needs more than 8192. See issue #1419. */ +static const cell stack_reserved = 16384; struct context {