python / python/cpython

reproducible deadlock with multiprocessing.Pool

Open
#79,448 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.7 (EOL) stdlib topic-multiprocessing type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 35267
Nosy @pitrou, @vstinner, @jfgossage, @applio, @pablogsal, @Windsooon
PRs
  • python/cpython#11143
  • Files
  • lock.py: reproducer script
  • lock1.py
  • lock1.result.txt
  • 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 2018-11-17.01:06:38.878>
    labels = ['3.7', 'type-bug', 'library']
    title = 'reproducible deadlock with multiprocessing.Pool'
    updated_at = <Date 2019-09-11.13:12:25.823>
    user = 'https://bugs.python.org/dzhu'
    

    bugs.python.org fields:

    activity = <Date 2019-09-11.13:12:25.823>
    actor = 'davin'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-11-17.01:06:38.878>
    creator = 'dzhu'
    dependencies = []
    files = ['47937', '47979', '47980']
    hgrepos = []
    issue_num = 35267
    keywords = ['patch']
    message_count = 8.0
    messages = ['330017', '330018', '330202', '330968', '331260', '331401', '331403', '351856']
    nosy_count = 8.0
    nosy_names = ['pitrou', 'vstinner', 'Jonathan.Gossage', 'davin', 'pablogsal', 'Windson Yang', 'dzhu', 'nconway']
    pr_nums = ['11143']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35267'
    versions = ['Python 3.6', 'Python 3.7']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start by running the reproducer in lock.py and compare its behavior with lock1.py and lock1.result.txt. Review PR python/cpython#11143 and the multiprocessing library code it changes; done means the reproducible deadlock is resolved and the relevant tests pass.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    operating-systems
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.