Skip to content

abort with ToLocalChecked Empty MaybeLocal #27433

@minad

Description

@minad
  • Version: v11.13.0
  • Platform: linux 4.14 x86_64
// boom.js
let toggle = true;

async function boom() {
    if (toggle) {
        toggle = false;
        await boom();
        console.log("boom");
    } else {
        boom();
    }
}
boom();

node boom.js fails with the following error. what does that mean?

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
 1: 0x95bf28 node::Abort() [node]
 2: 0x95cd73 node::OnFatalError(char const*, char const*) [node]
 3: 0xb179ad v8::Utils::ReportApiFailure(char const*, char const*) [node]
 4: 0xa23ef1 node::TTYWrap::Initialize(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*) [node]
 5: 0x939639 node::binding::GetInternalBinding(v8::FunctionCallbackInfo<v8::Value> const&) [node]
 6: 0xb96447  [node]
 7: 0xb97768 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
 8: 0x3d68dd94fc5d 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions