Skip to content

subprocess.Popen leaks file descriptors on os.fork() failure #60531

@MarkGius

Description

@MarkGius
mannequin
BPO 16327
Nosy @gpshead, @jcea
Files
  • fd_leak_fix.diff: Naive fix for bug
  • fd_leak_fix_v2.diff: Less buggy naive fix
  • fix_16327_on_3.3.diff: Fix 16327 on 3.3
  • fix_16327_on_2.7.diff: Fix 16327 on 2.7
  • 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/gpshead'
    closed_at = <Date 2012-11-11.06:50:51.168>
    created_at = <Date 2012-10-25.22:31:03.245>
    labels = ['library', 'performance']
    title = 'subprocess.Popen leaks file descriptors on os.fork() failure'
    updated_at = <Date 2012-11-11.10:02:09.989>
    user = 'https://bugs.python.org/MarkGius'

    bugs.python.org fields:

    activity = <Date 2012-11-11.10:02:09.989>
    actor = 'python-dev'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2012-11-11.06:50:51.168>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2012-10-25.22:31:03.245>
    creator = 'Mark.Gius'
    dependencies = []
    files = ['27719', '27720', '27780', '27781']
    hgrepos = []
    issue_num = 16327
    keywords = ['patch']
    message_count = 26.0
    messages = ['173804', '173807', '173808', '173810', '173811', '173813', '173814', '173815', '173816', '173817', '173818', '173819', '173821', '173825', '173832', '173837', '174085', '174098', '174137', '174138', '174139', '174940', '175324', '175326', '175327', '175339']
    nosy_count = 5.0
    nosy_names = ['gregory.p.smith', 'jcea', 'neologix', 'python-dev', 'Mark.Gius']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue16327'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions