WARNING: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or destroyed) (pid=5297)
    #0 pthread_mutex_lock sanitizer_common/sanitizer_common_interceptors.inc:4481:3 (d8+0x536ceb) (BuildId: e7949a0603ee0889)
    #1 LockNativeHandle src/base/platform/mutex.cc:128:16 (d8+0x1fbfa49) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Lock() src/base/platform/mutex.cc:166:3 (d8+0x1fbfa49)
    #3 LockGuard src/base/platform/mutex.h:311:30 (d8+0x10f75a0) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:34:20 (d8+0x10f75a0)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f75a0)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Mutex M0 (0x7b24000090f0) created at:
    #0 pthread_mutex_lock sanitizer_common/sanitizer_common_interceptors.inc:4481:3 (d8+0x536ceb) (BuildId: e7949a0603ee0889)
    #1 LockNativeHandle src/base/platform/mutex.cc:128:16 (d8+0x1fbfa49) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Lock() src/base/platform/mutex.cc:166:3 (d8+0x1fbfa49)
    #3 LockGuard src/base/platform/mutex.h:311:30 (d8+0x10f75a0) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:34:20 (d8+0x10f75a0)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f75a0)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or destroyed) src/base/platform/mutex.cc:128:16 in LockNativeHandle
==================
==================
WARNING: ThreadSanitizer: heap-use-after-free (pid=5297)
  Read of size 1 at 0x7b2400009118 by main thread (mutexes: write M0):
    #0 Register src/tasks/cancelable-task.cc:35:7 (d8+0x10f75ac) (BuildId: e7949a0603ee0889)
    #1 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f75ac)
    #2 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #3 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #4 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #5 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #6 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #7 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #8 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #9 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Previous write of size 8 at 0x7b2400009118 by thread T9:
    #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp:126:3 (d8+0x59aadf) (BuildId: e7949a0603ee0889)
    #1 v8::internal::Isolate::~Isolate() src/execution/isolate.cc:3814:3 (d8+0x879749) (BuildId: e7949a0603ee0889)
    #2 v8::internal::Isolate::Delete(v8::internal::Isolate*) src/execution/isolate.cc:3402:12 (d8+0x875e8f) (BuildId: e7949a0603ee0889)
    #3 v8::Isolate::Dispose() src/api/api.cc:9095:3 (d8+0x5ecc4f) (BuildId: e7949a0603ee0889)
    #4 v8::Shell::OnExit(v8::Isolate*, bool) src/d8/d8.cc:3874:12 (d8+0x5c7272) (BuildId: e7949a0603ee0889)
    #5 v8::Shell::QuitOnce(v8::FunctionCallbackInfo<v8::Value>*) src/d8/d8.cc:2983:3 (d8+0x5c7220) (BuildId: e7949a0603ee0889)
    #6 operator() src/base/once.h:101:32 (d8+0x5e069d) (BuildId: e7949a0603ee0889)
    #7 __invoke<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:394:23 (d8+0x5e069d)
    #8 __call<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:479:9 (d8+0x5e069d)
    #9 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:232:12 (d8+0x5e069d)
    #10 void std::Cr::__function::__policy_invoker<void ()>::__call_impl<std::Cr::__function::__default_alloc_func<void v8::base::CallOnce<v8::FunctionCallbackInfo<v8::Value>*, void>(std::Cr::atomic<unsigned char>*, v8::base::FunctionWithArgs<v8::FunctionCallbackInfo<v8::Value>*>::type, v8::FunctionCallbackInfo<v8::Value>*)::'lambda'(), void ()>>(std::Cr::__function::__policy_storage const*) buildtools/third_party/libc++/trunk/include/__functional/function.h:711:16 (d8+0x5e069d)
    #11 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:842:16 (d8+0x1fbebb7) (BuildId: e7949a0603ee0889)
    #12 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:1152:12 (d8+0x1fbebb7)
    #13 v8::base::CallOnceImpl(std::Cr::atomic<unsigned char>*, std::Cr::function<void ()>) src/base/once.cc:36:5 (d8+0x1fbebb7)
    #14 CallOnce<v8::FunctionCallbackInfo<v8::Value> *, void> src/base/once.h:101:5 (d8+0x5c80df) (BuildId: e7949a0603ee0889)
    #15 v8::Shell::Quit(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2988:3 (d8+0x5c80df)
    #16 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #17 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x676bfe) (BuildId: e7949a0603ee0889)
    #18 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:148:5 (d8+0x675bbf) (BuildId: e7949a0603ee0889)
    #19 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #20 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #21 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #22 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #23 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #24 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #25 v8::Worker::ExecuteInThread() src/d8/d8.cc:4736:13 (d8+0x5ce6c1) (BuildId: e7949a0603ee0889)
    #26 v8::Worker::WorkerThread::Run() src/d8/d8.cc:4564:11 (d8+0x5ce0c4) (BuildId: e7949a0603ee0889)
    #27 NotifyStartedAndRun src/base/platform/platform.h:596:5 (d8+0x1fc7c52) (BuildId: e7949a0603ee0889)
    #28 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1123:11 (d8+0x1fc7c52)

  Mutex M0 (0x7b4400002018) 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:1331:3 (d8+0x516300) (BuildId: e7949a0603ee0889)
    #1 InitializeNativeHandle src/base/platform/mutex.cc:99:12 (d8+0x1fbf9eb) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Mutex() src/base/platform/mutex.cc:152:3 (d8+0x1fbf9eb)
    #3 Worker src/d8/d8.cc:4526:9 (d8+0x5e0593) (BuildId: e7949a0603ee0889)
    #4 v8::Worker* std::Cr::construct_at[abi:v160000]<v8::Worker, char*, v8::Worker*>(v8::Worker*, char*&&) buildtools/third_party/libc++/trunk/include/__memory/construct_at.h:36:48 (d8+0x5e0593)
    #5 construct<v8::Worker, char *, void, void> buildtools/third_party/libc++/trunk/include/__memory/allocator_traits.h:297:9 (d8+0x5e02ba) (BuildId: e7949a0603ee0889)
    #6 __shared_ptr_emplace<char *> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:276:9 (d8+0x5e02ba)
    #7 std::Cr::shared_ptr<v8::Worker> std::Cr::allocate_shared[abi:v160000]<v8::Worker, std::Cr::allocator<v8::Worker>, char*, void>(std::Cr::allocator<v8::Worker> const&, char*&&) buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:937:55 (d8+0x5e02ba)
    #8 make_shared<v8::Worker, char *, void> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:946:12 (d8+0x5c5ee4) (BuildId: e7949a0603ee0889)
    #9 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2888:19 (d8+0x5c5ee4)
    #10 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #11 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #12 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #13 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #14 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #15 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #16 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #17 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #18 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #19 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #20 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #21 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #22 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Thread T9 'WorkerThread' (tid=5330, 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:1038:3 (d8+0x51498b) (BuildId: e7949a0603ee0889)
    #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:1155:14 (d8+0x1fc7b66) (BuildId: e7949a0603ee0889)
    #2 v8::Worker::StartWorkerThread(v8::Isolate*, std::Cr::shared_ptr<v8::Worker>) src/d8/d8.cc:4548:16 (d8+0x5c61b7) (BuildId: e7949a0603ee0889)
    #3 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2894:10 (d8+0x5c602d) (BuildId: e7949a0603ee0889)
    #4 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #5 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #6 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #7 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #8 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #9 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #10 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #11 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #13 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #14 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #15 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #16 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: heap-use-after-free src/tasks/cancelable-task.cc:35:7 in Register
