src: use non-deprecated v8::Uint8Array::kMaxLength #1131
Annotations
3 errors
test/parallel/test-blob-buffer-too-large.js#L1
--- stderr ---
=================================================================
==94983==ERROR: AddressSanitizer: requested allocation size 0x1fffffffffffff (0x20000000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
#0 0xe9f492 in calloc (/home/runner/work/node-v8/node-v8/out/Release/node+0xe9f492)
#1 0xee0374 in node::NodeArrayBufferAllocator::Allocate(unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0xee0374)
#2 0x1e8de4e in v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1e8de4e)
#3 0x222d405 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+0x222d405)
#4 0x19be4f6 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+0x19be4f6)
#5 0x19bc84a in v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x19bc84a)
#6 0x7fd0f8e63cb5 in v8::internal::wasm::WasmEngine::MaybeGetNativeModule(v8::internal::wasm::ModuleOrigin, v8::base::Vector<unsigned char const>, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x33cdcb5)
#7 0x7fd0f8dc9d4e in std::tuple<bool, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> >, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> > > v8::internal::compiler::turboshaft::LabelBase<true, v8::internal::compiler::turboshaft::WordWithBits<32ul>, v8::internal::compiler::turboshaft::WordWithBits<32ul> >::Bind<v8::internal::compiler::turboshaft::Assembler<v8::internal::compiler::turboshaft::reducer_list<v8::internal::compiler::turboshaft::SelectLoweringReducer, v8::internal::compiler::turboshaft::DataViewReducer, v8::internal::compiler::turboshaft::VariableReducer, v8::internal::compiler::turboshaft::RequiredOptimizationReducer> > >(v8::internal::compiler::turboshaft::Assembler<v8::internal::compiler::turboshaft::reducer_list<v8::internal::compiler::turboshaft::SelectLoweringReducer, v8::internal::compiler::turboshaft::DataViewReducer, v8::internal::compiler::turboshaft::VariableReducer, v8::internal::compiler::turboshaft::RequiredOptimizationReducer> >&) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3333d4e)
#8 0x7fd0f8f16910 in void v8::internal::Assembler::vinstr<v8::internal::YMMRegister, v8::internal::YMMRegister, v8::internal::XMMRegister>(unsigned char, v8::internal::YMMRegister, v8::internal::YMMRegister, v8::internal::XMMRegister, v8::internal::Assembler::SIMDPrefix, v8::internal::Assembler::LeadingOpcode, v8::internal::Assembler::VexW, v8::internal::CpuFeature) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3480910)
#9 0x7fd0f8e51b3a in v8::internal::wasm::WasmEngine::SyncCompile(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures, v8::internal::wasm::ErrorThrower*, v8::internal::wasm::ModuleWireBytes) (/home/runner/work/node-v8/node-v8/out/Release/node+0x33bbb3a)
#10 0x7fd0f8dcd7fb 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+0x33377fb)
#11 0x7fd0f8f54622 in v8::internal::Assembler::pinsrw(v8::internal::XMMRegister, v8::internal::Register, unsigned char) (/home/runner/work/node-v8/node-v8/out/Release/node+0x34be622)
#12 0x7fd0f8dccd9d in v8::internal::wasm::Was
|
test/parallel/test-buffer-slow.js#L1
--- stderr ---
=================================================================
==95834==ERROR: AddressSanitizer: requested allocation size 0x1fffffffffffff (0x20000000001000 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
#0 0xe9f31d in malloc (/home/runner/work/node-v8/node-v8/out/Release/node+0xe9f31d)
#1 0xee03dd in node::NodeArrayBufferAllocator::Allocate(unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0xee03dd)
#2 0x1e8de4e in v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) (/home/runner/work/node-v8/node-v8/out/Release/node+0x1e8de4e)
#3 0x222d405 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+0x222d405)
#4 0x19be4f6 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+0x19be4f6)
#5 0x19bc84a in v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x19bc84a)
#6 0x7fcbe7063cb5 in v8::internal::wasm::WasmEngine::MaybeGetNativeModule(v8::internal::wasm::ModuleOrigin, v8::base::Vector<unsigned char const>, v8::internal::Isolate*) (/home/runner/work/node-v8/node-v8/out/Release/node+0x33cdcb5)
#7 0x7fcbe6fc9d4e in std::tuple<bool, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> >, v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::WordWithBits<32ul> > > v8::internal::compiler::turboshaft::LabelBase<true, v8::internal::compiler::turboshaft::WordWithBits<32ul>, v8::internal::compiler::turboshaft::WordWithBits<32ul> >::Bind<v8::internal::compiler::turboshaft::Assembler<v8::internal::compiler::turboshaft::reducer_list<v8::internal::compiler::turboshaft::SelectLoweringReducer, v8::internal::compiler::turboshaft::DataViewReducer, v8::internal::compiler::turboshaft::VariableReducer, v8::internal::compiler::turboshaft::RequiredOptimizationReducer> > >(v8::internal::compiler::turboshaft::Assembler<v8::internal::compiler::turboshaft::reducer_list<v8::internal::compiler::turboshaft::SelectLoweringReducer, v8::internal::compiler::turboshaft::DataViewReducer, v8::internal::compiler::turboshaft::VariableReducer, v8::internal::compiler::turboshaft::RequiredOptimizationReducer> >&) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3333d4e)
#8 0x7fcbe7116910 in void v8::internal::Assembler::vinstr<v8::internal::YMMRegister, v8::internal::YMMRegister, v8::internal::XMMRegister>(unsigned char, v8::internal::YMMRegister, v8::internal::YMMRegister, v8::internal::XMMRegister, v8::internal::Assembler::SIMDPrefix, v8::internal::Assembler::LeadingOpcode, v8::internal::Assembler::VexW, v8::internal::CpuFeature) (/home/runner/work/node-v8/node-v8/out/Release/node+0x3480910)
#9 0x7fcbe7051b3a in v8::internal::wasm::WasmEngine::SyncCompile(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures, v8::internal::wasm::ErrorThrower*, v8::internal::wasm::ModuleWireBytes) (/home/runner/work/node-v8/node-v8/out/Release/node+0x33bbb3a)
#10 0x7fcbe6fcd7fb 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+0x33377fb)
#11 0x7fcbe7154622 in v8::internal::Assembler::pinsrw(v8::internal::XMMRegister, v8::internal::Register, unsigned char) (/home/runner/work/node-v8/node-v8/out/Release/node+0x34be622)
#12 0x7fcbe6fccd9d in v8::internal::wasm::Was
|
|
The logs for this run have expired and are no longer available.
Loading