DCHECK prevents debug build from starting
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cpp, node.js
- Domain
- backend, build-system
Research direction
Start by running the reported out/Debug/node reproduction and inspect the stack path through node::fs::CreatePerIsolateProperties, CreateInternalBindingTemplates, and IsolateData::CreateProperties. Trace the DCHECK comparing the embedder field count with JSObject::kMaxEmbedderFields and confirm the debug build starts without the fatal check.
Written by the indexing model from the issue text.
Description
Can be reproduced with https://github.com/nodejs/node/tree/canary-base in its current state.
➤ out/Debug/node
#
# Fatal error
# Debug check failed: count <= JSObject::kMaxEmbedderFields (7 vs. 6).
#
#
#
#FailureMessage Object: 0x16b32dbf8
----- Native stack trace -----
1: 0x104bef964 node::DumpNativeBacktrace(__sFILE*) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
2: 0x104eab458 node::NodePlatform::GetStackTracePrinter()::$_0::operator()() const [/Users/mzasso/git/nodejs/canary/out/Debug/node]
3: 0x104eab414 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Users/mzasso/git/nodejs/canary/out/Debug/node]
4: 0x107fb7618 V8_Fatal(char const*, ...) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
5: 0x107fb6edc v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
6: 0x1099a913c v8::ObjectTemplate::SetInternalFieldCount(int) (.cold.1) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
7: 0x1051e1cf4 v8::ObjectTemplate::SetInternalFieldCount(int) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
8: 0x104d9b100 node::fs::CreatePerIsolateProperties(node::IsolateData*, v8::Local<v8::ObjectTemplate>) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
9: 0x104d99fd4 _register_isolate_fs(node::IsolateData*, v8::Local<v8::ObjectTemplate>) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
10: 0x104ce43a4 node::binding::CreateInternalBindingTemplates(node::IsolateData*) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
11: 0x104c319c0 node::IsolateData::CreateProperties() [/Users/mzasso/git/nodejs/canary/out/Debug/node]
12: 0x104c339a8 node::IsolateData::IsolateData(v8::Isolate*, uv_loop_s*, node::MultiIsolatePlatform*, node::ArrayBufferAllocator*, node::SnapshotData const*, std::__1::shared_ptr<node::PerIsolateOptions>) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
13: 0x104c31d08 node::IsolateData::IsolateData(v8::Isolate*, uv_loop_s*, node::MultiIsolatePlatform*, node::ArrayBufferAllocator*, node::SnapshotData const*, std::__1::shared_ptr<node::PerIsolateOptions>) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
14: 0x104c31b34 node::IsolateData::CreateIsolateData(v8::Isolate*, uv_loop_s*, node::MultiIsolatePlatform*, node::ArrayBufferAllocator*, node::EmbedderSnapshotData const*, std::__1::shared_ptr<node::PerIsolateOptions>) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
15: 0x104b44db4 node::CreateIsolateData(v8::Isolate*, uv_loop_s*, node::MultiIsolatePlatform*, node::ArrayBufferAllocator*, node::EmbedderSnapshotData const*) [/Users/mzasso/git/nodejs/canary/out/Debug/node]
- Dominant language
- Shell
- Stars
- 466
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodejs/node-v8
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·