Skip to content

sock_dealloc() may call __repr__ when socket class is already collected by GC #74446

Description

@asterite3
mannequin
BPO 30260
Nosy @vstinner, @zhangyangyu, @asterite3, @iritkatriel
Files
  • trace-verbose.txt: Verbose stack trace with python object printed by python-gdb.py
  • test.py: A reduced program to reproduce an issue. Depends on the second file (a module) test2.py
  • test2.py: Second part of a reduced PoC (a module)
  • 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 2021-06-15.12:57:36.425>
    created_at = <Date 2017-05-03.16:44:02.038>
    labels = ['interpreter-core', 'library', 'type-crash']
    title = 'sock_dealloc() may call __repr__ when socket class is already collected by GC'
    updated_at = <Date 2021-06-15.12:57:36.424>
    user = 'https://github.com/asterite3'

    bugs.python.org fields:

    activity = <Date 2021-06-15.12:57:36.424>
    actor = 'asterite'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-15.12:57:36.425>
    closer = 'asterite'
    components = ['Interpreter Core', 'Library (Lib)']
    creation = <Date 2017-05-03.16:44:02.038>
    creator = 'asterite'
    dependencies = []
    files = ['46846', '46847', '46848']
    hgrepos = []
    issue_num = 30260
    keywords = []
    message_count = 6.0
    messages = ['292924', '292928', '293230', '293497', '293500', '395864']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'xiang.zhang', 'asterite', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue30260'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibStandard Library Python modules in the Lib/ directorytype-crashA hard crash of the interpreter, possibly with a core dump
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions