tools: run test-asan on ubuntu-latest #47153
Annotations
10 errors
test-asan:
test/parallel/test-cli-node-options.js#L1
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/node/test/parallel/test-cli-node-options.js
--- CRASHED (Signal: 11) ---
|
test-asan:
test/parallel/test-worker-http2-stream-terminate.js#L1
--- stderr ---
undefined:0
RangeError: Maximum call stack size exceeded
Node.js v23.0.0-pre
=================================================================
==152531==ERROR: AddressSanitizer: heap-use-after-free on address 0x50d0000006c0 at pc 0x55df3f717216 bp 0x7f84105fd210 sp 0x7f84105fd208
READ of size 8 at 0x50d0000006c0 thread T15
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/node/test/parallel/test-worker-http2-stream-terminate.js
--- CRASHED (Signal: 6) ---
|
test-asan:
test/parallel/test-worker-memory.js#L1
--- stderr ---
undefined:0
RangeError: Maximum call stack size exceeded
Node.js v23.0.0-pre
=================================================================
==152611==ERROR: AddressSanitizer: heap-use-after-free on address 0x529000001028 at pc 0x560311ded7fe bp 0x7fed753fea20 sp 0x7fed753fea18
READ of size 8 at 0x529000001028 thread T38
#0 0x560311ded7fd in int v8::internal::Deserializer<v8::internal::Isolate>::ReadApiReference<v8::internal::SlotAccessorForHeapObject>(unsigned char, v8::internal::SlotAccessorForHeapObject) (/home/runner/work/node/node/out/Release/node+0x39ed7fd) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#1 0x560311dd82e9 in v8::internal::Deserializer<v8::internal::Isolate>::ReadObject(v8::internal::SnapshotSpace) (/home/runner/work/node/node/out/Release/node+0x39d82e9) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#2 0x560311ddab85 in int v8::internal::Deserializer<v8::internal::Isolate>::ReadSingleBytecodeData<v8::internal::SlotAccessorForHeapObject>(unsigned char, v8::internal::SlotAccessorForHeapObject) (/home/runner/work/node/node/out/Release/node+0x39dab85) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#3 0x560311dd82e9 in v8::internal::Deserializer<v8::internal::Isolate>::ReadObject(v8::internal::SnapshotSpace) (/home/runner/work/node/node/out/Release/node+0x39d82e9) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#4 0x560311ddb550 in int v8::internal::Deserializer<v8::internal::Isolate>::ReadSingleBytecodeData<v8::internal::SlotAccessorForRootSlots>(unsigned char, v8::internal::SlotAccessorForRootSlots) (/home/runner/work/node/node/out/Release/node+0x39db550) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#5 0x560311dda45e in v8::internal::Deserializer<v8::internal::Isolate>::VisitRootPointers(v8::internal::Root, char const*, v8::internal::FullObjectSlot, v8::internal::FullObjectSlot) (/home/runner/work/node/node/out/Release/node+0x39da45e) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#6 0x560311e0467c in v8::internal::(anonymous namespace)::IterateObjectCache(v8::internal::Isolate*, std::vector<v8::internal::Tagged<v8::internal::Object>, std::allocator<v8::internal::Tagged<v8::internal::Object>>>*, v8::internal::Root, v8::internal::RootVisitor*) serializer-deserializer.cc
#7 0x560311e5a1a6 in v8::internal::StartupDeserializer::DeserializeIntoIsolate() (/home/runner/work/node/node/out/Release/node+0x3a5a1a6) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#8 0x56031103d162 in v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) (/home/runner/work/node/node/out/Release/node+0x2c3d162) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#9 0x56031103e9d8 in v8::internal::Isolate::InitWithSnapshot(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) (/home/runner/work/node/node/out/Release/node+0x2c3e9d8) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#10 0x560311e3f7a6 in v8::internal::Snapshot::Initialize(v8::internal::Isolate*) (/home/runner/work/node/node/out/Release/node+0x3a3f7a6) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#11 0x560310cd0c66 in v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) (/home/runner/work/node/node/out/Release/node+0x28d0c66) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#12 0x56030fffe710 in node::NewIsolate(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, node::SnapshotData const*, node::IsolateSettings const&) /home/runner/work/node/node/out/../src/api/environment.cc:358:3
#13 0x5603108030f6 in node::worker::WorkerThreadData::WorkerThreadData(node::worker::Worker*) /home/runner/work/node/node/out/../src/node_worker.cc:164:9
#14 0x5603107f40db in node::worker::Worker::Run() /home/runner/work/node/node/out/../src/node_worker.cc:293:20
#15 0x5603107fd304 in node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_0::operator()(void*) const /home/runner/work/node/node/out/.
|
test-asan:
test/parallel/test-worker-init-failure.js#L69
--- stderr ---
node:assert:126
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
6 !== 0
at ChildProcess.<anonymous> (/home/runner/work/node/node/test/parallel/test-worker-init-failure.js:69:12)
at ChildProcess.<anonymous> (/home/runner/work/node/node/test/common/index.js:474:15)
at ChildProcess.emit (node:events:520:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 6,
expected: 0,
operator: 'strictEqual'
}
Node.js v23.0.0-pre
--- stdout ---
child stdout:
child stderr: undefined:0
RangeError: Maximum call stack size exceeded
Node.js v23.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/node/test/parallel/test-worker-init-failure.js
|
test-asan:
test/parallel/test-worker-stack-overflow.js#L1
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/node/test/parallel/test-worker-stack-overflow.js
--- CRASHED (Signal: 11) ---
|
test-asan:
test/parallel/test-worker-stack-overflow-stack-size.js#L1
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/node/test/parallel/test-worker-stack-overflow-stack-size.js
--- CRASHED (Signal: 11) ---
|
test-asan:
test/sequential/test-worker-fshandles-error-on-termination.js#L1
--- stderr ---
undefined:0
RangeError: Maximum call stack size exceeded
Node.js v23.0.0-pre
=================================================================
==174357==ERROR: AddressSanitizer: heap-use-after-free on address 0x529000001028 at pc 0x55bd727ed7fe bp 0x7fe5a3dfea20 sp 0x7fe5a3dfea18
READ of size 8 at 0x529000001028 thread T22
#0 0x55bd727ed7fd in int v8::internal::Deserializer<v8::internal::Isolate>::ReadApiReference<v8::internal::SlotAccessorForHeapObject>(unsigned char, v8::internal::SlotAccessorForHeapObject) (/home/runner/work/node/node/out/Release/node+0x39ed7fd) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#1 0x55bd727d82e9 in v8::internal::Deserializer<v8::internal::Isolate>::ReadObject(v8::internal::SnapshotSpace) (/home/runner/work/node/node/out/Release/node+0x39d82e9) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#2 0x55bd727dab85 in int v8::internal::Deserializer<v8::internal::Isolate>::ReadSingleBytecodeData<v8::internal::SlotAccessorForHeapObject>(unsigned char, v8::internal::SlotAccessorForHeapObject) (/home/runner/work/node/node/out/Release/node+0x39dab85) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#3 0x55bd727d82e9 in v8::internal::Deserializer<v8::internal::Isolate>::ReadObject(v8::internal::SnapshotSpace) (/home/runner/work/node/node/out/Release/node+0x39d82e9) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#4 0x55bd727db550 in int v8::internal::Deserializer<v8::internal::Isolate>::ReadSingleBytecodeData<v8::internal::SlotAccessorForRootSlots>(unsigned char, v8::internal::SlotAccessorForRootSlots) (/home/runner/work/node/node/out/Release/node+0x39db550) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#5 0x55bd727da45e in v8::internal::Deserializer<v8::internal::Isolate>::VisitRootPointers(v8::internal::Root, char const*, v8::internal::FullObjectSlot, v8::internal::FullObjectSlot) (/home/runner/work/node/node/out/Release/node+0x39da45e) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#6 0x55bd7280467c in v8::internal::(anonymous namespace)::IterateObjectCache(v8::internal::Isolate*, std::vector<v8::internal::Tagged<v8::internal::Object>, std::allocator<v8::internal::Tagged<v8::internal::Object>>>*, v8::internal::Root, v8::internal::RootVisitor*) serializer-deserializer.cc
#7 0x55bd7285a1a6 in v8::internal::StartupDeserializer::DeserializeIntoIsolate() (/home/runner/work/node/node/out/Release/node+0x3a5a1a6) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#8 0x55bd71a3d162 in v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) (/home/runner/work/node/node/out/Release/node+0x2c3d162) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#9 0x55bd71a3e9d8 in v8::internal::Isolate::InitWithSnapshot(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) (/home/runner/work/node/node/out/Release/node+0x2c3e9d8) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#10 0x55bd7283f7a6 in v8::internal::Snapshot::Initialize(v8::internal::Isolate*) (/home/runner/work/node/node/out/Release/node+0x3a3f7a6) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#11 0x55bd716d0c66 in v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) (/home/runner/work/node/node/out/Release/node+0x28d0c66) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#12 0x55bd709fe710 in node::NewIsolate(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, node::SnapshotData const*, node::IsolateSettings const&) /home/runner/work/node/node/out/../src/api/environment.cc:358:3
#13 0x55bd712030f6 in node::worker::WorkerThreadData::WorkerThreadData(node::worker::Worker*) /home/runner/work/node/node/out/../src/node_worker.cc:164:9
#14 0x55bd711f40db in node::worker::Worker::Run() /home/runner/work/node/node/out/../src/node_worker.cc:293:20
#15 0x55bd711fd304 in node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_0::operator()(void*) const /home/runner/work/node/node/out/.
|
test-asan:
test/sequential/test-worker-fshandles-open-close-on-termination.js#L1
--- stderr ---
undefined:0
RangeError: Maximum call stack size exceeded
Node.js v23.0.0-pre
=================================================================
==174723==ERROR: AddressSanitizer: heap-use-after-free on address 0x50d0000006c0 at pc 0x55a3c9cd1278 bp 0x7f2e485ff150 sp 0x7f2e485ff148
READ of size 8 at 0x50d0000006c0 thread T22
#0 0x55a3c9cd1277 in v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) (/home/runner/work/node/node/out/Release/node+0x28d1277) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#1 0x55a3c8ffe710 in node::NewIsolate(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, node::SnapshotData const*, node::IsolateSettings const&) /home/runner/work/node/node/out/../src/api/environment.cc:358:3
#2 0x55a3c98030f6 in node::worker::WorkerThreadData::WorkerThreadData(node::worker::Worker*) /home/runner/work/node/node/out/../src/node_worker.cc:164:9
#3 0x55a3c97f40db in node::worker::Worker::Run() /home/runner/work/node/node/out/../src/node_worker.cc:293:20
#4 0x55a3c97fd304 in node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_0::operator()(void*) const /home/runner/work/node/node/out/../src/node_worker.cc:693:8
#5 0x55a3c97fd11e in node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_0::__invoke(void*) /home/runner/work/node/node/out/../src/node_worker.cc:682:55
#6 0x55a3c8f9a60c in asan_thread_start(void*) asan_interceptors.cpp.o
#7 0x7f2ebac9ca93 (/lib/x86_64-linux-gnu/libc.so.6+0x9ca93) (BuildId: 4d9090d61bf70e6b3225d583f0f08193f54670b2)
#8 0x7f2ebad29c3b (/lib/x86_64-linux-gnu/libc.so.6+0x129c3b) (BuildId: 4d9090d61bf70e6b3225d583f0f08193f54670b2)
0x50d0000006c0 is located 0 bytes inside of 144-byte region [0x50d0000006c0,0x50d000000750)
freed by thread T20 here:
#0 0x55a3c8fdb9c1 in operator delete(void*) (/home/runner/work/node/node/out/Release/node+0x1bdb9c1) (BuildId: 7496b068b922cf2ab0b834edb83acbc6535015b9)
#1 0x55a3c95effa1 in node::NodePlatform::~NodePlatform() /home/runner/work/node/node/out/../src/node_platform.cc:356:31
#2 0x55a3c900b2f2 in node::V8Platform::Dispose() /home/runner/work/node/node/out/../src/node_v8_platform-inl.h:116:5
#3 0x55a3c900810f in node::DisposePlatform() /home/runner/work/node/node/out/../src/node_v8_platform-inl.h:198:28
#4 0x55a3c9003d67 in node::DefaultProcessExitHandlerInternal(node::Environment*, node::ExitCode) /home/runner/work/node/node/out/../src/api/environment.cc:926:3
#5 0x55a3c922660a in void std::__invoke_impl<void, void (*&)(node::Environment*, node::ExitCode), node::Environment*, node::ExitCode>(std::__invoke_other, void (*&)(node::Environment*, node::ExitCode), node::Environment*&&, node::ExitCode&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/invoke.h:61:14
#6 0x55a3c9226514 in std::enable_if<is_invocable_r_v<void, void (*&)(node::Environment*, node::ExitCode), node::Environment*, node::ExitCode>, void>::type std::__invoke_r<void, void (*&)(node::Environment*, node::ExitCode), node::Environment*, node::ExitCode>(void (*&)(node::Environment*, node::ExitCode), node::Environment*&&, node::ExitCode&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/invoke.h:111:2
#7 0x55a3c92263fc in std::_Function_handler<void (node::Environment*, node::ExitCode), void (*)(node::Environment*, node::ExitCode)>::_M_invoke(std::_Any_data const&, node::Environment*&&, node::ExitCode&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/std_function.h:290:9
#8 0x55a3c91fe11b in std::function<void (node::Environment*, node::ExitCode)>::operator()(node::Environment*, node::ExitCode) const /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/std_function.h:591:9
#9 0x55a3c91df780 in node::Environment::Exit(node::ExitCode) /home/runner/work/node/node/out/../src/env.cc:1799:3
#10 0x55a3c9401bf9 in node::errors::TriggerUncaughtException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>, bool)
|
test-asan:
test/wpt/test-blob.js#L1
--- stderr ---
undefined:0
RangeError: Maximum call stack size exceeded
Node.js v23.0.0-pre
=================================================================
==175481==ERROR: AddressSanitizer: heap-use-after-free on address 0x529000000fd8 at pc 0x5632d19ed7fe bp 0x7f35acffea20 sp 0x7f35acffea18
READ of size 8 at 0x529000000fd8 thread T11
--- stdout ---
[SKIPPED] Blob-constructor-dom.window.js: Depends on DOM API
[SKIPPED] Blob-in-worker.worker.js: Depends on Web Workers API
[SKIPPED] Blob-slice.any.js: Depends on File API
[PASS] Blob.arrayBuffer()
[PASS] Blob interface object
[PASS] Blob constructor with no arguments
[PASS] slice start is negative, relativeStart will be max((size + start), 0)
[PASS] slice start is greater than blob size, relativeStart will be min(start, size)
[PASS] slice end is negative, relativeEnd will be max((size + end), 0)
[PASS] slice end is greater than blob size, relativeEnd will be min(end, size)
[PASS] Blob.arrayBuffer() empty Blob data
[PASS] Blob.arrayBuffer() non-ascii input
[PASS] Blob.arrayBuffer() non-unicode input
[PASS] Blob.arrayBuffer() concurrent reads
[PASS] Blob constructor with no arguments, without 'new'
[PASS] Blob constructor without brackets
[PASS] Blob constructor with undefined as first argument
[PASS] Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.
[EXPECTED_FAILURE][FAIL] A plain object with @@iterator should be treated as a sequence for the blobParts argument.
FileReader is not defined
ReferenceError: FileReader is not defined
at Test.<anonymous> (/home/runner/work/node/node/test/fixtures/wpt/FileAPI/support/Blob.js:16:14)
at Test.step (/home/runner/work/node/node/test/fixtures/wpt/resources/testharness.js:2599:25)
at self.test_blob (/home/runner/work/node/node/test/fixtures/wpt/FileAPI/support/Blob.js:9:5)
at /home/runner/work/node/node/test/fixtures/wpt/FileAPI/blob/Blob-constructor.any.js:58:1
at Script.runInThisContext (node:vm:136:12)
at runInThisContext (node:vm:316:38)
at Object.<anonymous> (/home/runner/work/node/node/test/common/wpt/worker.js:69:3)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Object..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32)
Command: /home/runner/work/node/node/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/node/test/wpt/test-blob.js 'Blob-constructor.any.js'
[PASS] A plain object with custom @@iterator should be treated as a sequence for the blobParts argument.
[EXPECTED_FAILURE][FAIL] A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.
FileReader is not defined
ReferenceError: FileReader is not defined
at Test.<anonymous> (/home/runner/work/node/node/test/fixtures/wpt/FileAPI/support/Blob.js:16:14)
at Test.step (/home/runner/work/node/node/test/fixtures/wpt/resources/testharness.js:2599:25)
at self.test_blob (/home/runner/work/node/node/test/fixtures/wpt/FileAPI/support/Blob.js:9:5)
at /home/runner/work/node/node/test/fixtures/wpt/FileAPI/blob/Blob-constructor.any.js:81:1
at Script.runInThisContext (node:vm:136:12)
at runInThisContext (node:vm:316:38)
at Object.<anonymous> (/home/runner/work/node/node/test/common/wpt/worker.js:69:3)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Object..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32)
Command: /home/runner/work/node/node/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/node/test/wpt/test-blob.js 'Blob-constructor.any.js'
[EXPECTED_FAILURE][FAIL] A String object should be treated as a sequence for the blobParts argument.
FileReader is not defined
ReferenceError: FileReader is not defined
at Test.<anonymous
|
test-asan
Process completed with exit code 2.
|