==================
==================
WARNING: ThreadSanitizer: heap-use-after-free (pid=5297)
  Atomic read of size 1 at 0x7b24000090f0 by main thread (mutexes: write M0):
    #0 pthread_mutex_unlock sanitizer_common/sanitizer_common_interceptors.inc:4495:3 (d8+0x536ebb) (BuildId: e7949a0603ee0889)
    #1 UnlockNativeHandle src/base/platform/mutex.cc:135:16 (d8+0x1fbfa79) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Unlock() src/base/platform/mutex.cc:173:3 (d8+0x1fbfa79)
    #3 ~LockGuard src/base/platform/mutex.h:316:30 (d8+0x10f7651) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:47:1 (d8+0x10f7651)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f7651)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Previous write of size 8 at 0x7b24000090f0 by thread T9:
    #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp:126:3 (d8+0x59aadf) (BuildId: e7949a0603ee0889)
    #1 v8::internal::Isolate::~Isolate() src/execution/isolate.cc:3814:3 (d8+0x879749) (BuildId: e7949a0603ee0889)
    #2 v8::internal::Isolate::Delete(v8::internal::Isolate*) src/execution/isolate.cc:3402:12 (d8+0x875e8f) (BuildId: e7949a0603ee0889)
    #3 v8::Isolate::Dispose() src/api/api.cc:9095:3 (d8+0x5ecc4f) (BuildId: e7949a0603ee0889)
    #4 v8::Shell::OnExit(v8::Isolate*, bool) src/d8/d8.cc:3874:12 (d8+0x5c7272) (BuildId: e7949a0603ee0889)
    #5 v8::Shell::QuitOnce(v8::FunctionCallbackInfo<v8::Value>*) src/d8/d8.cc:2983:3 (d8+0x5c7220) (BuildId: e7949a0603ee0889)
    #6 operator() src/base/once.h:101:32 (d8+0x5e069d) (BuildId: e7949a0603ee0889)
    #7 __invoke<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:394:23 (d8+0x5e069d)
    #8 __call<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:479:9 (d8+0x5e069d)
    #9 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:232:12 (d8+0x5e069d)
    #10 void std::Cr::__function::__policy_invoker<void ()>::__call_impl<std::Cr::__function::__default_alloc_func<void v8::base::CallOnce<v8::FunctionCallbackInfo<v8::Value>*, void>(std::Cr::atomic<unsigned char>*, v8::base::FunctionWithArgs<v8::FunctionCallbackInfo<v8::Value>*>::type, v8::FunctionCallbackInfo<v8::Value>*)::'lambda'(), void ()>>(std::Cr::__function::__policy_storage const*) buildtools/third_party/libc++/trunk/include/__functional/function.h:711:16 (d8+0x5e069d)
    #11 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:842:16 (d8+0x1fbebb7) (BuildId: e7949a0603ee0889)
    #12 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:1152:12 (d8+0x1fbebb7)
    #13 v8::base::CallOnceImpl(std::Cr::atomic<unsigned char>*, std::Cr::function<void ()>) src/base/once.cc:36:5 (d8+0x1fbebb7)
    #14 CallOnce<v8::FunctionCallbackInfo<v8::Value> *, void> src/base/once.h:101:5 (d8+0x5c80df) (BuildId: e7949a0603ee0889)
    #15 v8::Shell::Quit(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2988:3 (d8+0x5c80df)
    #16 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #17 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x676bfe) (BuildId: e7949a0603ee0889)
    #18 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:148:5 (d8+0x675bbf) (BuildId: e7949a0603ee0889)
    #19 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #20 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #21 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #22 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #23 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #24 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #25 v8::Worker::ExecuteInThread() src/d8/d8.cc:4736:13 (d8+0x5ce6c1) (BuildId: e7949a0603ee0889)
    #26 v8::Worker::WorkerThread::Run() src/d8/d8.cc:4564:11 (d8+0x5ce0c4) (BuildId: e7949a0603ee0889)
    #27 NotifyStartedAndRun src/base/platform/platform.h:596:5 (d8+0x1fc7c52) (BuildId: e7949a0603ee0889)
    #28 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1123:11 (d8+0x1fc7c52)

  Mutex M0 (0x7b4400002018) 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:1331:3 (d8+0x516300) (BuildId: e7949a0603ee0889)
    #1 InitializeNativeHandle src/base/platform/mutex.cc:99:12 (d8+0x1fbf9eb) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Mutex() src/base/platform/mutex.cc:152:3 (d8+0x1fbf9eb)
    #3 Worker src/d8/d8.cc:4526:9 (d8+0x5e0593) (BuildId: e7949a0603ee0889)
    #4 v8::Worker* std::Cr::construct_at[abi:v160000]<v8::Worker, char*, v8::Worker*>(v8::Worker*, char*&&) buildtools/third_party/libc++/trunk/include/__memory/construct_at.h:36:48 (d8+0x5e0593)
    #5 construct<v8::Worker, char *, void, void> buildtools/third_party/libc++/trunk/include/__memory/allocator_traits.h:297:9 (d8+0x5e02ba) (BuildId: e7949a0603ee0889)
    #6 __shared_ptr_emplace<char *> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:276:9 (d8+0x5e02ba)
    #7 std::Cr::shared_ptr<v8::Worker> std::Cr::allocate_shared[abi:v160000]<v8::Worker, std::Cr::allocator<v8::Worker>, char*, void>(std::Cr::allocator<v8::Worker> const&, char*&&) buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:937:55 (d8+0x5e02ba)
    #8 make_shared<v8::Worker, char *, void> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:946:12 (d8+0x5c5ee4) (BuildId: e7949a0603ee0889)
    #9 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2888:19 (d8+0x5c5ee4)
    #10 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #11 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #12 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #13 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #14 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #15 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #16 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #17 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #18 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #19 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #20 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #21 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #22 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Thread T9 'WorkerThread' (tid=5330, 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:1038:3 (d8+0x51498b) (BuildId: e7949a0603ee0889)
    #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:1155:14 (d8+0x1fc7b66) (BuildId: e7949a0603ee0889)
    #2 v8::Worker::StartWorkerThread(v8::Isolate*, std::Cr::shared_ptr<v8::Worker>) src/d8/d8.cc:4548:16 (d8+0x5c61b7) (BuildId: e7949a0603ee0889)
    #3 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2894:10 (d8+0x5c602d) (BuildId: e7949a0603ee0889)
    #4 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #5 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #6 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #7 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #8 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #9 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #10 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #11 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #13 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #14 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #15 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #16 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: heap-use-after-free src/base/platform/mutex.cc:135:16 in UnlockNativeHandle
