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");