Skip to content

subprocess fails when used as init, vfork() returns EINVAL if PID=1 #91307

Closed
@socketpair

Description

@socketpair
BPO 47151
Nosy @gpshead, @vstinner, @socketpair, @corona10, @miss-islington
PRs
  • bpo-47151: Fallback to fork when vfork fails in subprocess. #32186
  • [3.10] bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186) #32219
  • 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 2022-03-31.23:12:07.704>
    created_at = <Date 2022-03-29.10:54:10.950>
    labels = ['extension-modules', 'type-bug', '3.10', '3.11']
    title = 'subprocess fails when used as init, vfork() returns EINVAL if PID=1'
    updated_at = <Date 2022-03-31.23:12:07.703>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2022-03-31.23:12:07.703>
    actor = 'gregory.p.smith'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2022-03-31.23:12:07.704>
    closer = 'gregory.p.smith'
    components = ['Extension Modules']
    creation = <Date 2022-03-29.10:54:10.950>
    creator = 'socketpair'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 47151
    keywords = ['patch']
    message_count = 7.0
    messages = ['416252', '416316', '416334', '416416', '416452', '416455', '416460']
    nosy_count = 5.0
    nosy_names = ['gregory.p.smith', 'vstinner', 'socketpair', 'corona10', 'miss-islington']
    pr_nums = ['32186', '32219']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue47151'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixesextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions