python / python/cpython

Various data races in subinterpreter tests under TSAN

オープン
#129,824 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

interpreter-core topic-subinterpreters type-bug
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

Bug report

Thread sanitizer reports a number of data races when running subinterpreter tests

InterpreterPoolMixin (test_concurrent_futures)

I think for now it would make sense to skip the InterpreterPoolMixin tests when running with TSAN.

test__interpchannels
test__interpreters and test_interpreters
test_capi.test_misc.assign_version_tag
  • race on NEXT_GLOBAL_VERSION_TAG in assign_version_tag (see above)
Linked PRs
  • gh-129826
  • gh-129829
  • gh-135794
  • gh-136266
  • gh-143446
  • gh-143530

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

test_concurrent_futures、test__interpchannels、test__interpreters にある未確認の競合状態から始め、続いて Modules/posixmodule.c、Objects/typeobject.c、Modules/_interpchannelsmodule.c、Modules/_struct.c のリンク先の箇所を読みます。影響を受けるサブインタープリターのテストを TSAN 下で実行します。完了とは、報告された各競合状態について、レビュー済みの解決策または文書化された処置があり、リンクされた PR が考慮されていることを意味します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c, python
領域
backend, testing-qa
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。