`PyFrame_GetBack` segfaults if called in a `sys.settrace` hook on `3.11.1` · Issue #100536 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

type-crashA hard crash of the interpreter, possibly with a core dump

https://gist.github.com/sumerc/b254f38c5a620b8d47aba7398b3c7791

When PyFrame_GetBack is called during a sys.settrace hook in a C extension, it segfaults for some libraries(spacy) Following is a reproducer: https://gist.github.com/sumerc/b254f38c5a620b8d47aba7398b3c7791.

⌂git
1/1