Back to build
Raw log | Switch to full mode | Login

Test: mjsunit/shared-memory/regress-crbug-1425710 (flaky in a repeated run) Flags: --test /b/s/w/ir/test/mjsunit/mjsunit.js /b/s/w/ir/test/mjsunit/shared-memory/regress-crbug-1425710.js --isolate /b/s/w/ir/test/mjsunit/mjsunit.js /b/s/w/ir/test/mjsunit/shared-memory/regress-crbug-1425710.js --random-seed=-1461189304 --nohard-abort --testing-d8-test-runner --future --harmony-struct --expose-gc --expose-externalize-string Command: out/build/d8 --test test/mjsunit/mjsunit.js test/mjsunit/shared-memory/regress-crbug-1425710.js --isolate test/mjsunit/mjsunit.js test/mjsunit/shared-memory/regress-crbug-1425710.js --random-seed=-1461189304 --nohard-abort --testing-d8-test-runner --future --harmony-struct --expose-gc --expose-externalize-string Variant: future Shard: 5:7 GN arguments: dcheck_always_on = false is_component_build = false is_debug = false is_tsan = true target_cpu = "x64" use_remoteexec = true v8_enable_google_benchmark = true v8_enable_test_features = true Trigger flake bisect on command line: bb add v8/try.triggered/v8_flako -p 'bisect_builder_group="client.v8"' -p 'bisect_buildername="V8 Linux64 TSAN - builder"' -p 'revision="9b7c408241d3c41b8882f6e575b56a91060922e3"' -p 'swarming_dimensions=["cpu:x86-64", "pool:chromium.tests", "os:Ubuntu-22.04"]' -p 'isolated_name="bot_default"' -p 'test_name="mjsunit/shared-memory/regress-crbug-1425710"' -p 'timeout_sec=60' -p 'total_timeout_sec=120' -p 'variant="future"' -p 'extra_args=["--isolates"]' Local flake reproduction on command line: tools/run-tests.py --outdir=SET_OUTDIR_HERE --variants=future --random-seed-stress-count=1000000 --total-timeout-sec=120 --exit-after-n-failures=1 --isolates mjsunit/shared-memory/regress-crbug-1425710 Run #1 Exit code: 66 [0x42] Result: FAIL Expected outcomes: PASS Duration: 00:01:728 Crash Type: Data race ATOMIC WRITE 8 Crash State: __cxx_atomic_store<long> store atomic_store_explicit<long> Stderr: V8 is running with experimental features enabled. Stability and security will suffer. ================== WARNING: ThreadSanitizer: data race (pid=144309) Atomic write of size 8 at 0x72940002d040 by thread T22 (mutexes: write M0, write M1, write M2): #0 __cxx_atomic_store<long> third_party/libc++/src/include/__atomic/cxx_atomic_impl.h:299:3 (d8+0xb88d2f) (BuildId: eab9dd909ebe46e6) #1 store third_party/libc++/src/include/__atomic/atomic_base.h:47:5 (d8+0xb88d2f) #2 atomic_store_explicit<long> third_party/libc++/src/include/__atomic/atomic.h:298:8 (d8+0xb88d2f) #3 Release_Store src/base/atomicops.h:337:3 (d8+0xb88d2f) #4 v8::internal::MemoryChunkMetadata::SynchronizedHeapStore() src/heap/memory-chunk-metadata.cc:58:3 (d8+0xb88d2f) #5 v8::internal::MemoryChunk::InitializationMemoryFence() src/heap/memory-chunk.cc:96:15 (d8+0xb88f9b) (BuildId: eab9dd909ebe46e6) #6 v8::internal::PagedSpaceBase::MergeCompactionSpace(v8::internal::CompactionSpace*) src/heap/paged-spaces.cc:114:17 (d8+0xbb1cdb) (BuildId: eab9dd909ebe46e6) #7 v8::internal::EvacuationAllocator::Finalize() src/heap/evacuation-allocator.cc:76:39 (d8+0xa83c6c) (BuildId: eab9dd909ebe46e6) #8 Finalize src/heap/mark-compact.cc:4401:20 (d8+0xb50923) (BuildId: eab9dd909ebe46e6) #9 CreateAndExecuteEvacuationTasks src/heap/mark-compact.cc:4620:16 (d8+0xb50923) #10 v8::internal::MarkCompactCollector::EvacuatePagesInParallel() src/heap/mark-compact.cc:4766:24 (d8+0xb50923) #11 v8::internal::MarkCompactCollector::Evacuate() src/heap/mark-compact.cc:4803:5 (d8+0xb30af0) (BuildId: eab9dd909ebe46e6) #12 v8::internal::MarkCompactCollector::CollectGarbage() src/heap/mark-compact.cc:455:3 (d8+0xb2368a) (BuildId: eab9dd909ebe46e6) #13 v8::internal::Heap::MarkCompact() src/heap/heap.cc:2728:29 (d8+0xae7a74) (BuildId: eab9dd909ebe46e6) #14 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) src/heap/heap.cc:2369:5 (d8+0xae66c9) (BuildId: eab9dd909ebe46e6) #15 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1::operator()() const src/heap/heap.cc:1766:9 (d8+0xb09aeb) (BuildId: eab9dd909ebe46e6) #16 void heap::base::Stack::SetMarkerAndCallbackImpl<v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1>(heap::base::Stack*, void*, void const*) src/heap/base/stack.h:176:5 (d8+0xb09579) (BuildId: eab9dd909ebe46e6) #17 PushAllRegistersAndIterateStack push_registers_asm.cc (d8+0x1a1a166) (BuildId: eab9dd909ebe46e6) #18 SetMarkerIfNeededAndCallback<(lambda at ../../src/heap/heap.cc:1731:40)> src/heap/base/stack.h:82:7 (d8+0xadeb23) (BuildId: eab9dd909ebe46e6) #19 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) src/heap/heap.cc:1731:11 (d8+0xadeb23) #20 CollectAllGarbage src/heap/heap.cc:1405:3 (d8+0xae17ec) (BuildId: eab9dd909ebe46e6) #21 v8::internal::Heap::PreciseCollectAllGarbage(v8::base::Flags<v8::internal::GCFlag, unsigned char, unsigned char>, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) src/heap/heap.cc:1555:3 (d8+0xae17ec) #22 v8::internal::(anonymous namespace)::InvokeGC(v8::Isolate*, v8::internal::(anonymous namespace)::GCOptions) src/extensions/gc-extension.cc:203:17 (d8+0xa1f6ee) (BuildId: eab9dd909ebe46e6) #23 v8::internal::GCExtension::GC(v8::FunctionCallbackInfo<v8::Value> const&) src/extensions/gc-extension.cc:276:5 (d8+0xa1e9af) (BuildId: eab9dd909ebe46e6) #24 Builtins_CallApiCallbackGeneric setup-isolate-deserialize.cc (d8+0x2714b6d) (BuildId: eab9dd909ebe46e6) #25 v8::internal::Execution::CallScript(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>) src/execution/execution.cc:517:10 (d8+0x9cc745) (BuildId: eab9dd909ebe46e6) #26 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2141:7 (d8+0x75296a) (BuildId: eab9dd909ebe46e6) #27 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2105:10 (d8+0x752220) (BuildId: eab9dd909ebe46e6) #28 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::ReportExceptions, v8::Global<v8::Value>*) src/d8/d8.cc:970:44 (d8+0x7102fc) (BuildId: eab9dd909ebe46e6) #29 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4726:10 (d8+0x728db1) (BuildId: eab9dd909ebe46e6) #30 v8::SourceGroup::ExecuteInThread() src/d8/d8.cc:4771:11 (d8+0x729332) (BuildId: eab9dd909ebe46e6) #31 v8::SourceGroup::IsolateThread::Run() src/d8/d8.h:119:35 (d8+0x731083) (BuildId: eab9dd909ebe46e6) #32 NotifyStartedAndRun src/base/platform/platform.h:618:5 (d8+0x2aaf769) (BuildId: eab9dd909ebe46e6) #33 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1213:11 (d8+0x2aaf769) Previous read of size 8 at 0x72940002d040 by main thread: #0 heap src/heap/memory-chunk-metadata.h:67:12 (d8+0x78625c) (BuildId: eab9dd909ebe46e6) #1 GetHeap src/heap/memory-chunk-inl.h:35:51 (d8+0x78625c) #2 GetHeapFromWritableObject src/execution/isolate-utils-inl.h:24:17 (d8+0x78625c) #3 GetIsolateFromWritableObject src/execution/isolate-utils-inl.h:32:28 (d8+0x78625c) #4 v8::internal::Name::GetRawHashFromForwardingTable(unsigned int) const src/objects/name-inl.h:167:22 (d8+0x78625c) #5 RawHash src/objects/name-inl.h:200:12 (d8+0xff1440) (BuildId: eab9dd909ebe46e6) #6 raw_hash src/objects/string-forwarding-table-inl.h:133:46 (d8+0xff1440) #7 v8::internal::StringForwardingTable::GetRawHash(v8::internal::PtrComprCageBase, int) const src/objects/string-forwarding-table.cc:307:41 (d8+0xff1440) #8 v8::internal::Name::GetRawHashFromForwardingTable(unsigned int) const src/objects/name-inl.h:169:46 (d8+0x7862f9) (BuildId: eab9dd909ebe46e6) #9 EnsureRawHash src/objects/name-inl.h:178:12 (d8+0x10069d0) (BuildId: eab9dd909ebe46e6) #10 v8::internal::String::SlowAsIntegerIndex(unsigned long*) src/objects/string.cc:1683:22 (d8+0x10069d0) #11 AsIntegerIndex src/objects/string-inl.h:1442:10 (d8+0xf71e14) (BuildId: eab9dd909ebe46e6) #12 AsIntegerIndex src/objects/name-inl.h:278:48 (d8+0xf71e14) #13 v8::internal::PropertyKey::PropertyKey(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, bool*) src/objects/lookup.cc:40:15 (d8+0xf71e14) #14 v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::MaybeHandle<v8::internal::Object>, v8::internal::StoreOrigin, v8::Maybe<v8::internal::ShouldThrow>) src/runtime/runtime-object.cc:392:15 (d8+0x11dbdd6) (BuildId: eab9dd909ebe46e6) #15 SetObjectProperty src/runtime/runtime-object.cc:413:10 (d8+0x11e2048) (BuildId: eab9dd909ebe46e6) #16 __RT_impl_Runtime_SetKeyedProperty src/runtime/runtime-object.cc:729:3 (d8+0x11e2048) #17 v8::internal::Runtime_SetKeyedProperty(int, unsigned long*, v8::internal::Isolate*) src/runtime/runtime-object.cc:721:1 (d8+0x11e2048) #18 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit setup-isolate-deserialize.cc (d8+0x2814f35) (BuildId: eab9dd909ebe46e6) #19 v8::internal::Execution::CallScript(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>) src/execution/execution.cc:517:10 (d8+0x9cc745) (BuildId: eab9dd909ebe46e6) #20 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2141:7 (d8+0x75296a) (BuildId: eab9dd909ebe46e6) #21 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2105:10 (d8+0x752220) (BuildId: eab9dd909ebe46e6) #22 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::ReportExceptions, v8::Global<v8::Value>*) src/d8/d8.cc:970:44 (d8+0x7102fc) (BuildId: eab9dd909ebe46e6) #23 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4726:10 (d8+0x728db1) (BuildId: eab9dd909ebe46e6) #24 v8::Shell::RunMainIsolate(v8::Isolate*, bool) src/d8/d8.cc:5660:37 (d8+0x72ec31) (BuildId: eab9dd909ebe46e6) #25 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5569:18 (d8+0x72e7c5) (BuildId: eab9dd909ebe46e6) #26 v8::Shell::Main(int, char**) src/d8/d8.cc:6422:18 (d8+0x7307b5) (BuildId: eab9dd909ebe46e6) #27 main src/d8/d8.cc:6514:43 (d8+0x730f10) (BuildId: eab9dd909ebe46e6) Location is heap block of size 8528 at 0x72940002d000 allocated by thread T22: #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp:64:3 (d8+0x6f4252) (BuildId: eab9dd909ebe46e6) #1 v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) src/heap/memory-allocator.cc:426:16 (d8+0xb873db) (BuildId: eab9dd909ebe46e6) #2 v8::internal::PagedSpaceBase::TryExpand(v8::internal::LocalHeap*, v8::internal::AllocationOrigin) src/heap/paged-spaces.cc:304:52 (d8+0xbb2afe) (BuildId: eab9dd909ebe46e6) #3 TryExpandAndAllocate src/heap/main-allocator.cc:737:18 (d8+0xb1f525) (BuildId: eab9dd909ebe46e6) #4 v8::internal::PagedSpaceAllocatorPolicy::RefillLab(int, v8::internal::AllocationOrigin) src/heap/main-allocator.cc:710:9 (d8+0xb1f525) #5 v8::internal::PagedSpaceAllocatorPolicy::EnsureAllocation(int, v8::internal::AllocationAlignment, v8::internal::AllocationOrigin) src/heap/main-allocator.cc:650:10 (d8+0xb1e291) (BuildId: eab9dd909ebe46e6) #6 v8::internal::MainAllocator::EnsureAllocation(int, v8::internal::AllocationAlignment, v8::internal::AllocationOrigin) src/heap/main-allocator.cc:332:29 (d8+0xb1ce9d) (BuildId: eab9dd909ebe46e6) #7 v8::internal::MainAllocator::AllocateRawSlowUnaligned(int, v8::internal::AllocationOrigin) src/heap/main-allocator.cc:213:8 (d8+0xb1cbc4) (BuildId: eab9dd909ebe46e6) #8 v8::internal::MainAllocator::AllocateRawSlow(int, v8::internal::AllocationAlignment, v8::internal::AllocationOrigin) src/heap/main-allocator.cc:206:13 (d8+0xb1cb5e) (BuildId: eab9dd909ebe46e6) #9 AllocateRaw src/heap/main-allocator-inl.h:38:31 (d8+0xacdfad) (BuildId: eab9dd909ebe46e6) #10 AllocateRaw<(v8::internal::AllocationType)5> src/heap/heap-allocator-inl.h:144:49 (d8+0xacdfad) #11 AllocateRaw src/heap/heap-allocator-inl.h:199:14 (d8+0xacdfad) #12 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) src/heap/heap-allocator.cc:113:29 (d8+0xacdfad) #13 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) src/heap/heap-allocator.cc:148:7 (d8+0xacfb6b) (BuildId: eab9dd909ebe46e6) #14 AllocateRawWith<(v8::internal::HeapAllocator::AllocationRetryMode)1> src/heap/heap-allocator-inl.h:259:16 (d8+0x128cf96) (BuildId: eab9dd909ebe46e6) #15 v8::internal::Heap::AllocateRawOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) src/heap/heap-inl.h:244:9 (d8+0x128cf96) #16 Allocate src/snapshot/deserializer.cc:1389:50 (d8+0x12898c9) (BuildId: eab9dd909ebe46e6) #17 v8::internal::Deserializer<v8::internal::Isolate>::ReadObject(v8::internal::SnapshotSpace) src/snapshot/deserializer.cc:728:7 (d8+0x12898c9) #18 ReadNewObject<v8::internal::SlotAccessorForRootSlots> src/snapshot/deserializer.cc:983:36 (d8+0x128b087) (BuildId: eab9dd909ebe46e6) #19 int v8::internal::Deserializer<v8::internal::Isolate>::ReadSingleBytecodeData<v8::internal::SlotAccessorForRootSlots>(unsigned char, v8::internal::SlotAccessorForRootSlots) src/snapshot/deserializer.cc:898:14 (d8+0x128b087) #20 ReadData src/snapshot/deserializer.cc:887:16 (d8+0x128a6df) (BuildId: eab9dd909ebe46e6) #21 v8::internal::Deserializer<v8::internal::Isolate>::VisitRootPointers(v8::internal::Root, char const*, v8::internal::FullObjectSlot, v8::internal::FullObjectSlot) src/snapshot/deserializer.cc:333:3 (d8+0x128a6df) #22 v8::internal::RootVisitor::VisitRootPointer(v8::internal::Root, char const*, v8::internal::FullObjectSlot) src/objects/visitors.h:77:5 (d8+0xa06754) (BuildId: eab9dd909ebe46e6) #23 v8::internal::(anonymous namespace)::IterateObjectCache(v8::internal::Isolate*, std::__Cr::vector<v8::internal::Tagged<v8::internal::Object>, std::__Cr::allocator<v8::internal::Tagged<v8::internal::Object>>>*, v8::internal::Root, v8::internal::RootVisitor*) src/snapshot/serializer-deserializer.cc:22:14 (d8+0x129f736) (BuildId: eab9dd909ebe46e6) #24 v8::internal::SerializerDeserializer::IterateStartupObjectCache(v8::internal::Isolate*, v8::internal::RootVisitor*) src/snapshot/serializer-deserializer.cc:38:3 (d8+0x129f65c) (BuildId: eab9dd909ebe46e6) #25 v8::internal::StartupDeserializer::DeserializeIntoIsolate() src/snapshot/startup-deserializer.cc:46:5 (d8+0x12ba796) (BuildId: eab9dd909ebe46e6) #26 v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) src/execution/isolate.cc:5555:26 (d8+0x9f9b78) (BuildId: eab9dd909ebe46e6) #27 v8::internal::Isolate::InitWithSnapshot(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) src/execution/isolate.cc:5036:10 (d8+0x9fa3c9) (BuildId: eab9dd909ebe46e6) #28 v8::internal::Snapshot::Initialize(v8::internal::Isolate*) src/snapshot/snapshot.cc:198:19 (d8+0x12a88d3) (BuildId: eab9dd909ebe46e6) #29 v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) src/api/api.cc:9869:8 (d8+0x77ed8b) (BuildId: eab9dd909ebe46e6) #30 v8::Isolate::New(v8::Isolate::CreateParams const&) src/api/api.cc:9903:3 (d8+0x77f015) (BuildId: eab9dd909ebe46e6) #31 v8::SourceGroup::ExecuteInThread() src/d8/d8.cc:4741:22 (d8+0x728ea1) (BuildId: eab9dd909ebe46e6) #32 v8::SourceGroup::IsolateThread::Run() src/d8/d8.h:119:35 (d8+0x731083) (BuildId: eab9dd909ebe46e6) #33 NotifyStartedAndRun src/base/platform/platform.h:618:5 (d8+0x2aaf769) (BuildId: eab9dd909ebe46e6) #34 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1213:11 (d8+0x2aaf769) Mutex M0 (0x7238000070a0) created at: #0 pthread_mutex_init /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1327:3 (d8+0x6743b3) (BuildId: eab9dd909ebe46e6) #1 InitializeRecursiveNativeHandle src/base/platform/mutex.cc:112:12 (d8+0x2aa7c2a) (BuildId: eab9dd909ebe46e6) #2 v8::base::RecursiveMutex::RecursiveMutex() src/base/platform/mutex.cc:187:3 (d8+0x2aa7c2a) #3 v8::internal::IsolateSafepoint::IsolateSafepoint(v8::internal::Heap*) src/heap/safepoint.cc:28:19 (d8+0xbc1a18) (BuildId: eab9dd909ebe46e6) #4 make_unique<v8::internal::IsolateSafepoint, v8::internal::Heap *> third_party/libc++/src/include/__memory/unique_ptr.h:634:30 (d8+0xad4afb) (BuildId: eab9dd909ebe46e6) #5 v8::internal::Heap::Heap() src/heap/heap.cc:261:18 (d8+0xad4afb) #6 v8::internal::Isolate::Isolate(v8::internal::IsolateGroup*) src/execution/isolate.cc:3994:10 (d8+0x9f3887) (BuildId: eab9dd909ebe46e6) #7 Allocate src/execution/isolate.cc:3934:40 (d8+0x9f170c) (BuildId: eab9dd909ebe46e6) #8 v8::internal::Isolate::New() src/execution/isolate.cc:3924:34 (d8+0x9f170c) #9 Allocate src/api/api.cc:9796:37 (d8+0x77f007) (BuildId: eab9dd909ebe46e6) #10 v8::Isolate::New(v8::Isolate::CreateParams const&) src/api/api.cc:9902:25 (d8+0x77f007) #11 v8::SourceGroup::ExecuteInThread() src/d8/d8.cc:4741:22 (d8+0x728ea1) (BuildId: eab9dd909ebe46e6) #12 v8::SourceGroup::IsolateThread::Run() src/d8/d8.h:119:35 (d8+0x731083) (BuildId: eab9dd909ebe46e6) #13 NotifyStartedAndRun src/base/platform/platform.h:618:5 (d8+0x2aaf769) (BuildId: eab9dd909ebe46e6) #14 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1213:11 (d8+0x2aaf769) Mutex M1 (0x72c400023298) created at: #0 pthread_mutex_init /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1327:3 (d8+0x6743b3) (BuildId: eab9dd909ebe46e6) #1 InitializeNativeHandle src/base/platform/mutex.cc:99:12 (d8+0x2aa7b1b) (BuildId: eab9dd909ebe46e6) #2 v8::base::Mutex::Mutex() src/base/platform/mutex.cc:152:3 (d8+0x2aa7b1b) #3 v8::internal::Heap::Heap() src/heap/heap.cc:258:7 (d8+0xad4be2) (BuildId: eab9dd909ebe46e6) #4 v8::internal::Isolate::Isolate(v8::internal::IsolateGroup*) src/execution/isolate.cc:3994:10 (d8+0x9f3887) (BuildId: eab9dd909ebe46e6) #5 Allocate src/execution/isolate.cc:3934:40 (d8+0x9f170c) (BuildId: eab9dd909ebe46e6) #6 v8::internal::Isolate::New() src/execution/isolate.cc:3924:34 (d8+0x9f170c) #7 Allocate src/api/api.cc:9796:37 (d8+0x77f007) (BuildId: eab9dd909ebe46e6) #8 v8::Isolate::New(v8::Isolate::CreateParams const&) src/api/api.cc:9902:25 (d8+0x77f007) #9 v8::SourceGroup::ExecuteInThread() src/d8/d8.cc:4741:22 (d8+0x728ea1) (BuildId: eab9dd909ebe46e6) #10 v8::SourceGroup::IsolateThread::Run() src/d8/d8.h:119:35 (d8+0x731083) (BuildId: eab9dd909ebe46e6) #11 NotifyStartedAndRun src/base/platform/platform.h:618:5 (d8+0x2aaf769) (BuildId: eab9dd909ebe46e6) #12 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1213:11 (d8+0x2aaf769) Mutex M2 (0x722c00000338) created at: #0 pthread_mutex_init /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1327:3 (d8+0x6743b3) (BuildId: eab9dd909ebe46e6) #1 InitializeNativeHandle src/base/platform/mutex.cc:99:12 (d8+0x2aa7b1b) (BuildId: eab9dd909ebe46e6) #2 v8::base::Mutex::Mutex() src/base/platform/mutex.cc:152:3 (d8+0x2aa7b1b) #3 v8::internal::PagedSpaceBase::PagedSpaceBase(v8::internal::Heap*, v8::internal::AllocationSpace, v8::internal::Executability, std::__Cr::unique_ptr<v8::internal::FreeList, std::__Cr::default_delete<v8::internal::FreeList>>, v8::internal::CompactionSpaceKind) src/heap/paged-spaces.cc:65:17 (d8+0xbb1991) (BuildId: eab9dd909ebe46e6) #4 PagedSpace src/heap/paged-spaces.h:368:9 (d8+0xaf4689) (BuildId: eab9dd909ebe46e6) #5 SharedSpace src/heap/paged-spaces.h:516:9 (d8+0xaf4689) #6 make_unique<v8::internal::SharedSpace, v8::internal::Heap *> third_party/libc++/src/include/__memory/unique_ptr.h:634:30 (d8+0xaf4689) #7 v8::internal::Heap::SetUpSpaces(v8::internal::LinearAllocationArea&, v8::internal::LinearAllocationArea&) src/heap/heap.cc:5864:28 (d8+0xaf4689) #8 v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) src/execution/isolate.cc:5408:9 (d8+0x9f9243) (BuildId: eab9dd909ebe46e6) #9 v8::internal::Isolate::InitWithSnapshot(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) src/execution/isolate.cc:5036:10 (d8+0x9fa3c9) (BuildId: eab9dd909ebe46e6) #10 v8::internal::Snapshot::Initialize(v8::internal::Isolate*) src/snapshot/snapshot.cc:198:19 (d8+0x12a88d3) (BuildId: eab9dd909ebe46e6) #11 v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) src/api/api.cc:9869:8 (d8+0x77ed8b) (BuildId: eab9dd909ebe46e6) #12 v8::Isolate::New(v8::Isolate::CreateParams const&) src/api/api.cc:9903:3 (d8+0x77f015) (BuildId: eab9dd909ebe46e6) #13 v8::Shell::Main(int, char**) src/d8/d8.cc:6301:22 (d8+0x7300b6) (BuildId: eab9dd909ebe46e6) #14 main src/d8/d8.cc:6514:43 (d8+0x730f10) (BuildId: eab9dd909ebe46e6) Thread T22 'IsolateThread' (tid=144403, running) created by main thread at: #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1023:3 (d8+0x6729e1) (BuildId: eab9dd909ebe46e6) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:1245:14 (d8+0x2aaf659) (BuildId: eab9dd909ebe46e6) #2 StartExecuteInThread src/d8/d8.cc:4789:5 (d8+0x72e72f) (BuildId: eab9dd909ebe46e6) #3 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5562:32 (d8+0x72e72f) #4 v8::Shell::Main(int, char**) src/d8/d8.cc:6422:18 (d8+0x7307b5) (BuildId: eab9dd909ebe46e6) #5 main src/d8/d8.cc:6514:43 (d8+0x730f10) (BuildId: eab9dd909ebe46e6) SUMMARY: ThreadSanitizer: data race third_party/libc++/src/include/__atomic/cxx_atomic_impl.h:299:3 in __cxx_atomic_store<long> ================== ThreadSanitizer: reported 1 warnings Run #2 Exit code: 0 [0x00] Result: PASS Expected outcomes: PASS Duration: 00:00:440 Stderr: V8 is running with experimental features enabled. Stability and security will suffer.