René's URL Explorer Experiment


Title: gh-142556: fix crash when a task gets re-registered during finalization by kumaraditya303 · Pull Request #142565 · python/cpython · GitHub

Open Graph Title: gh-142556: fix crash when a task gets re-registered during finalization by kumaraditya303 · Pull Request #142565 · python/cpython

X Title: gh-142556: fix crash when a task gets re-registered during finalization by kumaraditya303 · Pull Request #142565 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler #142556

X Description: Issue: Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler #142556

Opengraph URL: https://github.com/python/cpython/pull/142565

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5d7a2a44-5294-d61c-aaca-8c0a62b9d756
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD640:2E9D3B:2757C1:317EA4:6B0205E7
html-safe-nonce570257be008a23dc560ba2b53c60a59f526458dbb648ab9d1b1af932b8ff87e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjQwOjJFOUQzQjoyNzU3QzE6MzE3RUE0OjZCMDIwNUU3IiwidmlzaXRvcl9pZCI6IjYzNjY5NzAwODY3Mjg3OTU2MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac521f878cd5786e934d79f8e78e36559a3d5e912a670076aba7b80e39d680daa1
hovercard-subject-tagpull_request:3092157945
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/142565/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1241a6c3cd2fe45ad580e2ae917e639206a140039c0f44e96182267dbc6ca08d/python/cpython/pull/142565
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1241a6c3cd2fe45ad580e2ae917e639206a140039c0f44e96182267dbc6ca08d/python/cpython/pull/142565
og:image:altIssue: Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler #142556
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekumaraditya303
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/142565#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142565
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%2Fpull%2F142565
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/142565
Reloadhttps://github.com/python/cpython/pull/142565
Reloadhttps://github.com/python/cpython/pull/142565
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
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:asyncio-crashhttps://github.com/kumaraditya303/cpython/tree/asyncio-crash
Conversationhttps://github.com/python/cpython/pull/142565
Commits2 (2)https://github.com/python/cpython/pull/142565/commits
Checkshttps://github.com/python/cpython/pull/142565/checks
Files changedhttps://github.com/python/cpython/pull/142565/files
gh-142556: fix crash when a task gets re-registered during finalizationhttps://github.com/python/cpython/pull/142565#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:asyncio-crashhttps://github.com/kumaraditya303/cpython/tree/asyncio-crash
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Dec 11, 2025https://github.com/python/cpython/pull/142565#issue-3718431278
Please reload this pagehttps://github.com/python/cpython/pull/142565
Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler #142556https://github.com/python/cpython/issues/142556
Please reload this pagehttps://github.com/python/cpython/pull/142565
https://github.com/kumaraditya303
fix crashhttps://github.com/python/cpython/pull/142565/commits/3ed66c2ca0f66c91ebd9ef1cabd6d66b730ee788
3ed66c2https://github.com/python/cpython/pull/142565/commits/3ed66c2ca0f66c91ebd9ef1cabd6d66b730ee788
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/da8199f8842c2830fa4015138725849863523de4/.github/CODEOWNERS#L367
December 11, 2025 08:57https://github.com/python/cpython/pull/142565#event-21498717439
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
topic-asyncio https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-asyncio
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21498717631
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 11, 2025 https://github.com/python/cpython/pull/142565#ref-issue-3717628623
Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler #142556 https://github.com/python/cpython/issues/142556
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21498719889
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/142565/commits/af73a7f5726fe8234bd376ccc64168c59327a22f
af73a7fhttps://github.com/python/cpython/pull/142565/commits/af73a7f5726fe8234bd376ccc64168c59327a22f
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21499003815
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21499539354
Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler #142556 https://github.com/python/cpython/issues/142556
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
42d2bedhttps://github.com/python/cpython/commit/42d2bedb875f42f0580ee2cfb4bd80a5a229bbd4
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21499546195
Please reload this pagehttps://github.com/python/cpython/pull/142565
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Dec 11, 2025https://github.com/python/cpython/pull/142565#issuecomment-3641060689
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/142565
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21499547207
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
December 11, 2025 09:34https://github.com/python/cpython/pull/142565#event-21499548252
miss-islingtonhttps://github.com/miss-islington
Dec 11, 2025 https://github.com/python/cpython/pull/142565#ref-commit-a2f5929
https://github.com/kumaraditya303
https://github.com/miss-islington
pythongh-142556https://github.com/python/cpython/issues/142556
: fix crash when a task gets re-registered during fina…https://github.com/miss-islington/cpython/commit/a2f592993c18270a77617f572727a825ab326d21
a2f5929https://github.com/miss-islington/cpython/commit/a2f592993c18270a77617f572727a825ab326d21
pythonGH-142565https://github.com/python/cpython/pull/142565
42d2bedhttps://github.com/miss-islington/cpython/commit/42d2bedb875f42f0580ee2cfb4bd80a5a229bbd4
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 11, 2025https://github.com/python/cpython/pull/142565#issuecomment-3641061431
GH-142566https://github.com/python/cpython/pull/142566
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/142565
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Dec 11, 2025https://github.com/python/cpython/pull/142565#event-21499551214
kumaraditya303https://github.com/kumaraditya303
Dec 11, 2025 https://github.com/python/cpython/pull/142565#ref-commit-7218be0
https://github.com/miss-islington
https://github.com/kumaraditya303
[3.14]https://github.com/python/cpython/commit/7218be0199932413c05e39f68cdc4ad27a282867
gh-142556https://github.com/python/cpython/issues/142556
: fix crash when a task gets re-registered during fin…https://github.com/python/cpython/commit/7218be0199932413c05e39f68cdc4ad27a282867
7218be0https://github.com/python/cpython/commit/7218be0199932413c05e39f68cdc4ad27a282867
GH-142565https://github.com/python/cpython/pull/142565
#142566https://github.com/python/cpython/pull/142566
gh-142556https://github.com/python/cpython/issues/142556
GH-142565https://github.com/python/cpython/pull/142565
42d2bedhttps://github.com/python/cpython/commit/42d2bedb875f42f0580ee2cfb4bd80a5a229bbd4
fateleihttps://github.com/fatelei
Dec 12, 2025 https://github.com/python/cpython/pull/142565#ref-commit-4a412fc
https://github.com/kumaraditya303
https://github.com/fatelei
pythongh-142556https://github.com/python/cpython/issues/142556
: fix crash when a task gets re-registered during fina…https://github.com/fatelei/cpython/commit/4a412fc9d5a8e9ea903e93ff9621d294e6b1ba93
4a412fchttps://github.com/fatelei/cpython/commit/4a412fc9d5a8e9ea903e93ff9621d294e6b1ba93
python#142565https://github.com/python/cpython/pull/142565
https://github.com/devdanzin
devdanzinhttps://github.com/devdanzin
Jul 16, 2026 https://github.com/python/cpython/pull/142565#ref-issue-4901067121
asyncio: TaskObj_dealloc leaves a refcount-0 Task GC-tracked, hanging or crashing the free-threaded build #153809 https://github.com/python/cpython/issues/153809
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142565
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/willingc
willingc https://github.com/willingc
Please reload this pagehttps://github.com/python/cpython/pull/142565
topic-asyncio https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-asyncio
Use-after-free in asyncio Task deallocation via re-registering task in call_exception_handler https://github.com/python/cpython/issues/142556
Please reload this pagehttps://github.com/python/cpython/pull/142565
https://github.com/kumaraditya303
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.