Matt Nelson
04/08/2024, 3:38 PMNode.js
, only happens on Windows.
js("Buffer.alloc(8 * 1024)")
is not registering as a buffer... Anyone run into this before?
Process output:
C:\Users\runneradmin\.gradle\nodejs\node-v18.12.1-win-x64\node.exe[5912]: c:\ws\src\stream_base.cc:593: Assertion `(buf.base) == (buffer_.base)' failed.
1: 00007FF753131B7F node_api_throw_syntax_error+203775
2: 00007FF7530B1556 v8::internal::wasm::WasmCode::safepoint_table_offset+63558
3: 00007FF7530B1922 v8::internal::wasm::WasmCode::safepoint_table_offset+64530
4: 00007FF752FBE229 cppgc::internal::PageMemoryRegion::reserved_region+377
5: 00007FF752FB9935 v8::internal::wasm::WasmCode::code_comments_offset+1365
6: 00007FF752FB88BE v8::internal::EphemeronHashTable::EphemeronHashTable+41054
7: 00007FF7531796B6 uv_tty_set_vterm_state+8982
8: 00007FF75318F7DC uv_loop_init+924
9: 00007FF75318FAEA uv_run+202
10: 00007FF75315EB15 node::SpinEventLoop+309
11: 00007FF7530692C4 std::basic_ios<char,std::char_traits<char> >::setstate+126532
12: 00007FF7530ED058 node::InitializeOncePerProcess+2840
13: 00007FF7530EE895 node::Start+821
14: 00007FF752F074FC CRYPTO_memcmp+439692
15: 00007FF75411FDD8 v8::internal::compiler::ToString+14584
16: 00007FFDF44C4CB0 BaseThreadInitThunk+16
17: 00007FFDF53FE8AB RtlUserThreadStart+43
Matt Nelson
04/08/2024, 3:40 PMMatt Nelson
04/08/2024, 3:40 PMMatt Nelson
04/08/2024, 3:42 PMMatt Nelson
04/08/2024, 4:12 PM/cry
turansky
04/08/2024, 4:27 PMMatt Nelson
04/08/2024, 4:37 PMMatt Nelson
04/08/2024, 4:43 PMSocket.on("data")
listener instead of declaring onread
options with the createSocket
call...