Skip to content

test_concurrent_futures: ProcessPoolSpawnExecutorDeadlockTest.test_crash() fails with OSError: [Errno 9] Bad file descriptor #84176

@vstinner

Description

@vstinner
BPO 39995
Nosy @pitrou, @vstinner, @tomMoral, @corona10, @aeros
PRs
  • bpo-39995: Split test_concurrent_futures.test_crash() into sub-tests #19739
  • bpo-39995: Fix race condition in ProcessPoolExecutor._ThreadWakeup #19751
  • bpo-39995: Fix concurrent.futures._ThreadWakeup race condition #19758
  • bpo-39995: Fix concurrent.futures _ThreadWakeup #19760
  • bpo-39995: CLN remove some locks in ProcessPoolExecutor #19788
  • 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/vstinner'
    closed_at = <Date 2021-05-26.22:49:56.216>
    created_at = <Date 2020-03-17.17:01:54.705>
    labels = ['tests', '3.9']
    title = 'test_concurrent_futures: ProcessPoolSpawnExecutorDeadlockTest.test_crash() fails with OSError: [Errno 9] Bad file descriptor'
    updated_at = <Date 2021-05-29.02:25:33.225>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-05-29.02:25:33.225>
    actor = 'aeros'
    assignee = 'vstinner'
    closed = True
    closed_date = <Date 2021-05-26.22:49:56.216>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2020-03-17.17:01:54.705>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39995
    keywords = ['patch']
    message_count = 34.0
    messages = ['364451', '364546', '364552', '367434', '367449', '367450', '367451', '367453', '367455', '367458', '367460', '367462', '367463', '367465', '367486', '367487', '367503', '367508', '367512', '367513', '367539', '367540', '367542', '367543', '367544', '367605', '367608', '367616', '367617', '367631', '367632', '367635', '394494', '394707']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'vstinner', 'tomMoral', 'corona10', 'aeros']
    pr_nums = ['19739', '19751', '19758', '19760', '19788']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue39995'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.9 (EOL)end of lifetestsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions