Skip to content

peephole optimizer bug relating to JUMP_IF_NOT_EXC_MATCH #86223

Description

@miurahr
mannequin
BPO 42057
Nosy @methane, @markshannon, @corona10, @FFY00, @miurahr
PRs
  • [3.9] bpo-42057: Fix peephole optimizer #22802
  • [3.9] bpo-42057: Add a test case. #22878
  • bpo-42057: Add regression test to master. #22893
  • Files
  • test_main.py: test case to reproduce
  • py_stacktrace.txt: pytest result which become segmentation fault
  • gdb_backtrace.txt: gdb backtrace
  • fix42057.patch
  • 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-10-22.02:38:54.513>
    created_at = <Date 2020-10-17.02:33:29.597>
    labels = ['interpreter-core', '3.9', 'type-crash']
    title = 'peephole optimizer bug relating to JUMP_IF_NOT_EXC_MATCH'
    updated_at = <Date 2020-10-22.15:42:36.683>
    user = 'https://github.com/miurahr'

    bugs.python.org fields:

    activity = <Date 2020-10-22.15:42:36.683>
    actor = 'corona10'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-22.02:38:54.513>
    closer = 'methane'
    components = ['Interpreter Core']
    creation = <Date 2020-10-17.02:33:29.597>
    creator = 'miurahr'
    dependencies = []
    files = ['49521', '49522', '49523', '49527']
    hgrepos = []
    issue_num = 42057
    keywords = ['patch']
    message_count = 11.0
    messages = ['378796', '378798', '378799', '378802', '378948', '378952', '378953', '379268', '379270', '379271', '379304']
    nosy_count = 5.0
    nosy_names = ['methane', 'Mark.Shannon', 'corona10', 'FFY00', 'miurahr']
    pr_nums = ['22802', '22878', '22893']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue42057'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.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