René's URL Explorer Experiment


Title: Parser stack overflow on WASI with `--with-pydebug` · Issue #131770 · python/cpython · GitHub

Open Graph Title: Parser stack overflow on WASI with `--with-pydebug` · Issue #131770 · python/cpython

X Title: Parser stack overflow on WASI with `--with-pydebug` · Issue #131770 · python/cpython

Description: Bug report Bug description: $ python Tools/wasm/wasi.py configure-build-python -- --with-pydebug ... $ python Tools/wasm/wasi.py make-build-python ... $ python Tools/wasm/wasi.py configure-host -- --with-pydebug ... $ python Tools/wasm/w...

Open Graph Description: Bug report Bug description: $ python Tools/wasm/wasi.py configure-build-python -- --with-pydebug ... $ python Tools/wasm/wasi.py make-build-python ... $ python Tools/wasm/wasi.py configure-host -- ...

X Description: Bug report Bug description: $ python Tools/wasm/wasi.py configure-build-python -- --with-pydebug ... $ python Tools/wasm/wasi.py make-build-python ... $ python Tools/wasm/wasi.py configure-host -- ...

Opengraph URL: https://github.com/python/cpython/issues/131770

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parser stack overflow on WASI with `--with-pydebug`","articleBody":"# Bug report\n\n### Bug description:\n\n```pytb\n$ python Tools/wasm/wasi.py configure-build-python -- --with-pydebug\n...\n$ python Tools/wasm/wasi.py make-build-python\n...\n$ python Tools/wasm/wasi.py configure-host -- --with-pydebug\n...\n$ python Tools/wasm/wasi.py make-host\n...\n$ wasmtime run --dir .::/ cross-build/wasm32-wasip1/python.wasm -m test.test_compile\nTraceback (most recent call last):\n  File \"/Lib/runpy.py\", line 189, in _run_module_as_main\n    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)\n                               ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n  File \"/Lib/runpy.py\", line 159, in _get_module_details\n    code = loader.get_code(mod_name)\n  File \"\u003cfrozen importlib._bootstrap_external>\", line 896, in get_code\n  File \"\u003cfrozen importlib._bootstrap_external>\", line 826, in source_to_code\n  File \"\u003cfrozen importlib._bootstrap>\", line 488, in _call_with_frames_removed\nMemoryError: Parser stack overflowed - Python source too complex to parse\n```\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n**NOTE**\n\nThe failing tests have shifted; see https://github.com/python/cpython/issues/131770#issuecomment-2856268358\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-131844\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/FFY00","@type":"Person","name":"FFY00"},"datePublished":"2025-03-26T15:41:21Z","url":"https://github.com/python/cpython/issues/131770"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b38b2e92-de08-a18c-a3c6-5afaa6fad5c2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCBBA:213839:3E17900:4F41747:6B0207FA
html-safe-noncee303dc18085c972f6fb69a49ede333580f3fa78299d3ca04c591db5e624a98e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkJBOjIxMzgzOTozRTE3OTAwOjRGNDE3NDc6NkIwMjA3RkEiLCJ2aXNpdG9yX2lkIjoiNjQzODg0MjAzOTM5NTI4OTA4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3b14abe25a78b2a3a100afe5feae838bc1cf47bdf93bc9affae913c85be2ae59
hovercard-subject-tagissue:2950064201
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/131770/issue_layout
twitter:imagehttps://opengraph.githubassets.com/26632b8111f3ec4313c8b408d10fd7a7956743e63f8f7ba9806d79266feb4ce6/python/cpython/issues/131770
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/26632b8111f3ec4313c8b408d10fd7a7956743e63f8f7ba9806d79266feb4ce6/python/cpython/issues/131770
og:image:altBug report Bug description: $ python Tools/wasm/wasi.py configure-build-python -- --with-pydebug ... $ python Tools/wasm/wasi.py make-build-python ... $ python Tools/wasm/wasi.py configure-host -- ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFFY00
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/131770#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F131770
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F131770
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/131770
Reloadhttps://github.com/python/cpython/issues/131770
Reloadhttps://github.com/python/cpython/issues/131770
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/131770
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/131770
Parser stack overflow on WASI with --with-pydebughttps://github.com/python/cpython/issues/131770#top
https://github.com/brettcannon
https://github.com/markshannon
OS-wasihttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-wasi%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
topic-parserhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-parser%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/FFY00
FFY00https://github.com/FFY00
on Mar 26, 2025https://github.com/python/cpython/issues/131770#issue-2950064201
#131770 (comment)https://github.com/python/cpython/issues/131770#issuecomment-2856268358
GH-131770: increase assumed WASI stack size to 131072 (wasi-sdk default) #131844https://github.com/python/cpython/pull/131844
Nexthttps://github.com/python/cpython/issues/131770?timeline_page=1
FFY00https://github.com/FFY00
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
OS-wasihttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-wasi%22
topic-parserhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-parser%22
on Mar 26, 2025https://github.com/python/cpython/issues/131770#event-16995557713
https://github.com/FFY00
FFY00https://github.com/FFY00
on Mar 26, 2025https://github.com/python/cpython/issues/131770#issuecomment-2755527194
0142236https://github.com/python/cpython/commit/014223649c33b2febbccfa221c2ab7f18a8c0847
cpython/Tools/peg_generator/pegen/c_generator.pyhttps://github.com/python/cpython/blob/4b3d5b604210f68005ef64d5346ca169385f5acf/Tools/peg_generator/pegen/c_generator.py#L382-L386
4b3d5b6https://github.com/python/cpython/commit/4b3d5b604210f68005ef64d5346ca169385f5acf
@markshannonhttps://github.com/markshannon
FFY00https://github.com/FFY00
on Mar 28, 2025https://github.com/python/cpython/issues/131770#event-17033252696
pythonGH-131770: increase assumed WASI stack size to 131072 (wasi-sdk…https://github.com/FFY00/cpython/commit/bfda8abbb29e099059d214c3dc57edd171f92805
pythonGH-131770https://github.com/python/cpython/issues/131770
bfda8abhttps://github.com/FFY00/cpython/commit/bfda8abbb29e099059d214c3dc57edd171f92805
pythonGH-131770: increase assumed WASI stack size to 131072 (wasi-sdk…https://github.com/FFY00/cpython/commit/d68cc3b4d3cd54927485cab4802ad4fecebb5a1f
pythonGH-131770https://github.com/python/cpython/issues/131770
d68cc3bhttps://github.com/FFY00/cpython/commit/d68cc3b4d3cd54927485cab4802ad4fecebb5a1f
GH-131770: increase assumed WASI stack size to 131072 (wasi-sdk defau…https://github.com/python/cpython/commit/6ab4acecf91413fccd39f78ff14775d83498dab5
GH-131770https://github.com/python/cpython/issues/131770
6ab4acehttps://github.com/python/cpython/commit/6ab4acecf91413fccd39f78ff14775d83498dab5
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Apr 21, 2025https://github.com/python/cpython/issues/131770#issuecomment-2819318709
Implement stack overflow protection for webassembly #130397https://github.com/python/cpython/issues/130397
@hoodmanehttps://github.com/hoodmane
#131769https://github.com/python/cpython/issues/131769
https://github.com/FFY00
FFY00https://github.com/FFY00
on Apr 22, 2025https://github.com/python/cpython/issues/131770#issuecomment-2820076498
@markshannonhttps://github.com/markshannon
brettcannonhttps://github.com/brettcannon
markshannonhttps://github.com/markshannon
on Apr 23, 2025https://github.com/python/cpython/issues/131770#event-17375094089
brettcannonhttps://github.com/brettcannon
deferred-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22deferred-blocker%22
on Apr 24, 2025https://github.com/python/cpython/issues/131770#event-17393981776
ezio-melottihttps://github.com/ezio-melotti
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
on Apr 24, 2025https://github.com/python/cpython/issues/131770#event-17393984758
github-project-automationhttps://github.com/apps/github-project-automation
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
on Apr 24, 2025https://github.com/python/cpython/issues/131770
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Apr 24, 2025https://github.com/python/cpython/issues/131770#issuecomment-2828255675
@hugovkhttps://github.com/hugovk
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Apr 30, 2025https://github.com/python/cpython/issues/131770#issuecomment-2842754409
cpython/Include/pythonrun.hhttps://github.com/python/cpython/blob/2b67db7ce3d73c9ad905125f9a602657afe9be9f/Include/pythonrun.h#L32-L34
2b67db7https://github.com/python/cpython/commit/2b67db7ce3d73c9ad905125f9a602657afe9be9f
#133219https://github.com/python/cpython/pull/133219
brettcannonhttps://github.com/brettcannon
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
deferred-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22deferred-blocker%22
on May 8, 2025https://github.com/python/cpython/issues/131770#event-17581119921
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on May 8, 2025https://github.com/python/cpython/issues/131770#issuecomment-2864521881
https://github.com/markshannon
markshannonhttps://github.com/markshannon
on May 19, 2025https://github.com/python/cpython/issues/131770#issuecomment-2891672155
@hoodmanehttps://github.com/hoodmane
https://github.com/hoodmane
hoodmanehttps://github.com/hoodmane
on May 19, 2025https://github.com/python/cpython/issues/131770#issuecomment-2892095328
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on May 20, 2025https://github.com/python/cpython/issues/131770#issuecomment-2895554194
@markshannonhttps://github.com/markshannon
cpython/configure.achttps://github.com/python/cpython/blob/91e6a58e2d6fd23e886135457e28dfa980ec49ed/configure.ac#L3615
91e6a58https://github.com/python/cpython/commit/91e6a58e2d6fd23e886135457e28dfa980ec49ed
@hoodmanehttps://github.com/hoodmane
#131770 (comment)https://github.com/python/cpython/issues/131770#issuecomment-2856268358
https://github.com/hoodmane
hoodmanehttps://github.com/hoodmane
on May 20, 2025https://github.com/python/cpython/issues/131770#issuecomment-2895580917
https://github.com/hoodmane
hoodmanehttps://github.com/hoodmane
on May 20, 2025https://github.com/python/cpython/issues/131770#issuecomment-2895592439
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on May 20, 2025https://github.com/python/cpython/issues/131770#issuecomment-2895641746
a question on the Bytecode Alliance Zulip instancehttps://bytecodealliance.zulipchat.com/#narrow/channel/219900-wasi/topic/Setting.20a.20larger.20C.20stack.20size.20with.20WASI.20SDK/with/519461191
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on May 21, 2025https://github.com/python/cpython/issues/131770#issuecomment-2898619490
@markshannonhttps://github.com/markshannon
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on May 21, 2025https://github.com/python/cpython/issues/131770#issuecomment-2899388923
#134469https://github.com/python/cpython/pull/134469
brettcannonhttps://github.com/brettcannon
on May 21, 2025https://github.com/python/cpython/issues/131770#event-17761782019
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on May 22, 2025https://github.com/python/cpython/issues/131770#issuecomment-2902774016
brettcannonhttps://github.com/brettcannon
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 22, 2025https://github.com/python/cpython/issues/131770#event-17780532771
github-project-automationhttps://github.com/apps/github-project-automation
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
on May 22, 2025https://github.com/python/cpython/issues/131770
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/131770
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/131770
brettcannonhttps://github.com/brettcannon
markshannonhttps://github.com/markshannon
OS-wasihttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-wasi%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
topic-parserhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-parser%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.