René's URL Explorer Experiment


Title: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76 · Issue #64322 · nodejs/node · GitHub

Open Graph Title: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76 · Issue #64322 · nodejs/node

X Title: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76 · Issue #64322 · nodejs/node

Description: Version v24 LTS/default Platform Subsystem No response What steps will reproduce the bug? Node.js process crash on build exit: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING) on Windows Environment Info OS: Windows 11 (build local...

Open Graph Description: Version v24 LTS/default Platform Subsystem No response What steps will reproduce the bug? Node.js process crash on build exit: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING) on Windows Envi...

X Description: Version v24 LTS/default Platform Subsystem No response What steps will reproduce the bug? Node.js process crash on build exit: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING) on Windo...

Opengraph URL: https://github.com/nodejs/node/issues/64322

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\\win\\async.c, line 76","articleBody":"### Version\n\nv24 LTS/default\n\n### Platform\n\n```text\n\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\n# Node.js process crash on build exit: `Assertion failed: !(handle->flags & UV_HANDLE_CLOSING)` on Windows\n\n## Environment Info\n\n- **OS**: Windows 11 (build local time check: 2026-07-06)\n- **Node.js Version**: v24.13.0\n- **npm Version**: 11.x (or matching Node v24 default)\n- **Framework/Tooling**: Astro `^7.0.6` with Svelte `^5.56.4` integration\n- **Libraries in play**: curtainsjs `^8.1.6`, gsap `^3.15.0`, lenis `^1.3.25`\n\n---\n\n## Description\n\nWhen running `npm run build` (which runs `astro check && astro build`), the static assets compile successfully with **0 errors and 0 warnings**. However, immediately after the compilation output shows `[build] Complete!`, the process crashes during termination with a low-level libuv assertion error.\n\n### Error Console Output\n\n```bash\ngenerating static routes \n14:11:19   ├─ /index.html (+38ms) \n14:11:19 ✓ Completed in 131ms.\n\n14:11:19 [build] ✓ Completed in 452ms.\n14:11:19 [build] 1 page(s) built in 531ms\n14:11:19 [build] Complete!\nAssertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\\win\\async.c, line 76\n```\n\n---\n\n## How to Recreate This Issue\n\nThis issue can be reproduced on any Windows system with Node.js `v24.x` using a fresh Astro template:\n\n1. **Initialize a fresh Astro project:**\n   ```bash\n   npm create astro@latest test-crash -- --template basics\n   cd test-crash\n   npm install\n   ```\n\n2. **Run the build script:**\n   ```bash\n   npm run build\n   ```\n\n3. **Verify the crash:**\n   Once the build completes and attempts to exit the process, the console will print:\n   `Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\\win\\async.c, line 76` and exit with code `1`.\n\n---\n\n## Additional Context\n\n- The issue appears to be a **use-after-close** race condition when Node.js tear-down steps close file-watchers or active handles created by Vite/Astro.\n- Since the build completes successfully, all output artifacts are generated correctly. The crash only occurs on process exit.\n- This is a known OS-specific issue for Windows runtimes inside libuv.\n\n\n### How often does it reproduce? Is there a required condition?\n\nEvery build\n\n### What is the expected behavior? Why is that the expected behavior?\n\nNo errors.\n\n### What do you see instead?\n\n`Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\\win\\async.c, line 76` and exit with code `1`.\n\n### Additional information\n\n**What steps will reproduce the bug?** section include the output of an agent, every reference/explanation is there.\n\n\u003cimg width=\"628\" height=\"140\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6d705461-bcf1-4b82-97e8-dcbabf567898\" />\n","author":{"url":"https://github.com/ostarev","@type":"Person","name":"ostarev"},"datePublished":"2026-07-06T12:38:07Z","url":"https://github.com/nodejs/node/issues/64322"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b8b54f26-e8c3-ba6f-edf2-cef92adc601f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9AFE:3EED53:64B703:86590B:6AED1F69
html-safe-nonce4c043d225c2a15bda1fdb222b84c16634e56a96eaebce8b577427ab80e574166
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUZFOjNFRUQ1Mzo2NEI3MDM6ODY1OTBCOjZBRUQxRjY5IiwidmlzaXRvcl9pZCI6Ijk5NDgzNTkwNTM2Nzk4MDU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac10946a46d6c1f26a380118d1a4f1e2524f0a9edf0a002b90c6bc66c5582537e9
hovercard-subject-tagissue:4819195619
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/nodejs/node/64322/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e753bae66231dd314f41857295c99f78aee0da5b849dcff8a3afca05c489512f/nodejs/node/issues/64322
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e753bae66231dd314f41857295c99f78aee0da5b849dcff8a3afca05c489512f/nodejs/node/issues/64322
og:image:altVersion v24 LTS/default Platform Subsystem No response What steps will reproduce the bug? Node.js process crash on build exit: Assertion failed: !(handle->flags & UV_HANDLE_CLOSING) on Windows Envi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameostarev
hostnamegithub.com
expected-hostnamegithub.com
Nonee3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release707a24b346ac8a82878b9c084efaa38a997660cb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/64322#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F64322
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%2Fnodejs%2Fnode%2Fissues%2F64322
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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/64322
Reloadhttps://github.com/nodejs/node/issues/64322
Reloadhttps://github.com/nodejs/node/issues/64322
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues655 (655)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/64322
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/64322
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76https://github.com/nodejs/node/issues/64322#top
https://github.com/ostarev
ostarevhttps://github.com/ostarev
on Jul 6, 2026https://github.com/nodejs/node/issues/64322#issue-4819195619
https://private-user-images.githubusercontent.com/192971981/617567557-6d705461-bcf1-4b82-97e8-dcbabf567898.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM5MjUyNzAsIm5iZiI6MTc5MzkyNDk3MCwicGF0aCI6Ii8xOTI5NzE5ODEvNjE3NTY3NTU3LTZkNzA1NDYxLWJjZjEtNGI4Mi05N2U4LWRjYmFiZjU2Nzg5OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEwNlQwMDI5MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMTMwNTIwNzVmYTNlZWY1ODA1YjFlYTI4ZjdmYjE3ZjQxMzZmMjI5MjBjYjIwMmEyMjliNDkyYjhmNmY1MDA3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.7q9Zb1B46OgdsZ5iIyY6JTD2jgxb-R5MAMs0ulhZN5w
https://github.com/terranw-ka
terranw-kahttps://github.com/terranw-ka
on Jul 9, 2026https://github.com/nodejs/node/issues/64322#issuecomment-4921531912
https://private-user-images.githubusercontent.com/259753858/619200322-eb0314ea-a1c2-4bb0-b3b1-2df9f10b4d3d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM5MjUyNzAsIm5iZiI6MTc5MzkyNDk3MCwicGF0aCI6Ii8yNTk3NTM4NTgvNjE5MjAwMzIyLWViMDMxNGVhLWExYzItNGJiMC1iM2IxLTJkZjlmMTBiNGQzZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEwNlQwMDI5MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wODRkMTFkMGU5YjE0YjhkOTM3ZGE4ODY5OGNlMWUzOTZkOWI4YmNkN2Q3OTAwYmE1ODhlNmJmOThlMzNmMjBjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.X0qjYGS6F0Axei4mXs9oajvknv6G9yi9jKtjHytCmsM
https://private-user-images.githubusercontent.com/259753858/619200459-a8f502e9-d61d-4cd4-9f03-1c69a31427f6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM5MjUyNz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WC1BbXotRGF0ZT0yMDI2MTEwNlQwMDI5MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NmQ2MDVmNDFlZmY2MGE4ZjIyNDZlZTQ3ZDNlYzYxNDBkMDNkODdjYmM4NzYzYWYzYTQ2NTE5MmEzMTkwYWQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.sOOmnj7olDBkpMc-wHtmsxfbaNz_ZaOxfaKKooCqnag
https://github.com/Archkon
Archkonhttps://github.com/Archkon
on Jul 13, 2026https://github.com/nodejs/node/issues/64322#issuecomment-4958893576
PickBashttps://github.com/PickBas
on Jul 14, 2026https://github.com/nodejs/node/issues/64322#event-27948524081
src: avoid use-after-close of delayed task scheduler async handlehttps://github.com/JaneaSystems/node/commit/80d2173ee8fff842ccaaba58f1a7e7e34982da42
80d2173https://github.com/JaneaSystems/node/commit/80d2173ee8fff842ccaaba58f1a7e7e34982da42
https://github.com/StefanStojanovic
StefanStojanovichttps://github.com/StefanStojanovic
on Jul 24, 2026https://github.com/nodejs/node/issues/64322#issuecomment-5069005683
StefanStojanovichttps://github.com/StefanStojanovic
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 24, 2026https://github.com/nodejs/node/issues/64322#event-28431792229
kmhigashiokahttps://github.com/kmhigashioka
on Aug 15, 2026https://github.com/nodejs/node/issues/64322#event-29502530254
fix: make fetch timeout explicitly cancellable in fetchPostshttps://github.com/kmhigashioka/kazuhito.dev/commit/c8e885658bef89f52d3f5a2bbe8dd7030d51a689
c8e8856https://github.com/kmhigashioka/kazuhito.dev/commit/c8e885658bef89f52d3f5a2bbe8dd7030d51a689
fix: make fetch timeout explicitly cancellable in fetchPostshttps://github.com/kmhigashioka/kazuhito.dev/commit/a896cf5ab58a4fb6fe164a7543a62a5398a25ed3
a896cf5https://github.com/kmhigashioka/kazuhito.dev/commit/a896cf5ab58a4fb6fe164a7543a62a5398a25ed3
fix: make fetch timeout explicitly cancellable in fetchPostshttps://github.com/kmhigashioka/kazuhito.dev/commit/5eba8dd2b281dd0767af4334b62e3a4b14bd625b
5eba8ddhttps://github.com/kmhigashioka/kazuhito.dev/commit/5eba8dd2b281dd0767af4334b62e3a4b14bd625b
Rebuild kazuhito.dev as a static Astro site (#11)https://github.com/kmhigashioka/kazuhito.dev/commit/140bae3929dfc0fca97b2d2bfc51f2a1084038cf
#11https://github.com/kmhigashioka/kazuhito.dev/pull/11
140bae3https://github.com/kmhigashioka/kazuhito.dev/commit/140bae3929dfc0fca97b2d2bfc51f2a1084038cf
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/64322
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/64322
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.