[New-bugs-announce] [issue37851] faulthandler: only allocate the signal handler stack when faulthandler is used

STINNER Victor report at bugs.python.org
Wed Aug 14 09:44:00 EDT 2019


New submission from STINNER Victor <vstinner at redhat.com>:

Currently at startup, Python always call _PyFaulthandler_Init() which allocates a stack of SIGSTKSZ bytes, even if faulthandler is never used. That's a waste of memory: the stack should be allocated the first time faulthandler is used.

bpo-21131 requires to enlarge this stack size.

----------
components: Library (Lib)
messages: 349697
nosy: vstinner
priority: normal
severity: normal
status: open
title: faulthandler: only allocate the signal handler stack when faulthandler is used
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37851>
_______________________________________


More information about the New-bugs-announce mailing list