==================
==================
WARNING: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) (pid=5297)
    #0 pthread_mutex_unlock sanitizer_common/sanitizer_common_interceptors.inc:4495:3 (d8+0x536ebb) (BuildId: e7949a0603ee0889)
    #1 UnlockNativeHandle src/base/platform/mutex.cc:135:16 (d8+0x1fbfa79) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Unlock() src/base/platform/mutex.cc:173:3 (d8+0x1fbfa79)
    #3 ~LockGuard src/base/platform/mutex.h:316:30 (d8+0x10f7651) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:47:1 (d8+0x10f7651)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f7651)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Mutex M0 (0x7b24000090f0) created at:
    #0 pthread_mutex_lock sanitizer_common/sanitizer_common_interceptors.inc:4481:3 (d8+0x536ceb) (BuildId: e7949a0603ee0889)
    #1 LockNativeHandle src/base/platform/mutex.cc:128:16 (d8+0x1fbfa49) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Lock() src/base/platform/mutex.cc:166:3 (d8+0x1fbfa49)
    #3 LockGuard src/base/platform/mutex.h:311:30 (d8+0x10f75a0) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:34:20 (d8+0x10f75a0)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f75a0)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread) src/base/platform/mutex.cc:135:16 in UnlockNativeHandle
==================
==================
WARNING: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or destroyed) (pid=5297)
    #0 pthread_mutex_unlock sanitizer_common/sanitizer_common_interceptors.inc:4495:3 (d8+0x536ebb) (BuildId: e7949a0603ee0889)
    #1 UnlockNativeHandle src/base/platform/mutex.cc:135:16 (d8+0x1fbfa79) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Unlock() src/base/platform/mutex.cc:173:3 (d8+0x1fbfa79)
    #3 ~LockGuard src/base/platform/mutex.h:316:30 (d8+0x10f7651) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:47:1 (d8+0x10f7651)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f7651)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Mutex M0 (0x7b24000090f0) created at:
    #0 pthread_mutex_lock sanitizer_common/sanitizer_common_interceptors.inc:4481:3 (d8+0x536ceb) (BuildId: e7949a0603ee0889)
    #1 LockNativeHandle src/base/platform/mutex.cc:128:16 (d8+0x1fbfa49) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Lock() src/base/platform/mutex.cc:166:3 (d8+0x1fbfa49)
    #3 LockGuard src/base/platform/mutex.h:311:30 (d8+0x10f75a0) (BuildId: e7949a0603ee0889)
    #4 Register src/tasks/cancelable-task.cc:34:20 (d8+0x10f75a0)
    #5 v8::internal::Cancelable::Cancelable(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.h:96:38 (d8+0x10f75a0)
    #6 v8::internal::CancelableTask::CancelableTask(v8::internal::CancelableTaskManager*) src/tasks/cancelable-task.cc:125:7 (d8+0x10f74f3) (BuildId: e7949a0603ee0889)
    #7 TerminateTask src/d8/d8.cc:4596:9 (d8+0x5c6e7a) (BuildId: e7949a0603ee0889)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4637:11 (d8+0x5c6e7a)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or destroyed) src/base/platform/mutex.cc:135:16 in UnlockNativeHandle
