Author vstinner
Recipients bkabrda, justbennet, markmcclain, opoplawski, peadar, vstinner
Date 2019-08-14.13:45:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565790358.78.0.895060554501.issue21131@roundup.psfhosted.org>
In-reply-to
Content
"On a 64-bit system, consuming 8M of address space is a drop in the ocean."

Let me disagree here. Python always allocates faulthandler stack, even if faulthandler is not used. Even when faulthandler is used, I would prefer to not waste memory if 8 KiB is good enough.

By the way, I just created bpo-37851 to allocate this stack at the first faulthandler usage, instead of always allocating it, even when faulthandler is not used.

I wrote PR 15276 to use a stack of SIGSTKSZ*2 bytes. According to 
msg349694, it does fix the crash.

Can someone please double check that PR 15276 fix test_faulthandler on a platform where the test crash without this change?
History
Date User Action Args
2019-08-14 13:45:58vstinnersetrecipients: + vstinner, bkabrda, opoplawski, markmcclain, peadar, justbennet
2019-08-14 13:45:58vstinnersetmessageid: <1565790358.78.0.895060554501.issue21131@roundup.psfhosted.org>
2019-08-14 13:45:58vstinnerlinkissue21131 messages
2019-08-14 13:45:58vstinnercreate