Title: Incorrect hard limit for stack protection for MacOS and TSAN · Issue #139291 · python/cpython · GitHub
Open Graph Title: Incorrect hard limit for stack protection for MacOS and TSAN · Issue #139291 · python/cpython
X Title: Incorrect hard limit for stack protection for MacOS and TSAN · Issue #139291 · python/cpython
Description: Bug description: Largely as a result of mixing the logic for determining the hardware stack limits and for setting the software stack limits, the incorrect hard limit is set for both TSAN and MacOS. MacOS is too low by _PyOS_STACK_MARGIN...
Open Graph Description: Bug description: Largely as a result of mixing the logic for determining the hardware stack limits and for setting the software stack limits, the incorrect hard limit is set for both TSAN and MacOS...
X Description: Bug description: Largely as a result of mixing the logic for determining the hardware stack limits and for setting the software stack limits, the incorrect hard limit is set for both TSAN and MacOS...
Opengraph URL: https://github.com/python/cpython/issues/139291
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect hard limit for stack protection for MacOS and TSAN","articleBody":"### Bug description:\n\nLargely as a result of mixing the logic for determining the hardware stack limits and for setting the software stack limits, the incorrect hard limit is set for both TSAN and MacOS. MacOS is too low by `_PyOS_STACK_MARGIN_BYTES` and for TSAN by half the stack size.\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-139294\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/markshannon","@type":"Person","name":"markshannon"},"datePublished":"2025-09-24T11:04:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/139291/cpython/issues/139291"}
| 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:4c790f14-757c-30a6-4e93-4a059120f371 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A088:CD10D:16E03F4:1D9C83F:696B2653 |
| html-safe-nonce | bf9e877987a46efd195c36f21fd32f8085b81e4ad0a4a4df53bba3c1e35517e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDg4OkNEMTBEOjE2RTAzRjQ6MUQ5QzgzRjo2OTZCMjY1MyIsInZpc2l0b3JfaWQiOiIxMzc4ODMyNzgxOTczMzU2MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 75c8df21699d5d45a91bbd936bc9cceea1bedfa54e0e5f0cce4f9cf3cd438efa |
| hovercard-subject-tag | issue:3448901878 |
| 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/139291/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d47d00252ee34faec7cec0f35126d1eede6dad8838250102bcab6d9ef962ff8/python/cpython/issues/139291 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d47d00252ee34faec7cec0f35126d1eede6dad8838250102bcab6d9ef962ff8/python/cpython/issues/139291 |
| og:image:alt | Bug description: Largely as a result of mixing the logic for determining the hardware stack limits and for setting the software stack limits, the incorrect hard limit is set for both TSAN and MacOS... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markshannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width