Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 29, 2025

Call backtrace() once when installing the signal handler to ensure that
libgcc is dynamically loaded outside the signal handler.

This fixes a "signal-unsafe call inside of a signal" TSan error from
test_faulthandler.test_enable_fd.
(cherry picked from commit 11a8652)

Co-authored-by: Sam Gross [email protected]

…137187)

Call backtrace() once when installing the signal handler to ensure that
libgcc is dynamically loaded outside the signal handler.

This fixes a "signal-unsafe call inside of a signal" TSan error from
test_faulthandler.test_enable_fd.
(cherry picked from commit 11a8652)

Co-authored-by: Sam Gross <[email protected]>
@colesbury
Copy link
Contributor

This mostly affects tests so it can wait until 3.14.1

@colesbury colesbury enabled auto-merge (squash) October 7, 2025 17:53
@colesbury colesbury merged commit 75de39b into python:3.14 Oct 7, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants