Skip to content

gh-117657: Fix TSAN data race in _PyEval_SetTrace assertion - #131561

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-set-trace-assert
Mar 21, 2025
Merged

gh-117657: Fix TSAN data race in _PyEval_SetTrace assertion#131561
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-set-trace-assert

Conversation

@colesbury

@colesburycolesbury commented Mar 21, 2025

Copy link
Copy Markdown
Contributor

The sys_tracing_threads variable should be read inside LOCK_SETUP().

The `sys_tracing_threads` variable should be read inside LOCK_SETUP().
@colesbury
colesbury merged commit 0de5e0c into python:mainMar 21, 2025
@colesbury
colesbury deleted the gh-117657-set-trace-assert branch March 21, 2025 18:22
@colesburycolesbury added the needs backport to 3.13 bugs and security fixes label Mar 21, 2025
@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 21, 2025
…thongh-131561)
The `sys_tracing_threads` variable should be read inside `LOCK_SETUP()`.
(cherry picked from commit 0de5e0c)
Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-131564 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Mar 21, 2025
colesbury added a commit that referenced this pull request Mar 21, 2025
…h-131561) (#131564)
The `sys_tracing_threads` variable should be read inside `LOCK_SETUP()`.
(cherry picked from commit 0de5e0c)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for freeto 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.

2 participants

@colesbury@kumaraditya303