bpo-21131: Fix faulthandler.register(chain=True) stack by vstinner · Pull Request #15276 · python/cpython (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation3 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

vstinner

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.

https://bugs.python.org/issue21131

@vstinner

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.

@miss-islington

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Aug 14, 2019

@vstinner @miss-islington

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. (cherry picked from commit ac827ed)

Co-authored-by: Victor Stinner vstinner@redhat.com

@bedevere-bot

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Aug 14, 2019

@vstinner @miss-islington

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. (cherry picked from commit ac827ed)

Co-authored-by: Victor Stinner vstinner@redhat.com

@bedevere-bot

miss-islington added a commit that referenced this pull request

Aug 14, 2019

@miss-islington @vstinner

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. (cherry picked from commit ac827ed)

Co-authored-by: Victor Stinner vstinner@redhat.com

miss-islington added a commit that referenced this pull request

Aug 14, 2019

@miss-islington @vstinner

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. (cherry picked from commit ac827ed)

Co-authored-by: Victor Stinner vstinner@redhat.com

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019

@vstinner @lisroach

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.

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020

@vstinner @DinoV

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.

hroncok pushed a commit to fedora-python/cpython that referenced this pull request

Jun 29, 2020

@vstinner @hroncok

encukou pushed a commit to fedora-python/cpython that referenced this pull request

Jun 30, 2020

@vstinner @encukou

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020

@vstinner @websurfer5

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.

hroncok pushed a commit to fedora-python/cpython that referenced this pull request

Aug 4, 2020

@vstinner @hroncok

hrnciar pushed a commit to fedora-python/cpython that referenced this pull request

Aug 19, 2020

@vstinner @hrnciar

hrnciar pushed a commit to fedora-python/cpython that referenced this pull request

Aug 25, 2020

@vstinner @hrnciar

hrnciar pushed a commit to fedora-python/cpython that referenced this pull request

Sep 7, 2020

@vstinner @hrnciar

hroncok pushed a commit to hroncok/cpython that referenced this pull request

Oct 5, 2020

@vstinner @hroncok

hroncok pushed a commit to hroncok/cpython that referenced this pull request

Oct 5, 2020

@vstinner @hroncok

hrnciar pushed a commit to fedora-python/cpython that referenced this pull request

Feb 16, 2021

@vstinner @hrnciar

encukou pushed a commit to encukou/cpython that referenced this pull request

Feb 17, 2021

@vstinner @encukou

hrnciar pushed a commit to fedora-python/cpython that referenced this pull request

Jun 29, 2021

@vstinner @hrnciar

hroncok pushed a commit to fedora-python/cpython that referenced this pull request

Sep 5, 2021

@vstinner @hroncok

stratakis pushed a commit to stratakis/cpython that referenced this pull request

Jul 20, 2022

@vstinner @stratakis

mcepl pushed a commit to openSUSE-Python/cpython that referenced this pull request

Apr 2, 2024

@vstinner @mcepl

hrnciar pushed a commit to fedora-python/cpython that referenced this pull request

Apr 23, 2025

@vstinner @hrnciar