René's URL Explorer Experiment


Title: Segfault with recent versions of Node and native VS Code debugging · Issue #58245 · nodejs/node · GitHub

Open Graph Title: Segfault with recent versions of Node and native VS Code debugging · Issue #58245 · nodejs/node

X Title: Segfault with recent versions of Node and native VS Code debugging · Issue #58245 · nodejs/node

Description: Version v23.11.0, v24.0.0, v24.0.1 Platform Linux P3 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Unfortunately ...

Open Graph Description: Version v23.11.0, v24.0.0, v24.0.1 Platform Linux P3 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What step...

X Description: Version v23.11.0, v24.0.0, v24.0.1 Platform Linux P3 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What step...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Segfault with recent versions of Node and native VS Code debugging","articleBody":"### Version\n\nv23.11.0, v24.0.0, v24.0.1\n\n### Platform\n\n```text\nLinux P3 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nUnfortunately I am unable to provide a minimal reproduction repository.\n\nI am running my code via VS-Codium's native debugging (launch.json) and on recent versions I receive `Segmentation fault (core dumped)`. When I execute the same command (the console output of the command VS-Codium runs, but without VS-Codium attaching its native debugger to node) on command line the application executes as expected.\n\nThe command VS-Codium executes is the following;\n```\n/usr/bin/env TS_NODE_PROJECT=/path/to/tsconfig.json 'ENV_ONE=VALUE_ONE' 'ENV_TWO=VALUE_TWO' ENV_THREE=VALUE_THREE ENV_FOUR=VALUE_FOUR 'NODE_OPTIONS= --require /usr/share/codium/resources/app/extensions/ms-vscode.js-debug/src/bootloader.js  --inspect-publish-uid=http' 'VSCODE_INSPECTOR_OPTIONS=:::{\"inspectorIpc\":\"/tmp/node-cdp.83350-f9cd27da-1.sock\",\"deferredMode\":false,\"waitForDebugger\":\"\",\"execPath\":\"/usr/local/bin/node\",\"onlyEntrypoint\":false,\"autoAttachMode\":\"always\",\"fileCallback\":\"/tmp/node-debug-callback-f9d390cd3c6fd40d\"}' /usr/local/bin/node --require ts-node/register ./src/application/main.ts \n```\n\nI am also using the `n` npm package to change node versions, so it is possible this is somehow an issue. That said, when I use `n` to switch to any version prior to `23.11.0`, such as `23.10.0`, everything works as expected.\n\n### How often does it reproduce? Is there a required condition?\n\nHappens every time.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nThe application starts as normal, stopping on breakpoints within the code editor as with previous versions.\n\n### What do you see instead?\n\n```\nPID 83717 received SIGSEGV for address: 0x0\n.../node_modules/segfault-handler/build/Release/segfault-handler.node(+0x33b0)[0x7d1e7607a3b0]\n/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7d1e75a42520]\n/usr/local/bin/node(_ZN2v87Context5EnterEv+0x11)[0x1334fb1]\n/usr/local/bin/node(_ZN12v8_inspector14InjectedScript5Scope10initializeEv+0xf8)[0x1b0c838]\n/usr/local/bin/node(_ZN12v8_inspector18V8RuntimeAgentImpl8evaluateERKNS_8String16ESt8optionalIS1_ES4_IbES6_S4_IiES6_S6_S6_S6_S6_S4_IdES6_S6_S6_S5_St10unique_ptrINS_8protocol7Runtime20SerializationOptionsESt14default_deleteISC_EES9_INSB_7Backend16EvaluateCallbackESD_ISH_EE+0x211)[0x1b84421]\n/usr/local/bin/node(_ZN12v8_inspector8protocol7Runtime20DomainDispatcherImpl8evaluateERKN8v8_crdtp12DispatchableE+0x2a4)[0x1be8ec4]\n/usr/local/bin/node(_ZN8v8_crdtp14UberDispatcher14DispatchResult3RunEv+0x1b)[0x1bab71b]\n/usr/local/bin/node(_ZN12v8_inspector22V8InspectorSessionImpl23dispatchProtocolMessageENS_10StringViewE+0x1b8)[0x1b71318]\n/usr/local/bin/node[0x12542b4]\n/usr/local/bin/node[0x12782b1]\n/usr/local/bin/node[0x1275f3e]\n/usr/local/bin/node[0x12762a3]\n/usr/local/bin/node[0x1276c54]\n/usr/local/bin/node(_ZN4node11Environment21RunAndClearInterruptsEv+0x148)[0xfe1088]\n/usr/local/bin/node[0xfe10f2]\n/usr/local/bin/node(_ZN2v88internal7Isolate27InvokeApiInterruptCallbacksEv+0x6a)[0x14f5bca]\n/usr/local/bin/node(_ZN2v88internal10StackGuard16HandleInterruptsENS1_14InterruptLevelE+0x12f)[0x151507f]\n/usr/local/bin/node(_ZN2v88internal18Runtime_StackGuardEiPmPNS0_7IsolateE+0x8e)[0x1a7a01e]\n[0x7d1e17e76636]\nSegmentation fault (core dumped)\n```\n\n### Additional information\n\nOutput of `find node_modules -iname *.node`\n```\nnode_modules/@napi-rs/canvas-linux-x64-musl/skia.linux-x64-musl.node\nnode_modules/@napi-rs/canvas-linux-x64-gnu/skia.linux-x64-gnu.node\nnode_modules/segfault-handler/build/Release/segfault-handler.node\nnode_modules/segfault-handler/build/Release/obj.target/segfault-handler.node\n```\n\nOutput of `which node`\n```\n/usr/local/bin/node\n```\n\nOutput of `node --version`\n```\nv24.0.1\n```\n\nA possible red-herring, but could be related;\n```\n$ n i 24.0.1\n     copying : node/24.0.1\n   installed : v24.0.1 (with npm 11.3.0)\n\nNote: the node command changed location and the old location may be remembered in your current shell.\n         old : /usr/bin/node\n         new : /usr/local/bin/node\nIf \"node --version\" shows the old version then start a new shell, or reset the location hash with:\nhash -r  (for bash, zsh, ash, dash, and ksh)\nrehash   (for csh and tcsh)\n```","author":{"url":"https://github.com/darcyrush","@type":"Person","name":"darcyrush"},"datePublished":"2025-05-09T06:27:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/58245/node/issues/58245"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3102dfef-50d3-0ef1-6976-42030cc3aed0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA2DA:4908F:96E02:C7C50:6A4D18D9
html-safe-noncef7643f21a705f2f5bcb2e2ddd5400d4bdd543a01fac1c7206ad7fe6cf81ac35b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkRBOjQ5MDhGOjk2RTAyOkM3QzUwOjZBNEQxOEQ5IiwidmlzaXRvcl9pZCI6IjkwNzYyMDEwMDI4MDYwODk5NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac03b871845fd6e40ccb3f145b9ea2fcbbcc7a673d9929b3bb42d2bd1e4a875743
hovercard-subject-tagissue:3051081153
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/58245/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50da04c1591c65fdc7315ae187f107b5026e1f4ac4a2eb39f1d401f994032098/nodejs/node/issues/58245
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50da04c1591c65fdc7315ae187f107b5026e1f4ac4a2eb39f1d401f994032098/nodejs/node/issues/58245
og:image:altVersion v23.11.0, v24.0.0, v24.0.1 Platform Linux P3 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What step...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedarcyrush
hostnamegithub.com
expected-hostnamegithub.com
Nonebcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c
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
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/58245#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F58245
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F58245
Sign up https://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/58245
Reloadhttps://github.com/nodejs/node/issues/58245
Reloadhttps://github.com/nodejs/node/issues/58245
Please reload this pagehttps://github.com/nodejs/node/issues/58245
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/58245
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 958 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Segfault with recent versions of Node and native VS Code debugginghttps://github.com/nodejs/node/issues/58245#top
https://github.com/darcyrush
darcyrushhttps://github.com/darcyrush
on May 9, 2025https://github.com/nodejs/node/issues/58245#issue-3051081153
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.