René's URL Explorer Experiment


Title: Parallel parsing sometimes crashes when compiled in free-threaded Python · Issue #21578 · python/mypy · GitHub

Open Graph Title: Parallel parsing sometimes crashes when compiled in free-threaded Python · Issue #21578 · python/mypy

X Title: Parallel parsing sometimes crashes when compiled in free-threaded Python · Issue #21578 · python/mypy

Description: I don't have a way to reproduce this, but just noticed this random crash in testOutputJsonParallel: Current thread's C stack trace (most recent call first): Binary file "/opt/hostedtoolcache/Python/3.14.5/arm64-freethreaded/lib/libpython...

Open Graph Description: I don't have a way to reproduce this, but just noticed this random crash in testOutputJsonParallel: Current thread's C stack trace (most recent call first): Binary file "/opt/hostedtoolcache/Python...

X Description: I don't have a way to reproduce this, but just noticed this random crash in testOutputJsonParallel: Current thread's C stack trace (most recent call first): Binary file "/opt/hostedtoo...

Opengraph URL: https://github.com/python/mypy/issues/21578

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parallel parsing sometimes crashes when compiled in free-threaded Python","articleBody":"I don't have a way to reproduce this, but just noticed this random crash in `testOutputJsonParallel`:\n```\nCurrent thread's C stack trace (most recent call first):\n  Binary file \"/opt/hostedtoolcache/Python/3.14.5/arm64-freethreaded/lib/libpython3.14t.so.1.0\", at _Py_DumpStack+0x4c [0xff4fb2f871ac]\n  Binary file \"/opt/hostedtoolcache/Python/3.14.5/arm64-freethreaded/lib/libpython3.14t.so.1.0\", at +0xed7ac [0xff4fb2f8d7ac]\n  Binary file \"linux-vdso.so.1\", at __kernel_rt_sigreturn+0x0 [0xff4fb3536938]\n  Binary file \"/lib/aarch64-linux-gnu/libc.so.6\", at +0x87608 [0xff4fb2d67608]\n  Binary file \"/lib/aarch64-linux-gnu/libc.so.6\", at gsignal+0x1c [0xff4fb2d1cb3c]\n  Binary file \"/lib/aarch64-linux-gnu/libc.so.6\", at abort+0xf4 [0xff4fb2d07e00]\n  Binary file \"/lib/aarch64-linux-gnu/libc.so.6\", at +0x35cc0 [0xff4fb2d15cc0]\n  Binary file \"/lib/aarch64-linux-gnu/libc.so.6\", at __assert_perror_fail+0x0 [0xff4fb2d15d30]\n  Binary file \"/home/runner/work/mypy/mypy/fb62009ad6f7d3457273__mypyc.cpython-314t-aarch64-linux-gnu.so\", at +0x2bde554 [0xff4fab4ee554]\n  Binary file \"/home/runner/work/mypy/mypy/fb62009ad6f7d3457273__mypyc.cpython-314t-aarch64-linux-gnu.so\", at +0x6118dc [0xff4fa8f218dc]\n  Binary file \"/home/runner/work/mypy/mypy/fb62009ad6f7d3457273__mypyc.cpython-314t-aarch64-linux-gnu.so\", at CPyArg_ParseStackAndKeywordsSimple+0x1b0 [0xff4fa8f22e9c]\n  Binary file \"/home/runner/work/mypy/mypy/fb62009ad6f7d3457273__mypyc.cpython-314t-aarch64-linux-gnu.so\", at CPyPy_mypy___build___State___parse_file_inner+0x48 [0xff4fa90d8f98]\n  Binary file \"/opt/hostedtoolcache/Python/3.14.5/arm64-freethreaded/lib/libpython3.14t.so.1.0\", at _PyEval_EvalFrameDefault+0x48c4 [0xff4fb30620a4]\n```\nIt looks like some C-level assertion failure (because of a race condition?) FWIW I have never seen this issue in regular (non-free-threaded) Python.\n\ncc @JukkaL (as you have been interested in making native parser more stable)","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2026-06-02T16:17:38Z","url":"https://github.com/python/mypy/issues/21578"}

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:d7fd02d9-3d08-9120-24b1-8c88512d821c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE4E0:3E7030:55C44B:731EF7:6B0032BA
html-safe-nonce3285e8feae70d2de0e427dcb41edd4ddc259ae21346b2268392bd6edb2340a5a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEUwOjNFNzAzMDo1NUM0NEI6NzMxRUY3OjZCMDAzMkJBIiwidmlzaXRvcl9pZCI6IjEzMjg5NTg4MzI3NDY5Njc3MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac811a79b4cbb6e5cb06cce761143a39a75936ef3bf10b11c583e4feca0dbf8ec5
hovercard-subject-tagissue:4573127432
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/mypy/21578/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a89b7c86c75f601a1709b4ebcabf46c4342b33492555d2225212645ad40ca699/python/mypy/issues/21578
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a89b7c86c75f601a1709b4ebcabf46c4342b33492555d2225212645ad40ca699/python/mypy/issues/21578
og:image:altI don't have a way to reproduce this, but just noticed this random crash in testOutputJsonParallel: Current thread's C stack trace (most recent call first): Binary file "/opt/hostedtoolcache/Python...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/21578#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F21578
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%2Fmypy%2Fissues%2F21578
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%2Fmypy
Reloadhttps://github.com/python/mypy/issues/21578
Reloadhttps://github.com/python/mypy/issues/21578
Reloadhttps://github.com/python/mypy/issues/21578
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21578
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21578
#21613https://github.com/python/mypy/pull/21613
Parallel parsing sometimes crashes when compiled in free-threaded Pythonhttps://github.com/python/mypy/issues/21578#top
#21613https://github.com/python/mypy/pull/21613
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
parallel checkinghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22parallel%20checking%22
topic-mypycmypyc bugshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-mypyc%22
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 2, 2026https://github.com/python/mypy/issues/21578#issue-4573127432
@JukkaLhttps://github.com/JukkaL
ilevkivskyihttps://github.com/ilevkivskyi
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
parallel checkinghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22parallel%20checking%22
topic-mypycmypyc bugshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-mypyc%22
on Jun 2, 2026https://github.com/python/mypy/issues/21578#event-26246686401
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Jun 4, 2026https://github.com/python/mypy/issues/21578#issuecomment-4622241228
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 4, 2026https://github.com/python/mypy/issues/21578#issuecomment-4622360141
@JukkaLhttps://github.com/JukkaL
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Jun 4, 2026https://github.com/python/mypy/issues/21578#issuecomment-4623482252
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 4, 2026https://github.com/python/mypy/issues/21578#issuecomment-4623827645
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 4, 2026https://github.com/python/mypy/issues/21578#issuecomment-4623914719
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Jun 4, 2026https://github.com/python/mypy/issues/21578#issuecomment-4624736486
JukkaLhttps://github.com/JukkaL
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#21613https://github.com/python/mypy/pull/21613
on Jun 15, 2026https://github.com/python/mypy/issues/21578#event-26760353123
pullhttps://github.com/apps/pull
on Jun 15, 2026https://github.com/python/mypy/issues/21578#event-26760555135
[mypyc] Fix free-threading race condition in argument parsing (python…https://github.com/LadyK-21/mypy/commit/8b6642db9791428e158c31b4fd3ed8bc96832ccb
python…https://github.com/python/mypy/pull/21613
https://docs.github.com/articles/closing-issues-via-commit-messages
8b6642dhttps://github.com/LadyK-21/mypy/commit/8b6642db9791428e158c31b4fd3ed8bc96832ccb
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/21578
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/21578
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
parallel checkinghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22parallel%20checking%22
topic-mypycmypyc bugshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-mypyc%22
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.