Skip to content

Parent process hanging in multiprocessing if children terminate unexpectedly #53451

Description

@gdb
mannequin
BPO 9205
Nosy @jcea, @brianquinlan, @pitrou, @vstinner, @vlasovskikh
Dependencies
  • bpo-11743: Rewrite PipeConnection and Connection in pure Python
  • bpo-12040: Expose a Process.sentinel property (and fix polling loop in Process.join())
  • Files
  • termination.patch: Patch to deal with unexpected termination of children
  • shutdown.patch: Patch to catch exceptions raised upon interpeter shutdown
  • pickling_error.patch: Inform an application that is has failed if a task is unpickleable
  • multiprocessing-trunk@82502-termination3.patch
  • multiprocessing-trunk@82502-termination-trackjobs.patch
  • assign-tasks.patch: Record the assignment of tasks to workers
  • multiprocessing-trunk@82502-termination-trackjobs2.patch
  • multiprocessing-trunk@82502-termination-trackjobs3.patch
  • sentinels.patch
  • sentinels2.patch
  • sentinels3.patch
  • sentinels4.patch
  • sentinels5.patch
  • multiproc_broken_pool.diff: Raise BrokenProcessPool if a process unexecptedly dies in a multiprocessing.Pool
  • 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 2011-06-08.15:25:30.134>
    created_at = <Date 2010-07-08.20:00:44.723>
    labels = ['type-bug', 'library']
    title = 'Parent process hanging in multiprocessing if children terminate unexpectedly'
    updated_at = <Date 2014-09-11.22:34:12.788>
    user = 'https://bugs.python.org/gdb'

    bugs.python.org fields:

    activity = <Date 2014-09-11.22:34:12.788>
    actor = 'dan.oreilly'
    assignee = 'jnoller'
    closed = True
    closed_date = <Date 2011-06-08.15:25:30.134>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2010-07-08.20:00:44.723>
    creator = 'gdb'
    dependencies = ['11743', '12040']
    files = ['17905', '17934', '17987', '18015', '18026', '18513', '18657', '18664', '21865', '21923', '21928', '21937', '22266', '36454']
    hgrepos = []
    issue_num = 9205
    keywords = ['patch']
    message_count = 78.0
    messages = ['109585', '109867', '109885', '109910', '109922', '109936', '110129', '110136', '110139', '110142', '110152', '110169', '110174', '110197', '110207', '110256', '110283', '110285', '110288', '110353', '110366', '110369', '110370', '110386', '110387', '110399', '110428', '110979', '111025', '111028', '111124', '111559', '111690', '111696', '111706', '111915', '113828', '114423', '114449', '115065', '115107', '115114', '115118', '115125', '115128', '132646', '132660', '132661', '132664', '132665', '132666', '135013', '135021', '135025', '135026', '135027', '135028', '135461', '135493', '135502', '135513', '135544', '135624', '135895', '135896', '135901', '135904', '135968', '136090', '137767', '137855', '137912', '137913', '138065', '225833', '226699', '226794', '226806']
    nosy_count = 16.0
    nosy_names = ['jcea', 'bquinlan', 'pitrou', 'vstinner', 'jnoller', 'hongqn', 'asksol', 'vlasovskikh', 'neologix', 'gdb', 'Albert.Strasheim', 'aljungberg', 'python-dev', 'sbt', 'gkcn', 'dan.oreilly']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9205'
    versions = ['Python 3.3']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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