Red Hat Bugzilla – Bug 1527904
glibc: PTHREAD_STACK_MIN is too small on x86-64
Last modified: 2018-04-10 10:04:53 EDT
Bug 1527887 shows that PTHREAD_STACK_MIN is really low on x86-64 (at 16384) and cannot accommodate both a signal handler frame, the libgcc unwinder, and an ld.so trampoline on AVX-512 (where the XSAVE area is around 2.5 KiB, and it is needed twice on the stack). We should investigate ways how we can make for of those 16 KiB usable from applications. At the very list, if the application requests a 16 KiB stack, it should get as much stack space as indicated, and not just 8 KiB.
This is a regression introduced by glibc-2.17-196.el7_4.2 in <https://access.redhat.com/errata/RHBA-2017:3296>.
*** Bug 1538776 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0805