==================
==================
WARNING: ThreadSanitizer: heap-use-after-free (pid=5297)
  Read of size 8 at 0x7bc000060008 by main thread (mutexes: write M0):
    #0 v8::internal::StackGuard::RequestInterrupt(v8::internal::StackGuard::InterruptFlag) src/execution/stack-guard.cc:140:26 (d8+0x8990a0) (BuildId: e7949a0603ee0889)
    #1 RequestTerminateExecution src/execution/stack-guard.h:65:3 (d8+0x61f632) (BuildId: e7949a0603ee0889)
    #2 v8::Isolate::TerminateExecution() src/api/api.cc:8905:29 (d8+0x61f632)
    #3 v8::Worker::Terminate() src/d8/d8.cc:4642:13 (d8+0x5c6f55) (BuildId: e7949a0603ee0889)
    #4 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #5 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #6 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #7 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #8 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Previous write of size 8 at 0x7bc000060008 by thread T9:
    #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp:126:3 (d8+0x59aadf) (BuildId: e7949a0603ee0889)
    #1 v8::internal::IsolateAllocator::~IsolateAllocator() src/init/isolate-allocator.cc:141:3 (d8+0xae2931) (BuildId: e7949a0603ee0889)
    #2 operator() buildtools/third_party/libc++/trunk/include/__memory/unique_ptr.h:49:5 (d8+0x875e9c) (BuildId: e7949a0603ee0889)
    #3 reset buildtools/third_party/libc++/trunk/include/__memory/unique_ptr.h:281:7 (d8+0x875e9c)
    #4 v8::internal::Isolate::Delete(v8::internal::Isolate*) src/execution/isolate.cc:3404:21 (d8+0x875e9c)
    #5 v8::Isolate::Dispose() src/api/api.cc:9095:3 (d8+0x5ecc4f) (BuildId: e7949a0603ee0889)
    #6 v8::Shell::OnExit(v8::Isolate*, bool) src/d8/d8.cc:3874:12 (d8+0x5c7272) (BuildId: e7949a0603ee0889)
    #7 v8::Shell::QuitOnce(v8::FunctionCallbackInfo<v8::Value>*) src/d8/d8.cc:2983:3 (d8+0x5c7220) (BuildId: e7949a0603ee0889)
    #8 operator() src/base/once.h:101:32 (d8+0x5e069d) (BuildId: e7949a0603ee0889)
    #9 __invoke<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:394:23 (d8+0x5e069d)
    #10 __call<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:479:9 (d8+0x5e069d)
    #11 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:232:12 (d8+0x5e069d)
    #12 void std::Cr::__function::__policy_invoker<void ()>::__call_impl<std::Cr::__function::__default_alloc_func<void v8::base::CallOnce<v8::FunctionCallbackInfo<v8::Value>*, void>(std::Cr::atomic<unsigned char>*, v8::base::FunctionWithArgs<v8::FunctionCallbackInfo<v8::Value>*>::type, v8::FunctionCallbackInfo<v8::Value>*)::'lambda'(), void ()>>(std::Cr::__function::__policy_storage const*) buildtools/third_party/libc++/trunk/include/__functional/function.h:711:16 (d8+0x5e069d)
    #13 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:842:16 (d8+0x1fbebb7) (BuildId: e7949a0603ee0889)
    #14 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:1152:12 (d8+0x1fbebb7)
    #15 v8::base::CallOnceImpl(std::Cr::atomic<unsigned char>*, std::Cr::function<void ()>) src/base/once.cc:36:5 (d8+0x1fbebb7)
    #16 CallOnce<v8::FunctionCallbackInfo<v8::Value> *, void> src/base/once.h:101:5 (d8+0x5c80df) (BuildId: e7949a0603ee0889)
    #17 v8::Shell::Quit(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2988:3 (d8+0x5c80df)
    #18 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #19 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x676bfe) (BuildId: e7949a0603ee0889)
    #20 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:148:5 (d8+0x675bbf) (BuildId: e7949a0603ee0889)
    #21 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #22 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #23 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #24 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #25 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #26 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #27 v8::Worker::ExecuteInThread() src/d8/d8.cc:4736:13 (d8+0x5ce6c1) (BuildId: e7949a0603ee0889)
    #28 v8::Worker::WorkerThread::Run() src/d8/d8.cc:4564:11 (d8+0x5ce0c4) (BuildId: e7949a0603ee0889)
    #29 NotifyStartedAndRun src/base/platform/platform.h:596:5 (d8+0x1fc7c52) (BuildId: e7949a0603ee0889)
    #30 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1123:11 (d8+0x1fc7c52)

  Mutex M0 (0x7b4400002018) 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:1331:3 (d8+0x516300) (BuildId: e7949a0603ee0889)
    #1 InitializeNativeHandle src/base/platform/mutex.cc:99:12 (d8+0x1fbf9eb) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Mutex() src/base/platform/mutex.cc:152:3 (d8+0x1fbf9eb)
    #3 Worker src/d8/d8.cc:4526:9 (d8+0x5e0593) (BuildId: e7949a0603ee0889)
    #4 v8::Worker* std::Cr::construct_at[abi:v160000]<v8::Worker, char*, v8::Worker*>(v8::Worker*, char*&&) buildtools/third_party/libc++/trunk/include/__memory/construct_at.h:36:48 (d8+0x5e0593)
    #5 construct<v8::Worker, char *, void, void> buildtools/third_party/libc++/trunk/include/__memory/allocator_traits.h:297:9 (d8+0x5e02ba) (BuildId: e7949a0603ee0889)
    #6 __shared_ptr_emplace<char *> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:276:9 (d8+0x5e02ba)
    #7 std::Cr::shared_ptr<v8::Worker> std::Cr::allocate_shared[abi:v160000]<v8::Worker, std::Cr::allocator<v8::Worker>, char*, void>(std::Cr::allocator<v8::Worker> const&, char*&&) buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:937:55 (d8+0x5e02ba)
    #8 make_shared<v8::Worker, char *, void> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:946:12 (d8+0x5c5ee4) (BuildId: e7949a0603ee0889)
    #9 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2888:19 (d8+0x5c5ee4)
    #10 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #11 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #12 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #13 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #14 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #15 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #16 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #17 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #18 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #19 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #20 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #21 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #22 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Thread T9 'WorkerThread' (tid=5330, 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:1038:3 (d8+0x51498b) (BuildId: e7949a0603ee0889)
    #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:1155:14 (d8+0x1fc7b66) (BuildId: e7949a0603ee0889)
    #2 v8::Worker::StartWorkerThread(v8::Isolate*, std::Cr::shared_ptr<v8::Worker>) src/d8/d8.cc:4548:16 (d8+0x5c61b7) (BuildId: e7949a0603ee0889)
    #3 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2894:10 (d8+0x5c602d) (BuildId: e7949a0603ee0889)
    #4 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #5 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #6 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #7 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #8 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #9 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #10 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #11 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #13 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #14 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #15 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #16 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: heap-use-after-free src/execution/stack-guard.cc:140:26 in v8::internal::StackGuard::RequestInterrupt(v8::internal::StackGuard::InterruptFlag)
