Skip to content

Segfault when raising MemoryError #85820

@hoefling

Description

@hoefling
mannequin
BPO 41654
Nosy @vstinner, @corona10, @pablogsal, @miss-islington, @shihai1991, @hoefling
PRs
  • bpo-41654: Fix deallocator of MemoryError to account for subclasses #22020
  • [3.9] bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) #22045
  • [3.8] bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) #22046
  • [3.8] bpo-41654: Explicitly cast PyExc_MemoryError to PyTypeObject to avoid warning #22102
  • bpo-41654: Fix compiler warning in MemoryError_dealloc() #22387
  • [3.9] bpo-41654: Fix compiler warning in MemoryError_dealloc() (GH-22387) #24894
  • Files
  • bug.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 2020-09-01.20:42:29.365>
    created_at = <Date 2020-08-28.10:15:59.130>
    labels = ['interpreter-core', '3.8', '3.9', '3.10', '3.7', 'type-crash']
    title = 'Segfault when raising MemoryError'
    updated_at = <Date 2021-03-16.17:36:50.846>
    user = 'https://github.com/hoefling'

    bugs.python.org fields:

    activity = <Date 2021-03-16.17:36:50.846>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-09-01.20:42:29.365>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2020-08-28.10:15:59.130>
    creator = 'hoefling'
    dependencies = []
    files = ['49431']
    hgrepos = []
    issue_num = 41654
    keywords = ['patch']
    message_count = 13.0
    messages = ['376028', '376030', '376031', '376119', '376128', '376203', '376209', '376210', '376222', '376372', '376433', '377424', '388863']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'corona10', 'pablogsal', 'miss-islington', 'shihai1991', 'hoefling']
    pr_nums = ['22020', '22045', '22046', '22102', '22387', '24894']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue41654'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.7 (EOL)end of life3.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