https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77538
--- Comment #16 from Dmitry Vyukov <dvyukov at google dot com> --- > The stack size limit in my box is 8M. I have also checked /proc/<id>limits. So, is increasing stack size help? Tsan increases stack consumption. 8MB is not that much provided that you have 1MB frames. > By enabling -fstack-protector-all, in gdb it still may get segfault here (at > function entry). Stack protector will not help to detect/prevent stack overflow. It only prevents PC overwrite on buffer overflows.