Skip to content

Race condition in ThreadPoolExecutor when scheduling new jobs while the interpreter shuts down #75964

@BlckKnght

Description

@BlckKnght
mannequin
BPO 31783
Nosy @brianquinlan, @ned-deily, @BlckKnght
PRs
  • bpo-31783: Fix a race condition creating workers during shutdown #13171
  • Files
  • find-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/brianquinlan'
    closed_at = <Date 2019-06-28.18:56:03.470>
    created_at = <Date 2017-10-13.21:27:15.639>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'Race condition in ThreadPoolExecutor when scheduling new jobs while the interpreter shuts down'
    updated_at = <Date 2019-07-01.23:02:17.634>
    user = 'https://github.com/BlckKnght'

    bugs.python.org fields:

    activity = <Date 2019-07-01.23:02:17.634>
    actor = 'ned.deily'
    assignee = 'bquinlan'
    closed = True
    closed_date = <Date 2019-06-28.18:56:03.470>
    closer = 'bquinlan'
    components = ['Library (Lib)']
    creation = <Date 2017-10-13.21:27:15.639>
    creator = 'Steven.Barker'
    dependencies = []
    files = ['48311']
    hgrepos = []
    issue_num = 31783
    keywords = ['patch']
    message_count = 9.0
    messages = ['304364', '341795', '341804', '346850', '347077', '347078', '347082', '347083', '347084']
    nosy_count = 3.0
    nosy_names = ['bquinlan', 'ned.deily', 'Steven.Barker']
    pr_nums = ['13171']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31783'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions