René's URL Explorer Experiment


Title: fix(node): Don't recurse in logAndExitProcess on a broken stdio pipe by logaretm · Pull Request #24351 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(node): Don't recurse in logAndExitProcess on a broken stdio pipe by logaretm · Pull Request #24351 · getsentry/sentry-javascript

X Title: fix(node): Don't recurse in logAndExitProcess on a broken stdio pipe by logaretm · Pull Request #24351 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: A broken stdio pipe crashed Node with an OOM, fixed by making logAndExitProcess now guards against re-entry. I added a broken pipe test that reproduces the issue before the fix. closes #24337

X Description: A broken stdio pipe crashed Node with an OOM, fixed by making logAndExitProcess now guards against re-entry. I added a broken pipe test that reproduces the issue before the fix. closes #24337

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/24351

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:d4c6a952-118f-8382-847b-e39dd6da7137
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9ADA:3B5D6F:6208C5:88B16A:6B04842E
html-safe-nonce0c186870d629de942df3b4a8455ed746891a757627d5ba0467ec4872189f73dd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QURBOjNCNUQ2Rjo2MjA4QzU6ODhCMTZBOjZCMDQ4NDJFIiwidmlzaXRvcl9pZCI6Ijc3OTAwOTU1NjM1MjM2OTcxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacabea27abe43899363ddbf985c56ff7af77c9d86a7ee988a68d6c7b489018de9b
hovercard-subject-tagpull_request:4510559196
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/getsentry/sentry-javascript/24351/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7e4b3d2fa06d61c0f189b277787b9cbf6636f39818bae9c962ba2248965ba2fc/getsentry/sentry-javascript/pull/24351
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e4b3d2fa06d61c0f189b277787b9cbf6636f39818bae9c962ba2248965ba2fc/getsentry/sentry-javascript/pull/24351
og:image:altA broken stdio pipe crashed Node with an OOM, fixed by making logAndExitProcess now guards against re-entry. I added a broken pipe test that reproduces the issue before the fix. closes #24337
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelogaretm
hostnamegithub.com
expected-hostnamegithub.com
None1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
releasef5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/24351#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24351
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%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24351
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=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24351
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24351
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24351
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
logaretmhttps://github.com/logaretm
develophttps://github.com/getsentry/sentry-javascript/tree/develop
awad/uncaught-exception-epipe-recursionhttps://github.com/getsentry/sentry-javascript/tree/awad/uncaught-exception-epipe-recursion
Conversationhttps://github.com/getsentry/sentry-javascript/pull/24351
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/24351/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/24351/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/24351/files
fix(node): Don't recurse in logAndExitProcess on a broken stdio pipehttps://github.com/getsentry/sentry-javascript/pull/24351#top
logaretmhttps://github.com/logaretm
develophttps://github.com/getsentry/sentry-javascript/tree/develop
awad/uncaught-exception-epipe-recursionhttps://github.com/getsentry/sentry-javascript/tree/awad/uncaught-exception-epipe-recursion
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Sep 11, 2026https://github.com/getsentry/sentry-javascript/pull/24351#issue-5429954146
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
#24337https://github.com/getsentry/sentry-javascript/issues/24337
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
logaretmhttps://github.com/logaretm
September 11, 2026 19:57https://github.com/getsentry/sentry-javascript/pull/24351#commits-pushed-e342ec4
https://github.com/logaretm
fix(node): Don't recurse in logAndExitProcess on a broken stdio pipehttps://github.com/getsentry/sentry-javascript/pull/24351/commits/e342ec4af6304c6a3b813b5640e9d8d2fce83409
e342ec4https://github.com/getsentry/sentry-javascript/pull/24351/commits/e342ec4af6304c6a3b813b5640e9d8d2fce83409
https://github.com/logaretm
ref(node): Trim the broken-pipe guard commentshttps://github.com/getsentry/sentry-javascript/pull/24351/commits/58c44fefdbb749f19ce4823a654fc20f47da079c
58c44fehttps://github.com/getsentry/sentry-javascript/pull/24351/commits/58c44fefdbb749f19ce4823a654fc20f47da079c
https://github.com/logaretm
ref(node): Tighten the broken-pipe guard commentshttps://github.com/getsentry/sentry-javascript/pull/24351/commits/63c7a7bd1a173eb0f1769d2e159618a773057248
63c7a7bhttps://github.com/getsentry/sentry-javascript/pull/24351/commits/63c7a7bd1a173eb0f1769d2e159618a773057248
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 12, 2026https://github.com/getsentry/sentry-javascript/pull/24351#issuecomment-5642057940
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/34844820910
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Sep 12, 2026https://github.com/getsentry/sentry-javascript/pull/24351#issuecomment-5642096441
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Sep 12, 2026 https://github.com/getsentry/sentry-javascript/pull/24351#pullrequestreview-5184401859
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/24351/files/63c7a7bd1a173eb0f1769d2e159618a773057248
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/24351#pullrequestreview-5184401859
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
63c7a7bhttps://github.com/getsentry/sentry-javascript/commit/63c7a7bd1a173eb0f1769d2e159618a773057248
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/logaretm
logaretmhttps://github.com/logaretm
September 12, 2026 00:20https://github.com/getsentry/sentry-javascript/pull/24351#event-31005723132
https://github.com/logaretm
logaretmhttps://github.com/logaretm
code ownershttps://github.com/getsentry/sentry-javascript/blob/dca0166eee9be6e9633b92bc2eab88725f78a30a/.github/CODEOWNERS#L24
September 12, 2026 00:20https://github.com/getsentry/sentry-javascript/pull/24351#event-31005723369
https://github.com/logaretm
logaretmhttps://github.com/logaretm
JPeer264https://github.com/JPeer264
isaacshttps://github.com/isaacs
September 12, 2026 00:20https://github.com/getsentry/sentry-javascript/pull/24351#event-31005723538
fix(v10/node-core): Don't recurse in logAndExitProcess on a broken stdio pipe #24353 https://github.com/getsentry/sentry-javascript/pull/24353
OnUncaughtException recurses unbounded on a broken stdio pipe, exhausting the heap #24337 https://github.com/getsentry/sentry-javascript/issues/24337
https://github.com/JPeer264
JPeer264https://github.com/JPeer264
Sep 14, 2026 https://github.com/getsentry/sentry-javascript/pull/24351#pullrequestreview-5196498220
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/24351/files/63c7a7bd1a173eb0f1769d2e159618a773057248
JPeer264https://github.com/JPeer264
https://github.com/getsentry/sentry-javascript/pull/24351#pullrequestreview-5196498220
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/JPeer264
JPeer264https://github.com/JPeer264
Sep 14, 2026 https://github.com/getsentry/sentry-javascript/pull/24351#pullrequestreview-5196513442
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/24351/files/63c7a7bd1a173eb0f1769d2e159618a773057248
...ode-integration-tests/suites/public-api/OnUncaughtException/broken-stdio-pipe-test-script.jshttps://github.com/getsentry/sentry-javascript/pull/24351/files/63c7a7bd1a173eb0f1769d2e159618a773057248#diff-9d0e5f8347d5a73985d01f30140c21f18a623854c13196bd036cc68e1fb842d2
JPeer264https://github.com/JPeer264
Sep 14, 2026https://github.com/getsentry/sentry-javascript/pull/24351#discussion_r4004220184
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
logaretmhttps://github.com/logaretm
Sep 14, 2026https://github.com/getsentry/sentry-javascript/pull/24351#discussion_r4005306835
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/logaretm
test(node): Drop the unused traceLifecycle option from the broken-pip…https://github.com/getsentry/sentry-javascript/pull/24351/commits/42fb4541cd91d0f40abefa8c19aa04dbb822a3d3
42fb454https://github.com/getsentry/sentry-javascript/pull/24351/commits/42fb4541cd91d0f40abefa8c19aa04dbb822a3d3
logaretmhttps://github.com/logaretm
Sep 14, 2026 https://github.com/getsentry/sentry-javascript/pull/24351#ref-commit-f63c56a
https://github.com/logaretm
fix(v10/node-core): Don't recurse in logAndExitProcess on a broken st…https://github.com/getsentry/sentry-javascript/commit/f63c56a4eb88bd16fc3706182186f7d6cb50dac9
f63c56ahttps://github.com/getsentry/sentry-javascript/commit/f63c56a4eb88bd16fc3706182186f7d6cb50dac9
#24353https://github.com/getsentry/sentry-javascript/pull/24353
#24351https://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/logaretm
logaretmhttps://github.com/logaretm
68a3af5https://github.com/getsentry/sentry-javascript/commit/68a3af584627dfb3adaef4872cdef9bed4920c4d
Sep 14, 2026https://github.com/getsentry/sentry-javascript/pull/24351#event-31120167243
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/logaretm
logaretmhttps://github.com/logaretm
September 14, 2026 17:57https://github.com/getsentry/sentry-javascript/pull/24351#event-31120170056
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Sep 14, 2026 https://github.com/getsentry/sentry-javascript/pull/24351#ref-pullrequest-5423873199
fix(node): prevent logAndExitProcess from recursing on a broken pipe #24338 https://github.com/getsentry/sentry-javascript/pull/24338
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/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%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24351
https://github.com/JPeer264
JPeer264 https://github.com/JPeer264
https://github.com/getsentry/sentry-javascript/pull/24351/files/63c7a7bd1a173eb0f1769d2e159618a773057248
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/24351/files/63c7a7bd1a173eb0f1769d2e159618a773057248
https://github.com/isaacs
isaacs https://github.com/isaacs
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
OnUncaughtException recurses unbounded on a broken stdio pipe, exhausting the heap https://github.com/getsentry/sentry-javascript/issues/24337
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24351
https://github.com/logaretm
https://github.com/JPeer264
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.