Skip to content

multiprocessing.Pool hangs forever on segfault #69115

@JonasObrist

Description

@JonasObrist
BPO 24927
Superseder
  • bpo-22393: multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly
  • Files
  • pool_segfault.py: Program showing how a segfaulting Pool.apply will hang forever
  • process_segfault.py: Program showing that Process will run as expected if target segfaults
  • patch.diff: patch that adds a warning if a worker exits prematurely
  • 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 = <Date 2015-09-16.11:47:34.420>
    created_at = <Date 2015-08-24.17:05:17.013>
    labels = ['type-bug']
    title = 'multiprocessing.Pool hangs forever on segfault'
    updated_at = <Date 2015-09-16.17:01:10.733>
    user = 'https://bugs.python.org/JonasObrist'

    bugs.python.org fields:

    activity = <Date 2015-09-16.17:01:10.733>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-09-16.11:47:34.420>
    closer = 'Jonas Obrist'
    components = []
    creation = <Date 2015-08-24.17:05:17.013>
    creator = 'Jonas Obrist'
    dependencies = []
    files = ['40247', '40248', '40257']
    hgrepos = []
    issue_num = 24927
    keywords = ['patch']
    message_count = 4.0
    messages = ['249068', '249077', '249147', '250474']
    nosy_count = 4.0
    nosy_names = ['jnoller', 'sbt', 'Jonas Obrist', 'brianboonstra']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '22393'
    type = 'behavior'
    url = 'https://bugs.python.org/issue24927'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions