Skip to content

[3.7] bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276)#15292

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-ac827ed-3.7
Aug 14, 2019
Merged

[3.7] bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276)#15292
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-ac827ed-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 14, 2019

Copy link
Copy Markdown
Contributor

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

https://bugs.python.org/issue21131

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>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 1581d9c into python:3.7 Aug 14, 2019
@miss-islington miss-islington deleted the backport-ac827ed-3.7 branch August 14, 2019 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants