Deadlock in multiprocessing.pool.Pool on terminate
オープン
まだ誰も着手していません。
3.7 (EOL)
stdlib
topic-multiprocessing
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 29759 |
|---|---|
| Nosy | @pitrou, @applio |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2017-03-08.17:50:46.188>
labels = ['3.7', 'type-bug', 'library']
title = 'Deadlock in multiprocessing.pool.Pool on terminate'
updated_at = <Date 2020-05-06.13:48:01.640>
user = 'https://bugs.python.org/mapozyan'
bugs.python.org fields:
activity = <Date 2020-05-06.13:48:01.640>
actor = 'ionelmc'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-03-08.17:50:46.188>
creator = 'mapozyan'
dependencies = []
files = []
hgrepos = []
issue_num = 29759
keywords = []
message_count = 5.0
messages = ['289248', '289249', '297215', '297733', '297735']
nosy_count = 4.0
nosy_names = ['pitrou', 'ionelmc', 'davin', 'mapozyan']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue29759'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Python のライブラリ実装における multiprocessing.pool.Pool の終了パスから開始し、terminate 中に報告されたデッドロックを調査します。焦点を絞った multiprocessing の例で動作を再現し、その後、影響を受ける同期パスを特定します。Pool.terminate() がデッドロックせずに完了し、その動作が回帰テストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100