Uh oh!
There was an error while loading. Please reload this page.
fs: fix not found close creation context - #53910
Conversation
nodejs-github-bot
commented
Jul 17, 2024
avivkeller
commented
Jul 17, 2024
FWIW I couldn't reproduce with that snippet (unless my computer crashing counts 🤣)! |
anonrig
commented
Jul 17, 2024
@redyetidev I added a test which fails on macOS. If you have a hard limit on "number of open files" in environments like windows, it would throw an error, but the goal is to crash, not not to have errors. |
avivkeller
commented
Jul 17, 2024
Thanks for adding the test :-) |
avivkeller
left a comment
There was a problem hiding this comment.
For the rare chance that test-fs-close is moved for some reason.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Jul 17, 2024
nodejs-github-bot
commented
Jul 18, 2024
nodejs-github-bot
commented
Jul 18, 2024
richardlau
commented
Jul 18, 2024
This looks related? https://ci.nodejs.org/job/node-test-commit-arm-debug/13783/nodes=ubuntu2004_debug-arm64/consoleFull 15:42:00 not ok 1374 parallel/test-fs-close-fast-api15:42:00 ---15:42:00 duration_ms: 8968.0910015:42:00 severity: crashed15:42:00 exitcode: -615:42:00 stack: |-15:42:00 undefined15:42:00 FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope15:42:00 ----- Native stack trace -----15:42:00 15:42:00 1: 0xaaaab4399ce4 node::DumpNativeBacktrace(_IO_FILE*) [out/Debug/node]15:42:00 2: 0xaaaab44e5018 node::OnFatalError(char const*, char const*) [out/Debug/node]15:42:00 3: 0xaaaab4950dc0 v8::Utils::ReportApiFailure(char const*, char const*) [out/Debug/node]15:42:00 4: 0xaaaab4cfd02c v8::internal::HandleScope::Extend(v8::internal::Isolate*) [out/Debug/node]15:42:00 5: 0xaaaab49412d0 v8::internal::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned long) [out/Debug/node]15:42:00 6: 0xaaaab4990120 v8::Object::GetCreationContext() [out/Debug/node]15:42:00 7: 0xaaaab49901b0 v8::Object::GetCreationContextChecked() [out/Debug/node]15:42:00 8: 0xaaaab44f3a9c [out/Debug/node]15:42:00 9: 0xffff98069f10 15:42:00 ... |
anonrig
commented
Jul 18, 2024
@santigimeno@joyeecheung can you take a look? |
avivkeller
commented
Jul 18, 2024
For reference, still occurs on this PR (at least from my testing). |
Referencing a similar problem fixed by @santigimeno on #51286 (comment), this PR should fix the
No creation contextbug for close.The easiest way to reproduce this is via:
Fixes#53902