[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

STINNER Victor report at bugs.python.org
Fri Mar 11 19:47:37 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

On my x86-64 Fedora 35 with the CPU "Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz", I get:

* SIGSTKSZ = 8192
* getauxval(AT_MINSIGSTKSZ) = 2032
* faulthandler stack.ss_size = 10224
* os.sysconf('SC_MINSIGSTKSZ') = 2032

In C, sysconf(_SC_MINSIGSTKSZ) is similar to getauxval(AT_MINSIGSTKSZ), but the glibc sysconf(_SC_MINSIGSTKSZ) is more generic, whereas IMO getauxval(AT_MINSIGSTKSZ) is more the low-level Linux API.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46968>
_______________________________________


More information about the Python-bugs-list mailing list