Skip to content

PyOS_InterruptOccurred() now requires to hold the GIL: PyOS_Readline() crash #85003

@JelleZijlstra

Description

@JelleZijlstra
BPO 40826
Nosy @db3l, @vstinner, @benjaminp, @serhiy-storchaka, @eryksun, @JelleZijlstra, @corona10, @remilapeyre
PRs
  • bpo-40826: Fix segfaults issue when close file descriptor 0 on REPL #20549
  • bpo-40826: Add _Py_EnsureTstateNotNULL() macro #20571
  • bpo-40826: PyOS_InterruptOccurred() requires GIL #20578
  • bpo-40826: Fix GIL usage in PyOS_Readline() #20579
  • bpo-40826: Add _PyOS_InterruptOccurred(tstate) function #20599
  • [3.9] bpo-40826: Fix GIL usage in PyOS_Readline() #20613
  • [3.8] bpo-40826: Fix GIL usage in PyOS_Readline() (GH-20613) #20616
  • [3.9] bpo-40826: PyOS_InterruptOccurred() requires GIL (GH-20578) #20618
  • bpo-40826: Fix test_repl.test_close_stdin() on Windows #20779
  • [3.9] bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) #20785
  • [3.8] bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) (GH-20785) #20787
  • 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 2020-06-10.17:46:11.537>
    created_at = <Date 2020-05-30.14:19:46.754>
    labels = ['interpreter-core', '3.10', '3.8', '3.9', 'type-crash']
    title = 'PyOS_InterruptOccurred() now requires to hold the GIL: PyOS_Readline() crash'
    updated_at = <Date 2020-06-10.20:13:01.555>
    user = 'https://github.com/JelleZijlstra'

    bugs.python.org fields:

    activity = <Date 2020-06-10.20:13:01.555>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-10.17:46:11.537>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2020-05-30.14:19:46.754>
    creator = 'JelleZijlstra'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40826
    keywords = ['patch', '3.9regression']
    message_count = 31.0
    messages = ['370386', '370387', '370388', '370392', '370549', '370550', '370552', '370553', '370554', '370555', '370556', '370569', '370575', '370576', '370661', '370676', '370679', '370682', '370683', '370692', '370694', '370696', '370716', '370718', '371169', '371223', '371224', '371226', '371227', '371233', '371239']
    nosy_count = 9.0
    nosy_names = ['db3l', 'vstinner', 'benjamin.peterson', 'stutzbach', 'serhiy.storchaka', 'eryksun', 'JelleZijlstra', 'corona10', 'remi.lapeyre']
    pr_nums = ['20549', '20571', '20578', '20579', '20599', '20613', '20616', '20618', '20779', '20785', '20787']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue40826'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions