Skip to content

The new parser segfaults when parsing invalid input #84838

@pablogsal

Description

@pablogsal
BPO 40661
Nosy @gvanrossum, @vstinner, @lysnikolaou, @Zac-HD, @pablogsal
PRs
  • bpo-40661: Fix segfaults when parsing invalid input #20159
  • bpo-40661: Fix segfault when parsing invalid input #20165
  • Files
  • reproducer.py
  • 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-05-18.17:32:26.774>
    created_at = <Date 2020-05-17.16:01:10.114>
    labels = ['interpreter-core', 'deferred-blocker', '3.9', 'type-crash']
    title = 'The new parser segfaults when parsing invalid input'
    updated_at = <Date 2020-05-18.17:32:26.773>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2020-05-18.17:32:26.773>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-18.17:32:26.774>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2020-05-17.16:01:10.114>
    creator = 'pablogsal'
    dependencies = []
    files = ['49169']
    hgrepos = []
    issue_num = 40661
    keywords = ['patch']
    message_count = 13.0
    messages = ['369132', '369133', '369134', '369136', '369142', '369144', '369164', '369176', '369181', '369235', '369249', '369263', '369280']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'vstinner', 'lys.nikolaou', 'Zac Hatfield-Dodds', 'pablogsal']
    pr_nums = ['20159', '20165']
    priority = 'deferred blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue40661'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifedeferred-blockerinterpreter-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