STINNER Victor <vstin...@redhat.com> added the comment:
"On a 64-bit system, consuming 8M of address space is a drop in the ocean." Let me disagree here. Python always allocates faulthandler stack, even if faulthandler is not used. Even when faulthandler is used, I would prefer to not waste memory if 8 KiB is good enough. By the way, I just created bpo-37851 to allocate this stack at the first faulthandler usage, instead of always allocating it, even when faulthandler is not used. I wrote PR 15276 to use a stack of SIGSTKSZ*2 bytes. According to msg349694, it does fix the crash. Can someone please double check that PR 15276 fix test_faulthandler on a platform where the test crash without this change? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com