SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-137185: Fix `_Py_DumpStack()` async signal safety (gh-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.
S
Sam Gross committed
11a8652e25341e696b06d8dc7a18e8c3ee8059e4
Parent: d7e12a3
Committed by GitHub <noreply@github.com> on 7/29/2025, 2:25:32 PM