Title: `PyEval_GetFrame` crashes when it returns incomplete frames · Issue #96975 · python/cpython · GitHub
Open Graph Title: `PyEval_GetFrame` crashes when it returns incomplete frames · Issue #96975 · python/cpython
X Title: `PyEval_GetFrame` crashes when it returns incomplete frames · Issue #96975 · python/cpython
Description: Is it possible that PyEval_GetFrame returns incomplete frames. When this happens, Python segfaults in release mode or crashes in debug mode because of the check for incomplete frames in _PyFrame_GetFrameObject. This is reproducible in ma...
Open Graph Description: Is it possible that PyEval_GetFrame returns incomplete frames. When this happens, Python segfaults in release mode or crashes in debug mode because of the check for incomplete frames in _PyFrame_Ge...
X Description: Is it possible that PyEval_GetFrame returns incomplete frames. When this happens, Python segfaults in release mode or crashes in debug mode because of the check for incomplete frames in _PyFrame_Ge...
Opengraph URL: https://github.com/python/cpython/issues/96975
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`PyEval_GetFrame` crashes when it returns incomplete frames","articleBody":"Is it possible that `PyEval_GetFrame` returns incomplete frames. When this happens, Python segfaults in release mode or crashes in debug mode because of the check for incomplete frames in `_PyFrame_GetFrameObject`. This is reproducible in many ways involving C extensions, the easier one may be by installing a custom memory allocator for all the domains and calling `PyEval_GetFrame` from there. As the allocator can be called at random points of the eval loop (for example [here](https://github.com/python/cpython/blob/a3e2f054d285d72bca97667390bbc219d02ab364/Python/ceval.c#L6231)) is perfectly possible that a legitimate call to `PyEval_GetFrame` returns an incomplete frame.","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2022-09-20T22:58:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/96975/cpython/issues/96975"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:62aa455e-0ec8-31f6-ef65-5673475c9ff3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDA0:28656B:100A7CF:1669FFF:696A4039 |
| html-safe-nonce | 637b635cf9e15dc0ae935d66a761d040620a9e02fc207d43304dcf36e32f9a78 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREEwOjI4NjU2QjoxMDBBN0NGOjE2NjlGRkY6Njk2QTQwMzkiLCJ2aXNpdG9yX2lkIjoiNDI1MDUxMjYxNjcyODQ0NDk4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f436326ce55acae7987b1afba324ac9fd320a8fd8cbd3537a006cc85392a709e |
| hovercard-subject-tag | issue:1380086030 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/96975/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70d55baf4d8ea7e1e670f9e513b4b3871d172d7456d0aa5196fd856e4909143c/python/cpython/issues/96975 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70d55baf4d8ea7e1e670f9e513b4b3871d172d7456d0aa5196fd856e4909143c/python/cpython/issues/96975 |
| og:image:alt | Is it possible that PyEval_GetFrame returns incomplete frames. When this happens, Python segfaults in release mode or crashes in debug mode because of the check for incomplete frames in _PyFrame_Ge... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width