From 5d29a9f633233e65caf330451bdbb13c620f29b8 Mon Sep 17 00:00:00 2001 From: Yehowshua Immanuel Date: Thu, 4 Jun 2020 14:01:56 -0400 Subject: MacOS has even stricter stack limits in catalina. Invoking sby in macOS Catalina fails because of bizarre stack limits in Catalina. --- backends/smt2/smtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py index 9f7c8c6d9..9d03e162e 100644 --- a/backends/smt2/smtio.py +++ b/backends/smt2/smtio.py @@ -39,7 +39,7 @@ if os.name == "posix": smtio_stacksize = 128 * 1024 * 1024 if os.uname().sysname == "Darwin": # MacOS has rather conservative stack limits - smtio_stacksize = 16 * 1024 * 1024 + smtio_stacksize = 16 * 1024 * 512 if current_rlimit_stack[1] != resource.RLIM_INFINITY: smtio_stacksize = min(smtio_stacksize, current_rlimit_stack[1]) if current_rlimit_stack[0] < smtio_stacksize: -- cgit v1.2.3