==================
==================
WARNING: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or destroyed) (pid=5297)
    #0 pthread_mutex_lock sanitizer_common/sanitizer_common_interceptors.inc:4481:3 (d8+0x536ceb) (BuildId: e7949a0603ee0889)
    #1 LockNativeHandle src/base/platform/mutex.cc:128:16 (d8+0x1fbfb69) (BuildId: e7949a0603ee0889)
    #2 v8::base::RecursiveMutex::Lock() src/base/platform/mutex.cc:201:3 (d8+0x1fbfb69)
    #3 Lock src/execution/isolate.h:2615:65 (d8+0x8990b1) (BuildId: e7949a0603ee0889)
    #4 ExecutionAccess src/execution/isolate.h:2611:5 (d8+0x8990b1)
    #5 v8::internal::StackGuard::RequestInterrupt(v8::internal::StackGuard::InterruptFlag) src/execution/stack-guard.cc:140:19 (d8+0x8990b1)
    #6 RequestTerminateExecution src/execution/stack-guard.h:65:3 (d8+0x61f632) (BuildId: e7949a0603ee0889)
    #7 v8::Isolate::TerminateExecution() src/api/api.cc:8905:29 (d8+0x61f632)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4642:13 (d8+0x5c6f55) (BuildId: e7949a0603ee0889)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Mutex M0 (0x7bc00006e170) created at:
    #0 pthread_mutex_lock sanitizer_common/sanitizer_common_interceptors.inc:4481:3 (d8+0x536ceb) (BuildId: e7949a0603ee0889)
    #1 LockNativeHandle src/base/platform/mutex.cc:128:16 (d8+0x1fbfb69) (BuildId: e7949a0603ee0889)
    #2 v8::base::RecursiveMutex::Lock() src/base/platform/mutex.cc:201:3 (d8+0x1fbfb69)
    #3 Lock src/execution/isolate.h:2615:65 (d8+0x8990b1) (BuildId: e7949a0603ee0889)
    #4 ExecutionAccess src/execution/isolate.h:2611:5 (d8+0x8990b1)
    #5 v8::internal::StackGuard::RequestInterrupt(v8::internal::StackGuard::InterruptFlag) src/execution/stack-guard.cc:140:19 (d8+0x8990b1)
    #6 RequestTerminateExecution src/execution/stack-guard.h:65:3 (d8+0x61f632) (BuildId: e7949a0603ee0889)
    #7 v8::Isolate::TerminateExecution() src/api/api.cc:8905:29 (d8+0x61f632)
    #8 v8::Worker::Terminate() src/d8/d8.cc:4642:13 (d8+0x5c6f55) (BuildId: e7949a0603ee0889)
    #9 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #10 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #11 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #13 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or destroyed) src/base/platform/mutex.cc:128:16 in LockNativeHandle
