Fatal error: Check failed: jit_page.has_value() with WebAssembly (PGlite) on v24.22.2 linux-x64
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 32/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript, linux, wasm
研究方向
Start by reading the V8 fatal check for jit_page.has_value() and the native stack trace from this Node.js v24.22.2 Linux x64 release build. The issue provides no source file or reliable reproducer; first investigate how WebAssembly JIT pages are allocated and protected, then seek a way to reproduce the rare crash. Done means identifying and fixing the cause so the process no longer aborts.
由索引模型根據 Issue 內容生成。
描述
Version
v24.22.2 (actions/setup-node, linux-x64)
Platform
GitHub-hosted runner ubuntu-latest (Ubuntu 26.04 image 20261103.629), 2 vCPU, x64.
Subsystem
v8 / wasm
What steps will reproduce the bug?
Not reproducible on demand. A node --test run (process isolation, --test-concurrency=2, --test-randomize) aborted in one child process. That test file runs many in-process Postgres instances through @electric-sql/pglite 0.5.16 (Emscripten WebAssembly). A targeted rerun of 224 runs on the same runner image did not crash again (about 1 crash in 300 runs of that file).
How often does it reproduce? Is there a required condition?
Rarely: once in about 300 runs. No known required condition.
What is the expected behavior? Why is that the expected behavior?
The process should not abort.
What do you see instead?
# Fatal error in , line 0
# Check failed: jit_page.has_value().
#
#
#
#FailureMessage Object: 0x7ffccd5ab2e0
----- Native stack trace -----
1: 0x9f06c1 [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
2: 0x27e6c43 V8_Fatal(char const*, ...) [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
3: 0xd95c19 [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
4: 0x1904ab3 [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
5: 0x193f50f [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
6: 0x19243ee [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
7: 0x19245a1 [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
8: 0x18fc3ff [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
9: 0x18ff1fc [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
10: 0x179432f [/opt/hostedtoolcache/node/24.22.2/x64/bin/node]
11: 0x7b79a6e36d09
✖ agent/lib/personal/isolation.test.ts (13641.072102ms)
✔ RED-1376: the people limit counts only new people, and the most senior are added first (5.542386ms)
Additional information
The process was a release build with no flags beyond --import tsx --test. Any guidance on V8 flags that would help narrow this down (for example, disabling memory protection keys for wasm code) is welcome.
- 主要語言
- JavaScript
- 星號
- 124k
- 分支
- 38k
- 平均合併
- 4 天 2 小時
- 30 天內合併 PR
- 266
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
nodejs/node 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 69/100
維護者通常 1 天內回覆
-
fs: document readStream.start and readStream.end可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉doc
難度 1/5 1 小時以內 新手友好度 90/100
維護者通常 1 天內回覆
-
doc: document the Buffer.prototype.*Slice() methods可能已有人在做 @AyushCipher 今天認領。 未關閉doc
難度 2/5 1-3 小時 新手友好度 86/100
維護者通常 1 天內回覆
-
`styleText` fast path bypasses `options` and `options.validateStream` validation可能已有人在做 @GBra-4-669 於 8 天前認領。 未關閉util
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
riscv64
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
相似的 Issue
-
bug triage needed
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
resource-submission validation-passed
難度 1/5 1 小時以內 新手友好度 82/100
hesreallyhim/awesome-claude-code#3773 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 73/100
tabatkins/railroad-diagrams#129 ·
-
web: api() turns a null or object-valued error body into a TypeError or "[object Object]" and loses the status可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