python / python/cpython

A bug in the multiprocessing module

Open
#82,376 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BPO 38195
Nosy @pitrou, @applio, @iritkatriel
Files
  • testqueue.py: Example of a freezing program
  • 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-17.06:51:09.943>
    labels = ['extension-modules', 'type-bug', '3.9']
    title = 'A bug in the multiprocessing module'
    updated_at = <Date 2022-01-25.17:48:43.191>
    user = 'https://bugs.python.org/eshkrig'
    

    bugs.python.org fields:

    activity = <Date 2022-01-25.17:48:43.191>
    actor = 'eshkrig'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2019-09-17.06:51:09.943>
    creator = 'eshkrig'
    dependencies = []
    files = ['48609']
    hgrepos = []
    issue_num = 38195
    keywords = []
    message_count = 3.0
    messages = ['352613', '411500', '411645']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'davin', 'eshkrig', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38195'
    versions = ['Python 3.9']
    

    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 with the linked testqueue.py example, then inspect the multiprocessing behavior it exercises and reproduce the reported freeze. Determine the expected behavior and identify a focused regression test; the issue is complete when the example no longer freezes and that behavior is covered by a test.

    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
    Needs clarification
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.