Skip to content

Compiling recursive Python ASTs crash the interpreter #55314

@benjaminp

Description

@benjaminp
BPO 11105
Nosy @terryjreedy, @gpshead, @abalkin, @benjaminp, @jkloth, @meadori, @ambv, @ericsnowcurrently, @pablogsal, @miss-islington, @isidentical, @Fidget-Spinner
PRs
  • bpo-11105: Do not crash when compiling recursive ASTs #20594
  • [3.10] bpo-11105: Do not crash when compiling recursive ASTs (GH-20594) #26521
  • [3.9] bpo-11105: Do not crash when compiling recursive ASTs (GH-20594) #26522
  • bpo-11105: use a lower recursion limit for infinite recursion tests #26550
  • [TEMP] bpo-11105: use PY_LOCAL()s for AST converter functions #26554
  • bpo-44336: Prevent hanging on child process handles #26578
  • bpo-11105: document the new test.support.infinite_recursion context m… #26604
  • [3.9] bpo-11105: reduce the recursion limit for tests (GH-26550). #26605
  • [3.10] bpo-11105: reduce the recursion limit for tests (GH-26550). #26607
  • 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-08.17:42:44.965>
    created_at = <Date 2011-02-03.05:02:39.444>
    labels = ['interpreter-core', '3.10', '3.9', 'type-crash', '3.11']
    title = 'Compiling recursive Python ASTs crash the interpreter'
    updated_at = <Date 2021-06-08.17:42:44.964>
    user = 'https://github.com/benjaminp'

    bugs.python.org fields:

    activity = <Date 2021-06-08.17:42:44.964>
    actor = 'BTaskaya'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-08.17:42:44.965>
    closer = 'BTaskaya'
    components = ['Interpreter Core']
    creation = <Date 2011-02-03.05:02:39.444>
    creator = 'benjamin.peterson'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 11105
    keywords = ['patch']
    message_count = 27.0
    messages = ['127783', '127797', '127798', '127799', '127800', '127801', '127816', '155978', '155986', '358952', '359122', '373078', '373084', '395040', '395046', '395050', '395172', '395173', '395174', '395177', '395189', '395190', '395341', '395342', '395343', '395344', '395345']
    nosy_count = 12.0
    nosy_names = ['terry.reedy', 'gregory.p.smith', 'belopolsky', 'benjamin.peterson', 'jkloth', 'meador.inge', 'lukasz.langa', 'eric.snow', 'pablogsal', 'miss-islington', 'BTaskaya', 'kj']
    pr_nums = ['20594', '26521', '26522', '26550', '26554', '26578', '26604', '26605', '26607']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue11105'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (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