Skip to content

[3.14] gh-151278: Fix test_faulthandler on UBSan (#151279)#151282

Merged
vstinner merged 1 commit into
python:3.14from
vstinner:faulthandler14
Jun 10, 2026
Merged

[3.14] gh-151278: Fix test_faulthandler on UBSan (#151279)#151282
vstinner merged 1 commit into
python:3.14from
vstinner:faulthandler14

Conversation

@vstinner

@vstinner vstinner commented Jun 10, 2026

Copy link
Copy Markdown
Member
  • 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 e60c42d)

* 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 e60c42d)
@vstinner vstinner added the needs backport to 3.13 bugs and security fixes label Jun 10, 2026
@vstinner vstinner enabled auto-merge (squash) June 10, 2026 20:08
@vstinner vstinner merged commit 7befb46 into python:3.14 Jun 10, 2026
51 checks passed
@vstinner vstinner deleted the faulthandler14 branch June 10, 2026 20:30
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @vstinner, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 7befb46bb29319418d866d43a0c85b51598709e8 3.13

@vstinner vstinner removed the needs backport to 3.13 bugs and security fixes label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant