Skip to content

Segfault in gc with cyclic trash #65634

@inglesp

Description

@inglesp
mannequin
BPO 21435
Nosy @gvanrossum, @tim-one, @pitrou, @vstinner, @larryhastings, @tjguk, @asvetlov, @gvanrossum
Files
  • problemreport.txt
  • finalize.patch: Redo iteration logic in finalize_garbage().
  • finalize2.patch: Cleaner patch, but same idea.
  • finalize3.patch: Restore incref/decref pair.
  • finalize4.patch: Typo repair and minor improvements
  • xxx.py: Self-contained (no imports) crasher
  • finalize42.patch: Code changes + new test_gc.py test.
  • 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/tim-one'
    closed_at = <Date 2014-05-08.22:46:10.935>
    created_at = <Date 2014-05-05.11:59:58.233>
    labels = ['type-crash']
    title = 'Segfault in gc with cyclic trash'
    updated_at = <Date 2014-05-10.08:55:38.890>
    user = 'https://bugs.python.org/inglesp'

    bugs.python.org fields:

    activity = <Date 2014-05-10.08:55:38.890>
    actor = 'asvetlov'
    assignee = 'tim.peters'
    closed = True
    closed_date = <Date 2014-05-08.22:46:10.935>
    closer = 'tim.peters'
    components = []
    creation = <Date 2014-05-05.11:59:58.233>
    creator = 'inglesp'
    dependencies = []
    files = ['35152', '35165', '35166', '35167', '35180', '35182', '35187']
    hgrepos = []
    issue_num = 21435
    keywords = ['patch']
    message_count = 32.0
    messages = ['217918', '217931', '217936', '217956', '217959', '217960', '217961', '217962', '217963', '217964', '217968', '217971', '218028', '218035', '218036', '218037', '218038', '218041', '218042', '218043', '218072', '218089', '218091', '218094', '218115', '218116', '218125', '218134', '218138', '218194', '218205', '218214']
    nosy_count = 10.0
    nosy_names = ['gvanrossum', 'tim.peters', 'pitrou', 'vstinner', 'larry', 'tim.golden', 'asvetlov', 'python-dev', 'inglesp', 'Guido.van.Rossum']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue21435'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    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