Message349698
"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? |
|
Date |
User |
Action |
Args |
2019-08-14 13:45:58 | vstinner | set | recipients:
+ vstinner, bkabrda, opoplawski, markmcclain, peadar, justbennet |
2019-08-14 13:45:58 | vstinner | set | messageid: <1565790358.78.0.895060554501.issue21131@roundup.psfhosted.org> |
2019-08-14 13:45:58 | vstinner | link | issue21131 messages |
2019-08-14 13:45:58 | vstinner | create | |
|