Skip to content

Fatal Python error "XXX block stack overflow" when exception stacks >10 #84115

Description

@myzhang1029
BPO 39934
Nosy @ambv, @markshannon, @serhiy-storchaka, @pablogsal, @myzhang1029, @iritkatriel
PRs
  • bpo-39934: Account for control blocks in 'except' in compiler. #22395
  • [3.9] bpo-39934: Account for control blocks in 'except' in compiler. (GH-22395) #23303
  • Files
  • exception_nest.py: Run exception_nest.py and run the generated python code
  • 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-05-05.10:53:27.428>
    created_at = <Date 2020-03-11.13:24:52.447>
    labels = ['interpreter-core', '3.10', '3.8', '3.9', 'type-crash']
    title = 'Fatal Python error "XXX block stack overflow" when exception stacks >10'
    updated_at = <Date 2021-05-05.10:53:27.427>
    user = 'https://github.com/myzhang1029'

    bugs.python.org fields:

    activity = <Date 2021-05-05.10:53:27.427>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-05.10:53:27.428>
    closer = 'iritkatriel'
    components = ['Interpreter Core']
    creation = <Date 2020-03-11.13:24:52.447>
    creator = 'myzhang1029'
    dependencies = []
    files = ['48969']
    hgrepos = []
    issue_num = 39934
    keywords = ['patch']
    message_count = 18.0
    messages = ['363914', '377433', '377434', '377437', '377439', '377440', '377441', '377444', '377445', '377490', '378178', '378192', '381280', '385035', '385037', '385039', '385042', '393002']
    nosy_count = 6.0
    nosy_names = ['lukasz.langa', 'Mark.Shannon', 'serhiy.storchaka', 'pablogsal', 'myzhang1029', 'iritkatriel']
    pr_nums = ['22395', '23303']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue39934'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.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