From 7ce81d1a7c3c8fc29e185095cd9df2166198e371 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 23 Nov 2019 22:22:05 +0000 Subject: [PATCH] fix(core): update --- stack-fix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack-fix.c b/stack-fix.c index 34cc728..49a79ec 100644 --- a/stack-fix.c +++ b/stack-fix.c @@ -18,7 +18,7 @@ int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_ pthread_attr_init(&local); attr = &local; } - pthread_attr_setstacksize((void*)attr, 10 * 1024 * 1024); // 2 MB + pthread_attr_setstacksize((void*)attr, 2 * 1024 * 1024); // 2 MB func_t orig = (func_t)dlsym(RTLD_NEXT, "pthread_create");