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

Fatal Crash #29

Open
ahmedHusseinF opened this issue Jul 12, 2020 · 2 comments
Open

Fatal Crash #29

ahmedHusseinF opened this issue Jul 12, 2020 · 2 comments

Comments

@ahmedHusseinF
Copy link

Sudden crashes happen to node with this ambiguous error

FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
 1: 00007FF6503A470F napi_wrap+113583
 2: 00007FF65034F7D6 v8::base::CPU::has_sse+66646
 3: 00007FF6503505D6 v8::base::CPU::has_sse+70230
 4: 00007FF650B6425C v8::FunctionTemplate::RemovePrototype+284
 5: 00007FF650A49315 v8::internal::HandleScope::Extend+53
 6: 00007FF650B49115 v8::HandleScope::CreateHandle+37
 7: 00007FF650385D0A napi_get_reference_value+106
 8: 00007FFF67238690 
 9: 00007FFF6723A578
10: 00007FF650380D38 node::Stop+29480
11: 00007FF650372D7C node_module_register+572
12: 00007FF650373084 node_module_register+1348
13: 00007FF6503A311D napi_wrap+107965
14: 00007FF650293701 v8::internal::interpreter::BytecodeLabel::bind+5009
15: 00007FF650297778 v8::internal::interpreter::BytecodeLabel::bind+21512
16: 00007FF650293F32 v8::internal::interpreter::BytecodeLabel::bind+7106
17: 00007FF6503E51BD uv_poll_stop+765
18: 00007FF6510A8430 v8::internal::SetupIsolateDelegate::SetupHeap+1532832
19: 00007FFF8D147BD4 BaseThreadInitThunk+20
20: 00007FFF8E44CE51 RtlUserThreadStart+33
@addaleax
Copy link
Contributor

Any chance you can share more information, e.g. a reproduction?

@ahmedHusseinF
Copy link
Author

I myself looking for a cause right now.
this is how i am using the library at the moment

class Module {
  constructor() {
    this.socket = //...socket from somewhere...;
    weak(this, function () {
      this.socket.close();
    });
  }
}

and after a while of making many instances of this class this error is thrown

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

2 participants