Skip to content

pthread_exit & PyThread_exit_thread from PyEval_RestoreThread etc. are harmful #87135

Open
@gpshead

Description

@gpshead
BPO 42969
Nosy @gpshead, @pitrou, @vstinner, @colesbury, @izbyshev, @jbms
PRs
  • gh-87135: Hang non-main threads that attempt to acquire the GIL during finalization #28525
  • 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 = None
    created_at = <Date 2021-01-19.19:35:46.531>
    labels = ['interpreter-core', 'type-bug', '3.9', '3.10', '3.11']
    title = 'pthread_exit & PyThread_exit_thread from PyEval_RestoreThread etc. are harmful'
    updated_at = <Date 2021-11-15.22:28:59.110>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2021-11-15.22:28:59.110>
    actor = 'colesbury'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-01-19.19:35:46.531>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42969
    keywords = ['patch', '3.2regression']
    message_count = 26.0
    messages = ['385288', '385289', '396669', '396679', '401886', '401922', '401958', '401959', '402218', '402219', '402220', '402264', '402266', '402474', '402475', '402487', '402509', '402519', '402556', '402558', '402559', '402560', '402571', '402608', '402684', '406363']
    nosy_count = 6.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'vstinner', 'colesbury', 'izbyshev', 'jbms']
    pr_nums = ['28525']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42969'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions