Skip to content

OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping. #68491

Closed
@PaulHobbs

Description

BPO 24303
Nosy @vstinner, @vapier, @benjaminp, @djc, @floppym, @applio
PRs
  • bpo-24303: Fix random EEXIST upon multiprocessing semaphore creation when using Linux PID namespaces. #10279
  • Files
  • test-issue24303.py
  • mp_sem_race.diff
  • 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 = 'https://github.com/applio'
    closed_at = None
    created_at = <Date 2015-05-27.18:22:59.163>
    labels = ['type-bug', 'library']
    title = 'OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.'
    updated_at = <Date 2018-11-01.05:41:44.496>
    user = 'https://bugs.python.org/PaulHobbs'

    bugs.python.org fields:

    activity = <Date 2018-11-01.05:41:44.496>
    actor = 'benjamin.peterson'
    assignee = 'davin'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-05-27.18:22:59.163>
    creator = 'Paul Hobbs'
    dependencies = []
    files = ['39594', '39679']
    hgrepos = []
    issue_num = 24303
    keywords = ['patch', 'needs review']
    message_count = 17.0
    messages = ['244211', '244425', '244435', '244592', '244657', '244658', '244797', '245156', '260058', '260061', '260185', '260208', '328934', '328944', '329043', '329045', '329046']
    nosy_count = 13.0
    nosy_names = ['vstinner', 'vapier', 'benjamin.peterson', 'djc', 'jnoller', 'Arfrever', 'neologix', 'python-dev', 'sbt', 'floppymaster', 'davin', 'Paul Hobbs', 'ryan.petrello']
    pr_nums = ['10279']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24303'
    versions = ['Python 2.7', 'Python 3.3']

    Metadata

    Assignees

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions