[3.10] bpo-44449: faulthandler don't modify frame refcnt#27850
[3.10] bpo-44449: faulthandler don't modify frame refcnt#27850vstinner merged 1 commit intopython:3.10from vstinner:traceback_refcnt
Conversation
Fix a crash in the signal handler of the faulthandler module: no longer modify the reference count of frame objects.
|
I don't think there is anything wring with |
|
I hadn't realized that this is for 3.10. It should be OK it that case. |
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Fix a crash in the signal handler of the faulthandler module: no longer modify the reference count of frame objects. (cherry picked from commit fe997e1) Co-authored-by: Victor Stinner <[email protected]>
|
GH-28066 is a backport of this pull request to the 3.9 branch. |
|
@markshannon: In the main branch, dump_traceback() reads
Right. Hopefully, in my experience, faulthandler is also to dump the traceback in almost all cases, even if something really bad happens. Anyway, Python is already exiting with a "fatal error", so it's not a big deal if it triggers a new crash :-D |
Fix a crash in the signal handler of the faulthandler module: no longer modify the reference count of frame objects. (cherry picked from commit fe997e1) Co-authored-by: Victor Stinner <[email protected]>
Fix a crash in the signal handler of the faulthandler module: no
longer modify the reference count of frame objects.
https://bugs.python.org/issue44449