Skip to content

gh-117657: Skip tests that fork with threads under TSan - #121599

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-logging
Jul 15, 2024
Merged

colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-logging

Conversation

@colesbury

@colesbury colesbury commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor

This avoids failures with messages like:

ThreadSanitizer: starting new threads after multi-threaded fork is not supported. Dying (set die_after_fork=0 to override)
This avoids messages like:

ThreadSanitizer: starting new threads after multi-threaded fork is not
supported. Dying (set die_after_fork=0 to override)

@DinoV DinoV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@colesbury
colesbury merged commit 82a4dac into python:main Jul 15, 2024
@miss-islington-app

Copy link
Copy Markdown

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

@colesbury
colesbury deleted the gh-117657-logging branch July 15, 2024 20:43
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2024
…GH-121599)

This avoids messages like:

  ThreadSanitizer: starting new threads after multi-threaded fork is not
  supported. Dying (set die_after_fork=0 to override)
(cherry picked from commit 82a4dac)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app

bedevere-app Bot commented Jul 15, 2024

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jul 15, 2024
colesbury added a commit that referenced this pull request Jul 15, 2024
…1599) (#121819)

This avoids messages like:

  ThreadSanitizer: starting new threads after multi-threaded fork is not
  supported. Dying (set die_after_fork=0 to override)
(cherry picked from commit 82a4dac)

Co-authored-by: Sam Gross <colesbury@gmail.com>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…#121599)

This avoids messages like:

  ThreadSanitizer: starting new threads after multi-threaded fork is not
  supported. Dying (set die_after_fork=0 to override)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants