Skip to content

segfault in PyErr_NormalizeException() after memory exhaustion #74882

@xdegaye

Description

@xdegaye
mannequin
BPO 30697
Nosy @brettcannon, @pitrou, @vstinner, @ned-deily, @xdegaye, @serhiy-storchaka, @asottile
PRs
  • bpo-30697: fix PyErr_NormalizeException() when no memory #2327
  • [3.6] bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) #4135
  • [3.6] bpo-30697: Restore PyExc_RecursionErrorInst in 3.6 #4941
  • Files
  • memerr.py
  • except_raises_except.py
  • 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 2018-03-14.06:07:50.620>
    created_at = <Date 2017-06-18.13:29:41.195>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'segfault in PyErr_NormalizeException() after memory exhaustion'
    updated_at = <Date 2018-03-14.06:07:50.619>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2018-03-14.06:07:50.619>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-14.06:07:50.620>
    closer = 'ned.deily'
    components = ['Interpreter Core']
    creation = <Date 2017-06-18.13:29:41.195>
    creator = 'xdegaye'
    dependencies = []
    files = ['46960', '47239']
    hgrepos = []
    issue_num = 30697
    keywords = ['patch']
    message_count = 16.0
    messages = ['296272', '296274', '296358', '296385', '296462', '296639', '305048', '305049', '305066', '308672', '308686', '308736', '311023', '311193', '311303', '313808']
    nosy_count = 7.0
    nosy_names = ['brett.cannon', 'pitrou', 'vstinner', 'ned.deily', 'xdegaye', 'serhiy.storchaka', 'Anthony Sottile']
    pr_nums = ['2327', '4135', '4941']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue30697'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (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