-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-21131: Fix faulthandler.register(chain=True) stack #15276
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 and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
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
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.
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
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 <[email protected]>
GH-15291 is a backport of this pull request to the 3.8 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Aug 14, 2019
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 <[email protected]>
GH-15292 is a backport of this pull request to the 3.7 branch. |
miss-islington
added a commit
that referenced
this pull request
Aug 14, 2019
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 <[email protected]>
miss-islington
added a commit
that referenced
this pull request
Aug 14, 2019
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 <[email protected]>
lisroach
pushed a commit
to lisroach/cpython
that referenced
this pull request
Sep 10, 2019
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
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
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
encukou
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Jun 30, 2020
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
websurfer5
pushed a commit
to websurfer5/cpython
that referenced
this pull request
Jul 20, 2020
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
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hrnciar
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Aug 19, 2020
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hrnciar
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Aug 25, 2020
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hrnciar
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Sep 7, 2020
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hroncok
pushed a commit
to hroncok/cpython
that referenced
this pull request
Oct 5, 2020
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hroncok
pushed a commit
to hroncok/cpython
that referenced
this pull request
Oct 5, 2020
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hrnciar
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Feb 16, 2021
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
encukou
pushed a commit
to encukou/cpython
that referenced
this pull request
Feb 17, 2021
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hrnciar
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Jun 29, 2021
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue38965 python@f4a21d3 bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hroncok
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Sep 5, 2021
bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
stratakis
pushed a commit
to stratakis/cpython
that referenced
this pull request
Jul 20, 2022
bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
mcepl
pushed a commit
to openSUSE-Python/cpython
that referenced
this pull request
Apr 2, 2024
bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hrnciar
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Apr 23, 2025
bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
hroncok
pushed a commit
to fedora-python/cpython
that referenced
this pull request
Jul 4, 2025
bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276) https://bugs.python.org/issue21131 python@ac827ed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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