Title: Not all types have "trashcan" protection and tp_dealloc can overflow stack · Issue #124715 · python/cpython · GitHub
Open Graph Title: Not all types have "trashcan" protection and tp_dealloc can overflow stack · Issue #124715 · python/cpython
X Title: Not all types have "trashcan" protection and tp_dealloc can overflow stack · Issue #124715 · python/cpython
Description: We occasionally fix these kinds of bugs, like GH-102356. However, the fix by adding the "trashcan" macros to the tp_dealloc method only fixes that specific type. It would be better to have a more generic fix. A crash due to the C stack o...
Open Graph Description: We occasionally fix these kinds of bugs, like GH-102356. However, the fix by adding the "trashcan" macros to the tp_dealloc method only fixes that specific type. It would be better to have a more g...
X Description: We occasionally fix these kinds of bugs, like GH-102356. However, the fix by adding the "trashcan" macros to the tp_dealloc method only fixes that specific type. It would be better to hav...
Opengraph URL: https://github.com/python/cpython/issues/124715
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not all types have \"trashcan\" protection and tp_dealloc can overflow stack","articleBody":"We occasionally fix these kinds of bugs, like GH-102356. However, the fix by adding the \"trashcan\" macros to the tp_dealloc method only fixes that specific type. It would be better to have a more generic fix. A crash due to the C stack overflow leaves the user mystified as to what the problem is and these kinds of bugs could be hard to reproduce (requiring long chains of objects calling tp_dealloc recursively).\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-124716\n* gh-132280\n* gh-133199\n* gh-133434\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/nascheme","@type":"Person","name":"nascheme"},"datePublished":"2024-09-27T22:17:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/124715/cpython/issues/124715"}
| 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:2e50472f-eb21-f601-e646-3eec0675895a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B610:3856C7:697107:943B57:696A4C72 |
| html-safe-nonce | 9cd33df4ab18efa409b6bd6d7c15f6880345c12044b70487a01500e94d3c6349 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjEwOjM4NTZDNzo2OTcxMDc6OTQzQjU3OjY5NkE0QzcyIiwidmlzaXRvcl9pZCI6IjMzMTM2NzAxNDc5ODQyMTUxNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 259ee951a35e12bae6004c9361bc04274273fa7ab9ca522737191e7c8a248f87 |
| hovercard-subject-tag | issue:2553825335 |
| 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/124715/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d06a2b69feb0bf6b38030624d12bfbf56e2514c0db6008f9c8ee614d1ede55e1/python/cpython/issues/124715 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d06a2b69feb0bf6b38030624d12bfbf56e2514c0db6008f9c8ee614d1ede55e1/python/cpython/issues/124715 |
| og:image:alt | We occasionally fix these kinds of bugs, like GH-102356. However, the fix by adding the "trashcan" macros to the tp_dealloc method only fixes that specific type. It would be better to have a more g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nascheme |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width