mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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 11a8652e25)
Co-authored-by: Sam Gross <colesbury@gmail.com>
2 lines
95 B
ReStructuredText
2 lines
95 B
ReStructuredText
Fix a potential async-signal-safety issue in :mod:`faulthandler` when
|
|
printing C stack traces.
|