]> granicus.if.org Git - python/commit
bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276)
authorVictor Stinner <vstinner@redhat.com>
Wed, 14 Aug 2019 21:35:27 +0000 (23:35 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2019 21:35:27 +0000 (23:35 +0200)
commitac827edc493d3ac3f5b9b0cc353df1d4b418a9aa
tree14bfcfb0d36f6b4ba40a5765de967ccd890a89a5
parent28146206578ebe1b84b48e6f255738a227058c04
bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276)

faulthandler now allocates a dedicated stack of SIGSTKSZ*2 bytes,
instead of just SIGSTKSZ bytes. Calling the previous signal handler
in faulthandler signal handler uses more than SIGSTKSZ bytes of stack
memory on some platforms.
Misc/NEWS.d/next/Library/2019-08-14-15-34-23.bpo-21131.0MMQRi.rst [new file with mode: 0644]
Modules/faulthandler.c