Skip to content

src: add missing TryCatch #1168

src: add missing TryCatch

src: add missing TryCatch #1168

Triggered via push December 13, 2023 07:16
Status Failure
Total duration 1h 56m 52s
Artifacts

test-asan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test-asan: test/parallel/test-blob-buffer-too-large.js#L1
--- stderr --- ================================================================= ==95592==ERROR: AddressSanitizer: requested allocation size 0x1fffffffffffff (0x20000000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0) #0 0xf4cde2 in calloc (/home/runner/work/node-v8/node-v8/out/Release/node+0xf4cde2) #1 0xf8e3b4 in node::NodeArrayBufferAllocator::Allocate(unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0xf8e3b4) #2 0x1f6433e in v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1f6433e) #3 0x2308495 in v8::internal::BackingStore::Allocate(v8::internal::Isolate*, unsigned long, v8::internal::SharedFlag, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x2308495) #4 0x1a94046 in v8::internal::(anonymous namespace)::ConstructBuffer(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1a94046) #5 0x1a9239a in v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1a9239a) #6 0x7fe73d666135 in v8::internal::wasm::WasmEngine::NewNativeModule(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures, std::shared_ptr<v8::internal::wasm::WasmModule const>, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3515135) #7 0x7fe73d5ca90e in v8::internal::compiler::turboshaft::ArrayGetOp& v8::internal::compiler::turboshaft::OperationT<v8::internal::compiler::turboshaft::ArrayGetOp>::New<v8::internal::compiler::turboshaft::V<v8::internal::HeapObject>, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> >, v8::internal::wasm::ArrayType const*, bool>(v8::internal::compiler::turboshaft::Graph*, unsigned long, v8::internal::compiler::turboshaft::V<v8::internal::HeapObject>, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> >, v8::internal::wasm::ArrayType const*, bool) (/home/runner/work/node-v8/node-v8/out/Release/node+0x347990e) #8 0x7fe73d71dc1c in v8::internal::Assembler::bind_to(v8::internal::Label*, int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x35ccc1c) #9 0x7fe73d6537ba in v8::internal::wasm::WasmEngine::SyncCompileTranslatedAsmJs(v8::internal::Isolate*, v8::internal::wasm::ErrorThrower*, v8::internal::wasm::ModuleWireBytes, v8::internal::Handle<v8::internal::Script>, v8::base::Vector<unsigned char const>, v8::internal::Handle<v8::internal::HeapNumber>, v8::internal::LanguageMode) (/home/runner/work/node-v8/node-v8/out/Release/node+0x35027ba) #10 0x7fe73d5ce43b in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::DecodeNumericOpcode(v8::internal::wasm::WasmOpcode, unsigned int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x347d43b) #11 0x7fe73d75a9a7 in v8::internal::Assembler::movupd(v8::internal::XMMRegister, v8::internal::Operand) (/home/runner/work/node-v8/node-v8/out/Release/node+0x36099a7) #12 0x7fe73d5cd95d in v8::internal::wasm::TurboshaftGraphBuildingInterface::BrOnCastImpl(v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>*, v8::internal::compiler::turboshaft::V<v8::internal::Map>, v8::internal::compiler::WasmTypeCheckConfig, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value*, unsigned int, bool) (/home/runner/work/node-v8/node-v8/out/Release/node+0x347c95d) #13 0x7fe73d5cd95d
test-asan: test/parallel/test-buffer-slow.js#L1
--- stderr --- ================================================================= ==96449==ERROR: AddressSanitizer: requested allocation size 0x1fffffffffffff (0x20000000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0) #0 0xf4cc6d in malloc (/home/runner/work/node-v8/node-v8/out/Release/node+0xf4cc6d) #1 0xf8e41d in node::NodeArrayBufferAllocator::Allocate(unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0xf8e41d) #2 0x1f6433e in v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1f6433e) #3 0x2308495 in v8::internal::BackingStore::Allocate(v8::internal::Isolate*, unsigned long, v8::internal::SharedFlag, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x2308495) #4 0x1a94046 in v8::internal::(anonymous namespace)::ConstructBuffer(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::InitializedFlag) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1a94046) #5 0x1a9239a in v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1a9239a) #6 0x7ff071be6135 in v8::internal::wasm::WasmEngine::NewNativeModule(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures, std::shared_ptr<v8::internal::wasm::WasmModule const>, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3515135) #7 0x7ff071b4a90e in v8::internal::compiler::turboshaft::ArrayGetOp& v8::internal::compiler::turboshaft::OperationT<v8::internal::compiler::turboshaft::ArrayGetOp>::New<v8::internal::compiler::turboshaft::V<v8::internal::HeapObject>, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> >, v8::internal::wasm::ArrayType const*, bool>(v8::internal::compiler::turboshaft::Graph*, unsigned long, v8::internal::compiler::turboshaft::V<v8::internal::HeapObject>, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> >, v8::internal::wasm::ArrayType const*, bool) (/home/runner/work/node-v8/node-v8/out/Release/node+0x347990e) #8 0x7ff071c9dc1c in v8::internal::Assembler::bind_to(v8::internal::Label*, int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x35ccc1c) #9 0x7ff071bd37ba in v8::internal::wasm::WasmEngine::SyncCompileTranslatedAsmJs(v8::internal::Isolate*, v8::internal::wasm::ErrorThrower*, v8::internal::wasm::ModuleWireBytes, v8::internal::Handle<v8::internal::Script>, v8::base::Vector<unsigned char const>, v8::internal::Handle<v8::internal::HeapNumber>, v8::internal::LanguageMode) (/home/runner/work/node-v8/node-v8/out/Release/node+0x35027ba) #10 0x7ff071b4e43b in v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>::DecodeNumericOpcode(v8::internal::wasm::WasmOpcode, unsigned int) (/home/runner/work/node-v8/node-v8/out/Release/node+0x347d43b) #11 0x7ff071cda9a7 in v8::internal::Assembler::movupd(v8::internal::XMMRegister, v8::internal::Operand) (/home/runner/work/node-v8/node-v8/out/Release/node+0x36099a7) #12 0x7ff071b4d95d in v8::internal::wasm::TurboshaftGraphBuildingInterface::BrOnCastImpl(v8::internal::wasm::WasmFullDecoder<v8::internal::wasm::Decoder::FullValidationTag, v8::internal::wasm::TurboshaftGraphBuildingInterface, (v8::internal::wasm::DecodingMode)0>*, v8::internal::compiler::turboshaft::V<v8::internal::Map>, v8::internal::compiler::WasmTypeCheckConfig, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value const&, v8::internal::wasm::TurboshaftGraphBuildingInterface::Value*, unsigned int, bool) (/home/runner/work/node-v8/node-v8/out/Release/node+0x347c95d) #13 0x7ff071b4e330
test-asan: test/addons/make-callback-recurse/test.js#L138
--- stderr --- node:assert:126 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'UNREACHABLE' - 'throw from domain 3' at Domain.<anonymous> (/home/runner/work/node-v8/node-v8/test/addons/make-callback-recurse/test.js:138:14) at Domain.<anonymous> (/home/runner/work/node-v8/node-v8/test/common/index.js:476:15) at Domain.emit (node:events:519:28) at Domain.emit (node:domain:488:12) at Domain._errorHandler (node:domain:278:23) at Object.<anonymous> (node:domain:180:29) at process._fatalException (node:internal/process/execution:177:29) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'UNREACHABLE', expected: 'throw from domain 3', operator: 'strictEqual' } Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node-v8/node-v8/test/addons/make-callback-recurse/test.js
test-asan
Process completed with exit code 2.