Skip to content

Python could crash while creating weakref for a given object #73533

@dhanavaths

Description

@dhanavaths
BPO 29347
Nosy @freddrake, @tiran, @zhangyangyu, @dhanavaths
PRs
  • bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects #128
  • bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects #186
  • bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects #187
  • bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects #188
  • [Do Not Merge] Sample of CPython life with blurb. #703
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • crash_in_weakref.zip
  • weakref_crash.patch
  • verify_crash_in_weakref.zip
  • weakref_crash.c
  • 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 2017-02-20.06:35:53.717>
    created_at = <Date 2017-01-23.03:24:01.147>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'Python could crash while creating weakref for a given object'
    updated_at = <Date 2017-03-31.16:36:36.126>
    user = 'https://github.com/dhanavaths'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:36.126>
    actor = 'dstufft'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-02-20.06:35:53.717>
    closer = 'xiang.zhang'
    components = ['Interpreter Core']
    creation = <Date 2017-01-23.03:24:01.147>
    creator = 'dhanavaths'
    dependencies = []
    files = ['46396', '46513', '46515', '46516']
    hgrepos = []
    issue_num = 29347
    keywords = ['patch']
    message_count = 19.0
    messages = ['286044', '286062', '286116', '286133', '286926', '286935', '286948', '286953', '286956', '286964', '286965', '287912', '288180', '288181', '288182', '288183', '288184', '288270', '288271']
    nosy_count = 4.0
    nosy_names = ['fdrake', 'christian.heimes', 'xiang.zhang', 'dhanavaths']
    pr_nums = ['128', '186', '187', '188', '703', '552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue29347'
    versions = ['Python 2.7', 'Python 3.5', '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