]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151278: Fix test_faulthandler on UBSan (GH-151279) (#151281)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 Jun 2026 20:07:07 +0000 (22:07 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 20:07:07 +0000 (20:07 +0000)
commite8d914fd4964a0aa67f7ff2ab4920bb665201dfc
treed8a412a5eb2d1bdbdc95e3a25bbe6b5ee0bfd57a
parent10f616cf3939f87605081d05c1913ba630046c54
[3.15] gh-151278: Fix test_faulthandler on UBSan (GH-151279) (#151281)

gh-151278: Fix test_faulthandler on UBSan (GH-151279)

* Py_FatalError() no longer calls _PyFaulthandler_Fini() if it
  doesn't hold the GIL.
* Skip test_faulthandler tests raising signals if run with UBSan.
* Enable test_faulthandler in GitHub Action "Reusable Sanitizer".
(cherry picked from commit e60c42dc3f5a8dd9b10bc9a8a028ef2765469650)

Co-authored-by: Victor Stinner <vstinner@python.org>
.github/workflows/reusable-san.yml
Lib/test/test_faulthandler.py
Python/pylifecycle.c