René's URL Explorer Experiment


Title: Intermittent fatal CHECK in compiler/heap-refs on v24.x — request to backport V8 14.6's JSHeapBroker thread-safety fixes · Issue #66126 · nodejs/node · GitHub

Open Graph Title: Intermittent fatal CHECK in compiler/heap-refs on v24.x — request to backport V8 14.6's JSHeapBroker thread-safety fixes · Issue #66126 · nodejs/node

X Title: Intermittent fatal CHECK in compiler/heap-refs on v24.x — request to backport V8 14.6's JSHeapBroker thread-safety fixes · Issue #66126 · nodejs/node

Description: Version v24.11.1 (V8 13.6.233.10-node.28) Platform Linux x86_64, kernel 6.1.134-152.225.amzn2023.x86_64 libc: musl (Alpine-based container image) cgroup v2, CPU quota = 12 cores, memory limit 24576 MiB, swap off Subsystem deps/v8 (compil...

Open Graph Description: Version v24.11.1 (V8 13.6.233.10-node.28) Platform Linux x86_64, kernel 6.1.134-152.225.amzn2023.x86_64 libc: musl (Alpine-based container image) cgroup v2, CPU quota = 12 cores, memory limit 24576...

X Description: Version v24.11.1 (V8 13.6.233.10-node.28) Platform Linux x86_64, kernel 6.1.134-152.225.amzn2023.x86_64 libc: musl (Alpine-based container image) cgroup v2, CPU quota = 12 cores, memory limit 24576...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intermittent fatal CHECK in compiler/heap-refs on v24.x — request to backport V8 14.6's JSHeapBroker thread-safety fixes","articleBody":"### Version\n\nv24.11.1 (V8 `13.6.233.10-node.28`)\n\n### Platform\n\n```\nLinux x86_64, kernel 6.1.134-152.225.amzn2023.x86_64\nlibc: musl (Alpine-based container image)\ncgroup v2, CPU quota = 12 cores, memory limit 24576 MiB, swap off\n```\n\n### Subsystem\n\ndeps/v8 (compiler)\n\n### What steps will reproduce the bug?\n\nI don't have a minimal reproduction, and I want to be upfront about that.\n\nThe workload is a Vitest 5 run in `forks` pool with `isolate: true`: one short-lived `node` child process per test file, 1579 children per run, 32 concurrent against a 12-core quota, ~740 s wall clock. Each child spends most of its life loading and evaluating modules (transform 61%, import 27%, tests 5%), so it is optimizing-compiler-heavy startup, repeated 1579 times. The children are plain JS workloads — component/unit tests on jsdom. No `node:http2`, no network server, no HTTP/2 client anywhere in them.\n\nOccasionally one child dies on a signal. The rest of the run is green.\n\n### How often does it reproduce? Is there a required condition?\n\n**7 runs with at least one crash out of 87 runs (~8%)**, i.e. roughly 1 in 20000 child processes. One run produced three separate events.\n\nCPU oversubscription appears to be required: I have never reproduced it on an idle machine, and a fork-storm stress test (tens of thousands of bare `node -e ''` spawns) never hit it — the child has to actually be compiling JavaScript. Anyone trying to reproduce should think in terms of *total* contention (host baseline + concurrent children ÷ available cores); the `loadavg` in my logs is sampled at run start and excludes the load the run itself creates.\n\n### What is the expected behavior?\n\nThe child process should not die.\n\n### What do you see instead?\n\nThree signatures so far, all in the same subsystem:\n\n- **A.** `Check failed: (data_) != nullptr.` with SIGTRAP\n- **B.** `Check failed: IsJSFunction().` with SIGTRAP\n- **C.** plain SIGSEGV with no V8 output at all\n\nSignature A verbatim; B is identical in shape:\n\n```\n#\n# Fatal error in , line 0\n# Check failed: (data_) != nullptr.\n#\n#\n#\n#FailureMessage Object: 0x7fa7fa0b27e0\n----- Native stack trace -----\n\n```\n\nThe parent reports `Worker exited unexpectedly with signal \u003cSIG>`. SIGTRAP rather than SIGABRT is consistent with `--hard-abort` (default true).\n\nAt `13.6.233.10` both CHECKs sit in `src/compiler/heap-refs.h`: A is `CHECK_NOT_NULL(data_)`, which appears at [360](https://chromium.googlesource.com/v8/v8/+/refs/tags/13.6.233.10/src/compiler/heap-refs.h#360) and [386](https://chromium.googlesource.com/v8/v8/+/refs/tags/13.6.233.10/src/compiler/heap-refs.h#386) and is reached through the latter in a release build, and B is the `CHECK(Is##Name())` in [`DEFINE_REF_CONSTRUCTOR`](https://chromium.googlesource.com/v8/v8/+/refs/tags/13.6.233.10/src/compiler/heap-refs.h#514). The null check runs first, so **B means a non-null `ObjectData` of the wrong type**.\n\n### Additional information\n\n**What I'm asking for.** Please consider backporting these to `v24.x`:\n\n| CL | title | bug |\n|---|---|---|\n| [`c3553509f`](https://chromium-review.googlesource.com/c/v8/v8/+/7460949) | `[compiler] Thread-safe IsArrayOrObjectPrototype` | [467311868](https://issues.chromium.org/issues/467311868) |\n| [`b1c2cda9b`](https://chromium-review.googlesource.com/c/v8/v8/+/7483030) | `[compiler] Thread-safe MapRef::GetConstructor,GetBackpointer` | [467311868](https://issues.chromium.org/issues/467311868) |\n| [`0bb186fd9`](https://chromium-review.googlesource.com/c/v8/v8/+/8334889) | `[objects][compiler] Release-store the initial map into the prototype tuple` | [542923494](https://issues.chromium.org/issues/542923494) |\n\nAll three are already-accepted upstream fixes for unsynchronized reads in `JSHeapBroker`, which is exactly where we crash; the CLs carry the mechanism. Signature B — non-null, wrong type — matches both shapes they fix: a slot holding either a `JSFunction` or a `Map` read mid-flip (`b1c2cda9b`), and a map observed before `Factory::InitializeMap`'s stores are visible (`0bb186fd9`).\n\nVersion containment, checked with `gh api repos/v8/v8/compare/\u003ctag>...\u003csha>`:\n\n| Node branch | V8 | has `c3553509f` / `b1c2cda9b` | has `0bb186fd9` |\n|---|---|---|---|\n| v24.x | 13.6.233.17 | no | no |\n| v25.x | 14.1.146.11 | no | no |\n| v26.x / main | 14.6.202.34 | **yes** | no |\n\nStaying on 24.x doesn't help: `13.6.233.10 → 13.6.233.17` adds 5 substantive cherry-picks, none touching `heap-refs`, the broker, or handles.\n\nI'm not asking anyone to debug my workload — the report is that a supported LTS line ships a V8 predating this cluster of fixes. Cost disclosed up front: `b1c2cda9b` widens a public return type to `OptionalObjectRef` and updates four caller files that have moved a lot since 13.6, so it isn't a mechanical cherry-pick. \"Too invasive for an LTS V8\" is a legitimate answer; I'd then suggest the class is still worth recording against 24.x, since the failure mode is a hard process death with no diagnosable output.\n\n**What distinguishes this from #64841.** Same shape — intermittent Linux crash, `JSHeapBroker` involved, contention required, `--no-maglev` making it go away — but that one resolved to invalid nghttp2 accesses and is now scoped to HTTP/2, which this workload never touches, so I'm deliberately not commenting there.\n\nThe distinguishing evidence is that for some of our crashes there was no third-party native code in the process at all. I hooked `process.dlopen` from a `--require` shim inherited by the forked children and enumerated a full run: the children load at most `bufferutil` (884 of 1579) and `bigint-buffer` (18), while the bundler's native binding stays in the parent because children receive transformed modules over IPC. Of the six distinct test files that have crashed, **two ran in processes with no addon at all**, and the most recent crash came from a run where `bufferutil` and `utf-8-validate` were blocked at `require()` time. Node's own built-in native code remains in scope — I can't turn that off to test it.\n\n\u003cdetails>\n\u003csummary>Ruled out, two observability notes, and the mitigation in flight\u003c/summary>\n\n**Ruled out.** Container OOM: cgroup `memory.peak` 10844/24576 MiB, `memory.events` `oom_kill=0`, swap off, `pids` 385 of 37827 — and it would be SIGKILL, with a V8 heap OOM being SIGABRT. musl's 128 KiB default thread stack: concurrent compilation runs on Node's platform workers, which `node_platform.cc` creates via `uv_thread_create` → libuv's `uv__thread_stack_size()` (`RLIMIT_STACK`, else 2 MB), so the musl default never applies; verified in `node:24.11.1-alpine`, where V8's own `regress-crbug-388320179.js` passes a 2000-link prototype chain that a 128 KiB stack would have killed at ~340. Stale V8 code cache: the runner deletes `NODE_COMPILE_CACHE` for the children and nothing sets it.\n\n**Observability, independent of the root cause.** The release `V8_Fatal` path passes an empty file and line 0, so the assertion text is the only usable signal — unique for both of my signatures, but it would not be for a commoner `CHECK`. And `----- Native stack trace -----` prints its header and then nothing on musl, because Node's backtrace depends on glibc's `execinfo.h`; a reader cannot distinguish \"no frames available on this libc\" from \"the process died before it could walk the stack\". A one-line explanation instead of an empty section would save people real time, which also bears on the Alpine tier-2 discussion in #62764.\n\n**Mitigation in flight.** `--no-concurrent-recompilation` for the children, both as mitigation and as the only discriminating experiment I have left: a recurrence under that flag would falsify the attribution above in a single run. I'll report back either way, though a clean result is much weaker evidence — at an 8% per-run base rate it takes ~28 consecutive clean runs to reach p≈0.1.\n\n\u003c/details>\n\n\u003csub>Body condensed at maintainer request; the original long-form version remains in this issue's edit history.\u003c/sub>\n","author":{"url":"https://github.com/Feahter","@type":"Person","name":"Feahter"},"datePublished":"2026-09-19T06:02:16Z","url":"https://github.com/nodejs/node/issues/66126"}

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:05b5e6ea-64f1-fc23-9f9a-b814ac4fee79
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC64E:38E6D:73D62A:9756D5:6AED3360
html-safe-nonce6279124cfb68df24c7398d3faa6c8652289f76a821fb2be9ac5b03d506d9ce46
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjRFOjM4RTZEOjczRDYyQTo5NzU2RDU6NkFFRDMzNjAiLCJ2aXNpdG9yX2lkIjoiNDQyNjUyNDg2NDc4NDcwODQ0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9f4096131184950f96cf288e6df360ba33af81a5d2806ddd343577aa215d5018
hovercard-subject-tagissue:5508186954
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/66126/issue_layout
twitter:imagehttps://opengraph.githubassets.com/81de837a01f5a033049f37f56eeac5c2b2f4af702c365243c88023caf5dc5f8d/nodejs/node/issues/66126
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/81de837a01f5a033049f37f56eeac5c2b2f4af702c365243c88023caf5dc5f8d/nodejs/node/issues/66126
og:image:altVersion v24.11.1 (V8 13.6.233.10-node.28) Platform Linux x86_64, kernel 6.1.134-152.225.amzn2023.x86_64 libc: musl (Alpine-based container image) cgroup v2, CPU quota = 12 cores, memory limit 24576...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFeahter
hostnamegithub.com
expected-hostnamegithub.com
Nonee51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a
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
release59ebb7b901cc154ecc179a44f266fcf69f343b30
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/66126#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F66126
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%2F66126
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/66126
Reloadhttps://github.com/nodejs/node/issues/66126
Reloadhttps://github.com/nodejs/node/issues/66126
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)https://github.com/nodejs/node/issues
Pull requests665 (665)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/66126
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66126
Intermittent fatal CHECK in compiler/heap-refs on v24.x — request to backport V8 14.6's JSHeapBroker thread-safety fixeshttps://github.com/nodejs/node/issues/66126#top
https://github.com/Feahter
Feahterhttps://github.com/Feahter
on Sep 19, 2026https://github.com/nodejs/node/issues/66126#issue-5508186954
360https://chromium.googlesource.com/v8/v8/+/refs/tags/13.6.233.10/src/compiler/heap-refs.h#360
386https://chromium.googlesource.com/v8/v8/+/refs/tags/13.6.233.10/src/compiler/heap-refs.h#386
DEFINE_REF_CONSTRUCTORhttps://chromium.googlesource.com/v8/v8/+/refs/tags/13.6.233.10/src/compiler/heap-refs.h#514
c3553509fhttps://chromium-review.googlesource.com/c/v8/v8/+/7460949
467311868https://issues.chromium.org/issues/467311868
b1c2cda9bhttps://chromium-review.googlesource.com/c/v8/v8/+/7483030
467311868https://issues.chromium.org/issues/467311868
0bb186fd9https://chromium-review.googlesource.com/c/v8/v8/+/8334889
542923494https://issues.chromium.org/issues/542923494
#64841https://github.com/nodejs/node/issues/64841
#62764https://github.com/nodejs/node/issues/62764
https://github.com/inoway46
inoway46https://github.com/inoway46
on Sep 20, 2026https://github.com/nodejs/node/issues/66126#issuecomment-5748400608
@Feahterhttps://github.com/Feahter
#64841https://github.com/nodejs/node/issues/64841
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/66126
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66126
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.