https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77538
--- Comment #13 from peien luo <coollpe at hotmail dot com> --- (In reply to Dmitry Vyukov from comment #12) > The crash in gdb looks like stack overflow (unsurprising if there are 1MB > frames). Does increasing thread stack size or reducing frame size (there > must something very big on the stack) help? The stack size limit in my box is 8M. I have also checked /proc/<id>limits. By enabling -fstack-protector-all, in gdb it still may get segfault here (at function entry).