boa: async test failed on Node.js v12.16.3
yorkie opened this issue · comments
The tests/base/async.js
failed on Linux with Node.js v12.16.3:
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
1: 0xa09830 node::Abort() [node]
2: 0xa09c55 node::OnFatalError(char const*, char const*) [node]
3: 0xb7d4ea v8::Utils::ReportApiFailure(char const*, char const*) [node]
4: 0xcf26ea v8::internal::HandleScope::Extend(v8::internal::Isolate*) [node]
5: 0xb7ec21 v8::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned long) [node]
6: 0x9c36b5 napi_get_reference_value [node]
7: 0x7f901429e953 Napi::Reference<Napi::Object>::Value() const [/home/codespace/workspace/pipcook/packages/boa/build/Release/boa.node]
8: 0x7f90142b570b boa::PythonObject::~PythonObject() [/home/codespace/workspace/pipcook/packages/boa/build/Release/boa.node]
9: 0x9bc91a [node]
10: 0x9e00ef node_napi_env__::~node_napi_env__() [node]
11: 0x9b2caa node::Environment::RunCleanup() [node]
12: 0xaab7ab node::worker::Worker::Run() [node]
13: 0xaaba60 [node]
14: 0x7f901506b4a4 [/lib/x86_64-linux-gnu/libpthread.so.0]
15: 0x7f9014dadd0f clone [/lib/x86_64-linux-gnu/libc.so.6]
It could be resolved by upgrading to v12.19.0, if you must use Node12.
It could be resolved by upgrading to v12.19.0, if you must use Node12.
Is this a bug from node?
I have not yet verified that.