==================
==================
WARNING: ThreadSanitizer: heap-use-after-free (pid=5297)
  Read of size 8 at 0x7bc000060030 by main thread (mutexes: write M0):
    #0 v8::internal::StackGuard::RequestInterrupt(v8::internal::StackGuard::InterruptFlag) src/execution/stack-guard.cc:142:21 (d8+0x8990ba) (BuildId: e7949a0603ee0889)
    #1 RequestTerminateExecution src/execution/stack-guard.h:65:3 (d8+0x61f632) (BuildId: e7949a0603ee0889)
    #2 v8::Isolate::TerminateExecution() src/api/api.cc:8905:29 (d8+0x61f632)
    #3 v8::Worker::Terminate() src/d8/d8.cc:4642:13 (d8+0x5c6f55) (BuildId: e7949a0603ee0889)
    #4 TerminateAndWaitForThread src/d8/d8.cc:4622:3 (d8+0x5d13ce) (BuildId: e7949a0603ee0889)
    #5 v8::Shell::WaitForRunningWorkers(v8::internal::ParkedScope const&) src/d8/d8.cc:5642:13 (d8+0x5d13ce)
    #6 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5190:3 (d8+0x5d1168) (BuildId: e7949a0603ee0889)
    #7 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #8 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Previous write of size 8 at 0x7bc000060030 by thread T9:
    #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp:126:3 (d8+0x59aadf) (BuildId: e7949a0603ee0889)
    #1 v8::internal::IsolateAllocator::~IsolateAllocator() src/init/isolate-allocator.cc:141:3 (d8+0xae2931) (BuildId: e7949a0603ee0889)
    #2 operator() buildtools/third_party/libc++/trunk/include/__memory/unique_ptr.h:49:5 (d8+0x875e9c) (BuildId: e7949a0603ee0889)
    #3 reset buildtools/third_party/libc++/trunk/include/__memory/unique_ptr.h:281:7 (d8+0x875e9c)
    #4 v8::internal::Isolate::Delete(v8::internal::Isolate*) src/execution/isolate.cc:3404:21 (d8+0x875e9c)
    #5 v8::Isolate::Dispose() src/api/api.cc:9095:3 (d8+0x5ecc4f) (BuildId: e7949a0603ee0889)
    #6 v8::Shell::OnExit(v8::Isolate*, bool) src/d8/d8.cc:3874:12 (d8+0x5c7272) (BuildId: e7949a0603ee0889)
    #7 v8::Shell::QuitOnce(v8::FunctionCallbackInfo<v8::Value>*) src/d8/d8.cc:2983:3 (d8+0x5c7220) (BuildId: e7949a0603ee0889)
    #8 operator() src/base/once.h:101:32 (d8+0x5e069d) (BuildId: e7949a0603ee0889)
    #9 __invoke<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:394:23 (d8+0x5e069d)
    #10 __call<(lambda at ../../src/base/once.h:101:24) &> buildtools/third_party/libc++/trunk/include/__functional/invoke.h:479:9 (d8+0x5e069d)
    #11 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:232:12 (d8+0x5e069d)
    #12 void std::Cr::__function::__policy_invoker<void ()>::__call_impl<std::Cr::__function::__default_alloc_func<void v8::base::CallOnce<v8::FunctionCallbackInfo<v8::Value>*, void>(std::Cr::atomic<unsigned char>*, v8::base::FunctionWithArgs<v8::FunctionCallbackInfo<v8::Value>*>::type, v8::FunctionCallbackInfo<v8::Value>*)::'lambda'(), void ()>>(std::Cr::__function::__policy_storage const*) buildtools/third_party/libc++/trunk/include/__functional/function.h:711:16 (d8+0x5e069d)
    #13 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:842:16 (d8+0x1fbebb7) (BuildId: e7949a0603ee0889)
    #14 operator() buildtools/third_party/libc++/trunk/include/__functional/function.h:1152:12 (d8+0x1fbebb7)
    #15 v8::base::CallOnceImpl(std::Cr::atomic<unsigned char>*, std::Cr::function<void ()>) src/base/once.cc:36:5 (d8+0x1fbebb7)
    #16 CallOnce<v8::FunctionCallbackInfo<v8::Value> *, void> src/base/once.h:101:5 (d8+0x5c80df) (BuildId: e7949a0603ee0889)
    #17 v8::Shell::Quit(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2988:3 (d8+0x5c80df)
    #18 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #19 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x676bfe) (BuildId: e7949a0603ee0889)
    #20 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:148:5 (d8+0x675bbf) (BuildId: e7949a0603ee0889)
    #21 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #22 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #23 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #24 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #25 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #26 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #27 v8::Worker::ExecuteInThread() src/d8/d8.cc:4736:13 (d8+0x5ce6c1) (BuildId: e7949a0603ee0889)
    #28 v8::Worker::WorkerThread::Run() src/d8/d8.cc:4564:11 (d8+0x5ce0c4) (BuildId: e7949a0603ee0889)
    #29 NotifyStartedAndRun src/base/platform/platform.h:596:5 (d8+0x1fc7c52) (BuildId: e7949a0603ee0889)
    #30 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:1123:11 (d8+0x1fc7c52)

  Mutex M0 (0x7b4400002018) 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:1331:3 (d8+0x516300) (BuildId: e7949a0603ee0889)
    #1 InitializeNativeHandle src/base/platform/mutex.cc:99:12 (d8+0x1fbf9eb) (BuildId: e7949a0603ee0889)
    #2 v8::base::Mutex::Mutex() src/base/platform/mutex.cc:152:3 (d8+0x1fbf9eb)
    #3 Worker src/d8/d8.cc:4526:9 (d8+0x5e0593) (BuildId: e7949a0603ee0889)
    #4 v8::Worker* std::Cr::construct_at[abi:v160000]<v8::Worker, char*, v8::Worker*>(v8::Worker*, char*&&) buildtools/third_party/libc++/trunk/include/__memory/construct_at.h:36:48 (d8+0x5e0593)
    #5 construct<v8::Worker, char *, void, void> buildtools/third_party/libc++/trunk/include/__memory/allocator_traits.h:297:9 (d8+0x5e02ba) (BuildId: e7949a0603ee0889)
    #6 __shared_ptr_emplace<char *> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:276:9 (d8+0x5e02ba)
    #7 std::Cr::shared_ptr<v8::Worker> std::Cr::allocate_shared[abi:v160000]<v8::Worker, std::Cr::allocator<v8::Worker>, char*, void>(std::Cr::allocator<v8::Worker> const&, char*&&) buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:937:55 (d8+0x5e02ba)
    #8 make_shared<v8::Worker, char *, void> buildtools/third_party/libc++/trunk/include/__memory/shared_ptr.h:946:12 (d8+0x5c5ee4) (BuildId: e7949a0603ee0889)
    #9 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2888:19 (d8+0x5c5ee4)
    #10 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #11 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #12 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #13 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #14 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #15 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #16 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #17 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #18 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #19 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #20 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #21 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #22 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

  Thread T9 'WorkerThread' (tid=5330, 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:1038:3 (d8+0x51498b) (BuildId: e7949a0603ee0889)
    #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:1155:14 (d8+0x1fc7b66) (BuildId: e7949a0603ee0889)
    #2 v8::Worker::StartWorkerThread(v8::Isolate*, std::Cr::shared_ptr<v8::Worker>) src/d8/d8.cc:4548:16 (d8+0x5c61b7) (BuildId: e7949a0603ee0889)
    #3 v8::Shell::WorkerNew(v8::FunctionCallbackInfo<v8::Value> const&) src/d8/d8.cc:2894:10 (d8+0x5c602d) (BuildId: e7949a0603ee0889)
    #4 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) src/api/api-arguments-inl.h:146:3 (d8+0x677b99) (BuildId: e7949a0603ee0889)
    #5 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) src/builtins/builtins-api.cc:113:36 (d8+0x67658a) (BuildId: e7949a0603ee0889)
    #6 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) src/builtins/builtins-api.cc:144:5 (d8+0x675b9f) (BuildId: e7949a0603ee0889)
    #7 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) src/builtins/builtins-api.cc:135:1 (d8+0x6756b3) (BuildId: e7949a0603ee0889)
    #8 Builtins_AsyncFromSyncIteratorPrototypeThrow setup-isolate-deserialize.cc (d8+0x1d93f37)
    #9 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:538:10 (d8+0x84fc92) (BuildId: e7949a0603ee0889)
    #10 v8::Script::Run(v8::Local<v8::Context>, v8::Local<v8::Data>) src/api/api.cc:2272:7 (d8+0x5f6034) (BuildId: e7949a0603ee0889)
    #11 v8::Script::Run(v8::Local<v8::Context>) src/api/api.cc:2199:10 (d8+0x5f57d0) (BuildId: e7949a0603ee0889)
    #12 v8::Shell::ExecuteString(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>, v8::Shell::PrintResult, v8::Shell::ReportExceptions, v8::Shell::ProcessMessageQueue) src/d8/d8.cc:876:28 (d8+0x5b33d9) (BuildId: e7949a0603ee0889)
    #13 v8::SourceGroup::Execute(v8::Isolate*) src/d8/d8.cc:4425:10 (d8+0x5cce73) (BuildId: e7949a0603ee0889)
    #14 v8::Shell::RunMain(v8::Isolate*, bool) src/d8/d8.cc:5159:39 (d8+0x5d0e0e) (BuildId: e7949a0603ee0889)
    #15 v8::Shell::Main(int, char**) src/d8/d8.cc:5939:22 (d8+0x5d3491) (BuildId: e7949a0603ee0889)
    #16 main src/d8/d8.cc:6052:43 (d8+0x5d3bc0) (BuildId: e7949a0603ee0889)

SUMMARY: ThreadSanitizer: heap-use-after-free src/execution/stack-guard.cc:142:21 in v8::internal::StackGuard::RequestInterrupt(v8::internal::StackGuard::InterruptFlag)
==================
ThreadSanitizer: reported 8 warnings
