René's URL Explorer Experiment


Title: `pipeline` leaves a hanging error handler · Issue #35452 · nodejs/node · GitHub

Open Graph Title: `pipeline` leaves a hanging error handler · Issue #35452 · nodejs/node

X Title: `pipeline` leaves a hanging error handler · Issue #35452 · nodejs/node

Description: Version: 14.12.0 Platform: Linux SZM-DESKTOP 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? const {pipeline, Duplex, PassThrough} = requ...

Open Graph Description: Version: 14.12.0 Platform: Linux SZM-DESKTOP 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? cons...

X Description: Version: 14.12.0 Platform: Linux SZM-DESKTOP 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? cons...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`pipeline` leaves a hanging error handler","articleBody":"* **Version**: 14.12.0\r\n* **Platform**: `Linux SZM-DESKTOP 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`\r\n* **Subsystem**: stream\r\n\r\n### What steps will reproduce the bug?\r\n\r\n```js\r\nconst {pipeline, Duplex, PassThrough} = require('stream');\r\n\r\nconst a = new PassThrough();\r\na.end('foobar');\r\n\r\nconst b = new Duplex({\r\n    write(chunk, encoding, callback) {\r\n        callback();\r\n    }\r\n});\r\n\r\npipeline(a, b, error => {\r\n    if (error) {\r\n        throw error;\r\n    }\r\n    \r\n    console.log(b.listenerCount('error'));\r\n    setTimeout(() => {\r\n        console.log(b.listenerCount('error'));\r\n        b.destroy(new Error('no way'));\r\n    }, 100);\r\n});\r\n```\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nAlways.\r\n\r\n### What is the expected behavior?\r\n\r\n```\r\n0\r\n0\r\n[Uncaught] Error: no way\r\n```\r\n\r\n### What do you see instead?\r\n\r\n```\r\n2\r\n1\r\n```\r\n\r\n/cc @ronag","author":{"url":"https://github.com/szmarczak","@type":"Person","name":"szmarczak"},"datePublished":"2020-10-01T20:33:29Z","url":"https://github.com/nodejs/node/issues/35452"}

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:f2a76dc0-2cad-bb42-fa11-ec55484fd4a6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id81AE:1D2BD1:5D036A:7E947D:6AED2113
html-safe-nonce28a8f2e0a6aee98c72b8aa48e65b8ccc84f0f2b7080506e31263ff712107ffe0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUFFOjFEMkJEMTo1RDAzNkE6N0U5NDdEOjZBRUQyMTEzIiwidmlzaXRvcl9pZCI6IjU1NDAwNDEwNzk1Mzc4NjkwNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9dda905e3abb7a3244262afaea448020235c488737b3126ac6b635d215b132fc
hovercard-subject-tagissue:713164678
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/35452/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0ae40a9ed957da44de90819127c272387ff82d058f300e7e42e6d93f814a65f2/nodejs/node/issues/35452
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ae40a9ed957da44de90819127c272387ff82d058f300e7e42e6d93f814a65f2/nodejs/node/issues/35452
og:image:altVersion: 14.12.0 Platform: Linux SZM-DESKTOP 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? cons...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameszmarczak
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/35452#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F35452
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%2F35452
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/35452
Reloadhttps://github.com/nodejs/node/issues/35452
Reloadhttps://github.com/nodejs/node/issues/35452
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)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/35452
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/35452
#41954https://github.com/nodejs/node/pull/41954
pipeline leaves a hanging error handlerhttps://github.com/nodejs/node/issues/35452#top
#41954https://github.com/nodejs/node/pull/41954
good first issueIssues that are suitable for first-time contributors.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
streamIssues and PRs related to Node.js streams.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stream%22
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Oct 1, 2020https://github.com/nodejs/node/issues/35452#issue-713164678
@ronaghttps://github.com/ronag
Nexthttps://github.com/nodejs/node/issues/35452?timeline_page=1
https://github.com/ronag
ronaghttps://github.com/ronag
on Oct 1, 2020https://github.com/nodejs/node/issues/35452#issuecomment-702390581
https://github.com/ronag
ronaghttps://github.com/ronag
on Oct 1, 2020https://github.com/nodejs/node/issues/35452#issuecomment-702390906
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Oct 1, 2020https://github.com/nodejs/node/issues/35452#issuecomment-702404199
https://github.com/possum1102
possum1102https://github.com/possum1102
on Oct 3, 2020https://github.com/nodejs/node/issues/35452#issuecomment-703126615
nodejshttps://github.com/nodejs
https://github.com/undefined
on Oct 3, 2020https://github.com/nodejs/node/issues/35452#event-3836916842
nodejshttps://github.com/nodejs
https://github.com/undefined
on Oct 3, 2020https://github.com/nodejs/node/issues/35452#event-3836916925
lpincahttps://github.com/lpinca
streamIssues and PRs related to Node.js streams.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stream%22
on Oct 6, 2020https://github.com/nodejs/node/issues/35452#event-3843459776
https://github.com/targos
targoshttps://github.com/targos
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744004002
https://github.com/ronag
ronaghttps://github.com/ronag
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744004875
https://github.com/vweevers
vweevershttps://github.com/vweevers
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744006615
@ronaghttps://github.com/ronag
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744015746
https://github.com/vweevers
vweevershttps://github.com/vweevers
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744017045
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744077376
https://github.com/vweevers
vweevershttps://github.com/vweevers
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744082087
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Dec 13, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744091233
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Dec 14, 2020https://github.com/nodejs/node/issues/35452#issuecomment-744666493
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on Apr 22, 2021https://github.com/nodejs/node/issues/35452#issuecomment-824604558
@szmarczakhttps://github.com/szmarczak
mcollinahttps://github.com/mcollina
good first issueIssues that are suitable for first-time contributors.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
on Apr 22, 2021https://github.com/nodejs/node/issues/35452#event-4628938121
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Apr 22, 2021https://github.com/nodejs/node/issues/35452#issuecomment-824646455
https://github.com/joaoofreitas
joaoofreitashttps://github.com/joaoofreitas
on Apr 22, 2021https://github.com/nodejs/node/issues/35452#issuecomment-824979630
@szmarczakhttps://github.com/szmarczak
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Apr 22, 2021https://github.com/nodejs/node/issues/35452#issuecomment-824985183
@joaoofreitashttps://github.com/joaoofreitas
https://github.com/lvndry
lvndryhttps://github.com/lvndry
on Jul 8, 2021https://github.com/nodejs/node/issues/35452#issuecomment-876375420
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on Jul 8, 2021https://github.com/nodejs/node/issues/35452#issuecomment-876447237
https://github.com/Heikrana
Heikranahttps://github.com/Heikrana
on Feb 1, 2022https://github.com/nodejs/node/issues/35452#issuecomment-1026955804
@mcollinahttps://github.com/mcollina
@lvndryhttps://github.com/lvndry
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on Feb 2, 2022https://github.com/nodejs/node/issues/35452#issuecomment-1028283294
@Heikranahttps://github.com/Heikrana
https://github.com/Heikrana
Heikranahttps://github.com/Heikrana
on Feb 2, 2022https://github.com/nodejs/node/issues/35452#issuecomment-1028357198
@Heikranahttps://github.com/Heikrana
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#41954https://github.com/nodejs/node/pull/41954
on Feb 15, 2022https://github.com/nodejs/node/issues/35452#event-6073678919
nodejs-github-bothttps://github.com/nodejs-github-bot
on Feb 15, 2022https://github.com/nodejs/node/issues/35452#event-6073683158
stream: need to cleanup event listeners if last stream is readablehttps://github.com/nodejs/node/commit/9fb7ac3bbd6f02257be6f59298f31eaf84c971a4
9fb7ac3https://github.com/nodejs/node/commit/9fb7ac3bbd6f02257be6f59298f31eaf84c971a4
Sunrisepeakhttps://github.com/Sunrisepeak
on Jul 29, 2026https://github.com/nodejs/node/issues/35452#event-28688773056
fix(stream): keep composed tail errors after pipeline completeshttps://github.com/Sunrisepeak/mbun/commit/27b83c6aa6815bcb18b64f17825a3b3ce03a83a5
27b83c6https://github.com/Sunrisepeak/mbun/commit/27b83c6aa6815bcb18b64f17825a3b3ce03a83a5
compat: corpus coverage waves 40-70 — Node 3,134/4,433 (70.7%), Bun 1…https://github.com/Sunrisepeak/mbun/commit/b133f71e8d859e3ca2e30fdbb782a4cc024bd601
b133f71https://github.com/Sunrisepeak/mbun/commit/b133f71e8d859e3ca2e30fdbb782a4cc024bd601
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/35452
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/35452
good first issueIssues that are suitable for first-time contributors.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
streamIssues and PRs related to Node.js streams.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stream%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.