Skip to content

collections.OrderedDict and weakref.ref raises "refcount is too small" assertion #83959

Description

@leezu
mannequin
BPO 39778
Nosy @tim-one, @rhettinger, @pitrou, @ericsnowcurrently, @leezu, @pablogsal, @miss-islington, @iritkatriel
PRs
  • bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear #18749
  • bpo-39778: Add clarification about tp_traverse and ownership #18754
  • [3.7] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) #18755
  • [3.8] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) #18756
  • [3.8] bpo-39778: Add clarification about tp_traverse and ownership (GH-18754) #18762
  • [3.7] bpo-39778: Add clarification about tp_traverse and ownership (GH-18754) #18763
  • 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 = 'https://github.com/pablogsal'
    closed_at = <Date 2021-09-20.19:40:09.511>
    created_at = <Date 2020-02-27.21:52:09.045>
    labels = ['extension-modules', '3.7', '3.8', '3.9', 'type-crash']
    title = 'collections.OrderedDict and weakref.ref raises "refcount is too small" assertion'
    updated_at = <Date 2021-09-20.19:40:09.510>
    user = 'https://github.com/leezu'

    bugs.python.org fields:

    activity = <Date 2021-09-20.19:40:09.510>
    actor = 'rhettinger'
    assignee = 'pablogsal'
    closed = True
    closed_date = <Date 2021-09-20.19:40:09.511>
    closer = 'rhettinger'
    components = ['Extension Modules']
    creation = <Date 2020-02-27.21:52:09.045>
    creator = 'leezu'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39778
    keywords = ['patch']
    message_count = 21.0
    messages = ['362846', '362862', '362866', '363177', '363189', '363197', '363198', '363214', '363219', '363220', '363236', '363237', '363238', '363246', '402173', '402181', '402191', '402192', '402221', '402222', '402275']
    nosy_count = 8.0
    nosy_names = ['tim.peters', 'rhettinger', 'pitrou', 'eric.snow', 'leezu', 'pablogsal', 'miss-islington', 'iritkatriel']
    pr_nums = ['18749', '18754', '18755', '18756', '18762', '18763']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue39778'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-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