Title: Stack overflow test errors in Alpine after GH-130398 · Issue #131338 · python/cpython · GitHub
Open Graph Title: Stack overflow test errors in Alpine after GH-130398 · Issue #131338 · python/cpython
X Title: Stack overflow test errors in Alpine after GH-130398 · Issue #131338 · python/cpython
Description: Bug report Bug description: After GH-130398 (0142236) was applied, test.test_dynamic.RebindBuiltinsTests.test_load_global_specialization_failure_keeps_oparg and test.test_functools.TestLRUC.test_lru_recursion fail with RecursionError: St...
Open Graph Description: Bug report Bug description: After GH-130398 (0142236) was applied, test.test_dynamic.RebindBuiltinsTests.test_load_global_specialization_failure_keeps_oparg and test.test_functools.TestLRUC.test_lr...
X Description: Bug report Bug description: After GH-130398 (0142236) was applied, test.test_dynamic.RebindBuiltinsTests.test_load_global_specialization_failure_keeps_oparg and test.test_functools.TestLRUC.test_lr...
Opengraph URL: https://github.com/python/cpython/issues/131338
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stack overflow test errors in Alpine after GH-130398","articleBody":"# Bug report\n\n### Bug description:\n\nAfter GH-130398 (014223649) was applied, `test.test_dynamic.RebindBuiltinsTests.test_load_global_specialization_failure_keeps_oparg` and `test.test_functools.TestLRUC.test_lru_recursion` fail with `RecursionError: Stack overflow (used 96 kB) while calling a Python object` on Alpine linux with python compiled with musl.\n\nI don't know the significance of this; the tests were already skipped on wasi and/or emscripten before that commit, which also use musl. However, the fact that a stack overflow happens where one did not previously happen is worrisome for the stability of python on Alpine.\n\nLet me know if there is any debugging assistance I can provide.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-134336\n* gh-137175\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/bitdancer","@type":"Person","name":"bitdancer"},"datePublished":"2025-03-16T20:35:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/131338/cpython/issues/131338"}
| 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:ec310899-d128-923b-da40-9a198dc82d0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9828:1E4FEF:1FA9926:291DF3F:696B4760 |
| html-safe-nonce | d2580d76ba5d68b8b5e86aa34499c7dacde0a1168ea7dcc6ceed179c5a12acfb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODI4OjFFNEZFRjoxRkE5OTI2OjI5MURGM0Y6Njk2QjQ3NjAiLCJ2aXNpdG9yX2lkIjoiNTA2Mzk3NjE4NDE4NTU3MTE2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2583ee15cc4e5995b29584fb734fe94ac1786204b652b3d43f7ef76d11b04d80 |
| hovercard-subject-tag | issue:2923295775 |
| 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/131338/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b930556fa6d5b64637cb78eba8ed1035681c6ed5dfca8d375996b340b18cb604/python/cpython/issues/131338 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b930556fa6d5b64637cb78eba8ed1035681c6ed5dfca8d375996b340b18cb604/python/cpython/issues/131338 |
| og:image:alt | Bug report Bug description: After GH-130398 (0142236) was applied, test.test_dynamic.RebindBuiltinsTests.test_load_global_specialization_failure_keeps_oparg and test.test_functools.TestLRUC.test_lr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bitdancer |
| 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