Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abort with ToLocalChecked Empty MaybeLocal #27433

Closed
minad opened this issue Apr 26, 2019 · 3 comments
Closed

abort with ToLocalChecked Empty MaybeLocal #27433

minad opened this issue Apr 26, 2019 · 3 comments

Comments

@minad
Copy link

minad commented Apr 26, 2019

  • 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 
@Hakerh400
Copy link
Contributor

Already fixed in #26832

@devsnek
Copy link
Member

devsnek commented Apr 26, 2019

that's 11.14.0 btw

@minad
Copy link
Author

minad commented Apr 26, 2019

thanks 👍

@minad minad closed this as completed Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants