Skip to content

Order of decrementing reference counts in meth_dealloc #86181

@YannickJadoul

Description

@YannickJadoul
BPO 42015
Nosy @serhiy-storchaka, @henryiii, @miss-islington, @YannickJadoul
PRs
  • bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure m_self is kept alive long enough #22670
  • [3.9] bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure m_self is kept alive long enough (GH-22670) #22674
  • 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-10-13.05:55:13.544>
    created_at = <Date 2020-10-12.14:23:44.124>
    labels = ['interpreter-core', 'expert-C-API', '3.10', '3.9', 'type-crash']
    title = 'Order of decrementing reference counts in meth_dealloc'
    updated_at = <Date 2020-10-13.05:55:13.543>
    user = 'https://github.com/YannickJadoul'

    bugs.python.org fields:

    activity = <Date 2020-10-13.05:55:13.543>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-13.05:55:13.544>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core', 'C API']
    creation = <Date 2020-10-12.14:23:44.124>
    creator = 'YannickJadoul'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42015
    keywords = ['patch']
    message_count = 7.0
    messages = ['378500', '378502', '378506', '378511', '378525', '378528', '378529']
    nosy_count = 4.0
    nosy_names = ['serhiy.storchaka', 'Henry Schreiner', 'miss-islington', 'YannickJadoul']
    pr_nums = ['22670', '22674']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue42015'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-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