python / python/cpython

Setting a signal handler gets multiprocessing.Pool stuck

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

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

3.8 (EOL) stdlib topic-multiprocessing
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 38227
Nosy @pitrou, @wumpus
Files
  • mp-bug-python2.8.py
  • mp-signal-bug-python3.8.py
  • pool.py.patch
  • 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 2019-09-19.21:41:35.764>
    labels = ['3.8', 'library']
    title = 'Setting a signal handler gets multiprocessing.Pool stuck'
    updated_at = <Date 2020-07-19.17:38:12.599>
    user = 'https://bugs.python.org/ionelmc'
    

    bugs.python.org fields:

    activity = <Date 2020-07-19.17:38:12.599>
    actor = 'wumpus'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-09-19.21:41:35.764>
    creator = 'ionelmc'
    dependencies = []
    files = ['48615', '49130', '49131']
    hgrepos = []
    issue_num = 38227
    keywords = ['patch']
    message_count = 6.0
    messages = ['352815', '353938', '353947', '368233', '368234', '368237']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'ionelmc', 'wumpus', 'mapozyan']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38227'
    versions = ['Python 3.8']
    

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

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

    はじめの一歩

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

    調査の方向性

    まず再現用ファイル mp-bug-python2.8.py と mp-signal-bug-python3.8.py から始め、次に提案された方向性を理解するために pool.py.patch を調べます。multiprocessing.Pool が停止したままになる動作を再現し、シグナルハンドラーが設定されている場合に pool がハングしなくなることを確認します。

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

    評価

    技術スタック
    python
    領域
    backend, operating-systems
    issue の種類
    バグ
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    おおむね明確
    初心者へのやさしさ
    38/100

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

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