Describe the bug
Something is wrong with Windows .dll. I'm trying to port r6-dissect-bun to Node.js with node-ffi-napi.
It gives a V8 failure:
#
# Fatal error in , line 0
# Check failed: result.second.
#
#
#
#FailureMessage Object: 00000043CB2FBBD0
1: 00007FF7DAA5815F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114079
2: 00007FF7DA97343F std::basic_ostream<char,std::char_traits<char> >::operator<<+65023
3: 00007FF7DB652D52 V8_Fatal+162
4: 00007FF7DB0BE0CD v8::internal::BackingStore::Reallocate+637
5: 00007FF7DB307849 v8::ArrayBuffer::GetBackingStore+137
6: 00007FF7DAA2A3B9 napi_get_typedarray_info+393
7: 00007FFFB5EC8828
8: 00007FFFB5EC7C19
9: 00007FFFB5ECD003
10: 00007FFFB5ECED79
11: 00007FFFB5ECEF18
12: 00007FFFD6B326E6 FFI::WrapPointerImpl+134 [...\node_modules\ffi-napi\src\ffi.cc]:L28
13: 00007FFFD6B33943 FFI::FFI::InitializeBindings+3571 [...\node_modules\ffi-napi\src\ffi.cc]:L138
14: 00007FFFD6B376E7 FFI::InitializeBindings+471 [...\node_modules\ffi-napi\src\ffi.cc]:L339
15: 00007FFFD6B389C0 Napi::details::WrapCallback<<lambda_4b130013be4a466940e6fe08d32cda83> >+64 [...\node_modules\node-addon-api\napi-inl.h]:L74
16: 00007FFFD6B38918 Napi::details::CallbackData<Napi::Value (__cdecl*)(Napi::CallbackInfo const &),Napi::Value>::Wrapper+40 [...\node_modules\node-addon-api\napi-inl.h]:L115
17: 00007FF7DAA24B9B node::Stop+36395
18: 00007FF7DB2D6256 v8::internal::Builtins::code_handle+172790
19: 00007FF7DB2D5E49 v8::internal::Builtins::code_handle+171753
20: 00007FF7DB2D610C v8::internal::Builtins::code_handle+172460
21: 00007FF7DB2D5F70 v8::internal::Builtins::code_handle+172048
22: 00007FF7DB3A9671 v8::internal::SetupIsolateDelegate::SetupHeap+494673
23: 00007FF7DB33BB1E v8::internal::SetupIsolateDelegate::SetupHeap+45310
24: 00007FF7DB33BB1E v8::internal::SetupIsolateDelegate::SetupHeap+45310
25: 00007FF7DB33BB1E v8::internal::SetupIsolateDelegate::SetupHeap+45310
26: 00000182808B4A3B
node: 16.14.1
ffi-napi: 4.0.3
To Reproduce
Steps to reproduce the behavior:
- Go to https://speedtesting.herokuapp.com/peviewer/
- Import
libr6dissect.dll
- See error
Expected behavior
It should work the same as libr6dissect.so
Describe the bug
Something is wrong with Windows
.dll. I'm trying to portr6-dissect-bunto Node.js withnode-ffi-napi.It gives a V8 failure:
node:16.14.1ffi-napi:4.0.3To Reproduce
Steps to reproduce the behavior:
libr6dissect.dllExpected behavior
It should work the same as
libr6dissect.so