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

Test 'ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatch/2' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatch/2' had the following logs when run: ================================================================================ [ RUN ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatch/2 ================== WARNING: ThreadSanitizer: data race (pid=2467) Write of size 8 at 0x7b6800001218 by main thread: #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (extensions_unittests+0x5769b0d) #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (extensions_unittests+0x5769b0d) #2 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:87 (extensions_unittests+0x5769b0d) #3 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:79:41 (extensions_unittests+0x5769d59) #4 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:79:3 (extensions_unittests+0x576916b) #5 base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() base/test/scoped_task_environment.cc:432:3 (extensions_unittests+0x561c5af) #6 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:69:1 (extensions_unittests+0x5642d0d) #7 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:33:53 (extensions_unittests+0x5642d59) #8 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x560d919) #9 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x560d919) #10 extensions::ExtensionsTest::~ExtensionsTest() extensions/browser/extensions_test.cc:57 (extensions_unittests+0x560d919) #11 extensions::ContentVerifyJobUnittest::~ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:52:41 (extensions_unittests+0x23d084e) #12 ~ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:329:7 (extensions_unittests+0x23d08d9) #13 extensions::ContentMismatchUnittest_ContentMismatch_Test::~ContentMismatchUnittest_ContentMismatch_Test() extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d08d9) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424792e) #15 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (extensions_unittests+0x424792e) #16 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #17 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #18 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #19 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #20 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #21 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #22 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #23 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #24 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #25 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #26 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #27 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #28 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #29 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #30 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Previous read of size 8 at 0x7b6800001218 by thread T7: #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (extensions_unittests+0x576aa53) #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:256 (extensions_unittests+0x576aa53) #2 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:163:10 (extensions_unittests+0x576a3fa) #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (extensions_unittests+0x57486b1) #4 PostTaskWithTraits base/task/post_task.cc:76:10 (extensions_unittests+0x5748c6e) #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (extensions_unittests+0x5748c6e) #6 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (extensions_unittests+0x578d222) #7 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (extensions_unittests+0x57487a9) #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (extensions_unittests+0x27c2996) #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:409:18 (extensions_unittests+0x27c3228) #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (extensions_unittests+0x279058d) #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (extensions_unittests+0x5883f50) #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (extensions_unittests+0x5790c69) #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (extensions_unittests+0x57e6464) Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (extensions_unittests+0x22e2ddb) #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (extensions_unittests+0x561bf61) #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (extensions_unittests+0x561bf61) #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (extensions_unittests+0x230621d) #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (extensions_unittests+0x23061c7) #5 make_unique<content::TestBrowserThreadBundle> buildtools/third_party/libc++/trunk/include/memory:3131:32 (extensions_unittests+0x23d0aab) #6 ExtensionsTest<> extensions/browser/extensions_test.h:41 (extensions_unittests+0x23d0aab) #7 extensions::ContentVerifyJobUnittest::ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:51 (extensions_unittests+0x23d0aab) #8 ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:333:3 (extensions_unittests+0x23d23e1) #9 ContentMismatchUnittest_ContentMismatch_Test extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d23e1) #10 testing::internal::ParameterizedTestFactory<extensions::ContentMismatchUnittest_ContentMismatch_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h:399 (extensions_unittests+0x23d23e1) #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x42476ef) #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (extensions_unittests+0x42476ef) #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #18 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #24 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #27 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Thread T7 'NetworkChangeNotifier' (tid=2506, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (extensions_unittests+0x22733bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (extensions_unittests+0x57e5f57) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (extensions_unittests+0x57e5e55) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (extensions_unittests+0x57905b0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (extensions_unittests+0x58840bf) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (extensions_unittests+0x5879b07) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (extensions_unittests+0x741a0fe) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (extensions_unittests+0x741a0fe) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (extensions_unittests+0x7419ac3) #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (extensions_unittests+0x3d4e7b3) #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (extensions_unittests+0x3fac4a5) #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (extensions_unittests+0x3fb0063) #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (extensions_unittests+0x3fb0063) #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (extensions_unittests+0x3fb0063) #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (extensions_unittests+0x3fb0063) #15 Run base/callback.h:97:12 (extensions_unittests+0x576123a) #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (extensions_unittests+0x576123a) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (extensions_unittests+0x5762532) #18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:281:7 (extensions_unittests+0x5762b53) #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762c54) #20 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:314:27 (extensions_unittests+0x5700f42) #21 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (extensions_unittests+0x5762f90) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762f90) #23 base::RunLoop::Run() base/run_loop.cc:157:14 (extensions_unittests+0x572758e) #24 extensions::TestContentVerifySingleJobObserver::WaitForOnHashesReady() extensions/browser/content_verifier/test_utils.cc:63:29 (extensions_unittests+0x560cc0d) #25 extensions::ContentVerifyJobUnittest::RunContentVerifyJob(extensions::Extension const&, base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:113:18 (extensions_unittests+0x23d101b) #26 extensions::ContentMismatchUnittest::RunContentMismatchTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:358:7 (extensions_unittests+0x23d0052) #27 extensions::ContentMismatchUnittest_ContentMismatch_Test::TestBody() extensions/browser/content_verify_job_unittest.cc:376:3 (extensions_unittests+0x23cfd51) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424681f) #29 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (extensions_unittests+0x424681f) #30 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (extensions_unittests+0x4247898) #31 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #32 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #33 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #34 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #35 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #36 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #37 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #38 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #39 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #40 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #41 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #42 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #43 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #44 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #45 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset ================== ================== WARNING: ThreadSanitizer: data race (pid=2467) Write of size 8 at 0x7b5c00001510 by main thread: #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (extensions_unittests+0x577ca67) #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (extensions_unittests+0x577ca67) #2 base::internal::TaskTracker::~TaskTracker() base/task/task_scheduler/task_tracker.cc:354 (extensions_unittests+0x577ca67) #3 base::internal::TaskTrackerPosix::~TaskTrackerPosix() base/task/task_scheduler/task_tracker_posix.cc:16:37 (extensions_unittests+0x57e589e) #4 ~TestTaskTracker base/test/scoped_task_environment.cc:268:30 (extensions_unittests+0x561ce33) #5 base::test::ScopedTaskEnvironment::TestTaskTracker::~TestTaskTracker() base/test/scoped_task_environment.cc:268 (extensions_unittests+0x561ce33) #6 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x5769b2b) #7 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x5769b2b) #8 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (extensions_unittests+0x5769b2b) #9 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:87 (extensions_unittests+0x5769b2b) #10 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:79:41 (extensions_unittests+0x5769d59) #11 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:79:3 (extensions_unittests+0x576916b) #12 base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() base/test/scoped_task_environment.cc:432:3 (extensions_unittests+0x561c5af) #13 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:69:1 (extensions_unittests+0x5642d0d) #14 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:33:53 (extensions_unittests+0x5642d59) #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x560d919) #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x560d919) #17 extensions::ExtensionsTest::~ExtensionsTest() extensions/browser/extensions_test.cc:57 (extensions_unittests+0x560d919) #18 extensions::ContentVerifyJobUnittest::~ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:52:41 (extensions_unittests+0x23d084e) #19 ~ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:329:7 (extensions_unittests+0x23d08d9) #20 extensions::ContentMismatchUnittest_ContentMismatch_Test::~ContentMismatchUnittest_ContentMismatch_Test() extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d08d9) #21 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424792e) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (extensions_unittests+0x424792e) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #28 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #29 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #30 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #31 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #32 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #33 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #34 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #37 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Previous read of size 8 at 0x7b5c00001510 by thread T7: #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (extensions_unittests+0x577d4d3) #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (extensions_unittests+0x577d4d3) #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (extensions_unittests+0x577d4d3) #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:256:23 (extensions_unittests+0x576aa7a) #4 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:163:10 (extensions_unittests+0x576a3fa) #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (extensions_unittests+0x57486b1) #6 PostTaskWithTraits base/task/post_task.cc:76:10 (extensions_unittests+0x5748c6e) #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (extensions_unittests+0x5748c6e) #8 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (extensions_unittests+0x578d222) #9 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (extensions_unittests+0x57487a9) #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (extensions_unittests+0x27c2996) #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:409:18 (extensions_unittests+0x27c3228) #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (extensions_unittests+0x279058d) #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (extensions_unittests+0x5883f50) #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (extensions_unittests+0x5790c69) #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (extensions_unittests+0x57e6464) Location is heap block of size 776 at 0x7b5c00001500 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (extensions_unittests+0x22e2ddb) #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (extensions_unittests+0x561ba66) #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (extensions_unittests+0x230621d) #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (extensions_unittests+0x23061c7) #4 make_unique<content::TestBrowserThreadBundle> buildtools/third_party/libc++/trunk/include/memory:3131:32 (extensions_unittests+0x23d0aab) #5 ExtensionsTest<> extensions/browser/extensions_test.h:41 (extensions_unittests+0x23d0aab) #6 extensions::ContentVerifyJobUnittest::ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:51 (extensions_unittests+0x23d0aab) #7 ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:333:3 (extensions_unittests+0x23d23e1) #8 ContentMismatchUnittest_ContentMismatch_Test extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d23e1) #9 testing::internal::ParameterizedTestFactory<extensions::ContentMismatchUnittest_ContentMismatch_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h:399 (extensions_unittests+0x23d23e1) #10 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x42476ef) #11 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (extensions_unittests+0x42476ef) #12 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #13 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #14 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #15 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #16 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #17 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #18 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #19 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #20 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #21 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #22 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #23 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #24 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #25 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #26 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Thread T7 'NetworkChangeNotifier' (tid=2506, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (extensions_unittests+0x22733bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (extensions_unittests+0x57e5f57) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (extensions_unittests+0x57e5e55) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (extensions_unittests+0x57905b0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (extensions_unittests+0x58840bf) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (extensions_unittests+0x5879b07) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (extensions_unittests+0x741a0fe) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (extensions_unittests+0x741a0fe) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (extensions_unittests+0x7419ac3) #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (extensions_unittests+0x3d4e7b3) #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (extensions_unittests+0x3fac4a5) #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (extensions_unittests+0x3fb0063) #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (extensions_unittests+0x3fb0063) #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (extensions_unittests+0x3fb0063) #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (extensions_unittests+0x3fb0063) #15 Run base/callback.h:97:12 (extensions_unittests+0x576123a) #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (extensions_unittests+0x576123a) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (extensions_unittests+0x5762532) #18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:281:7 (extensions_unittests+0x5762b53) #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762c54) #20 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:314:27 (extensions_unittests+0x5700f42) #21 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (extensions_unittests+0x5762f90) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762f90) #23 base::RunLoop::Run() base/run_loop.cc:157:14 (extensions_unittests+0x572758e) #24 extensions::TestContentVerifySingleJobObserver::WaitForOnHashesReady() extensions/browser/content_verifier/test_utils.cc:63:29 (extensions_unittests+0x560cc0d) #25 extensions::ContentVerifyJobUnittest::RunContentVerifyJob(extensions::Extension const&, base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:113:18 (extensions_unittests+0x23d101b) #26 extensions::ContentMismatchUnittest::RunContentMismatchTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:358:7 (extensions_unittests+0x23d0052) #27 extensions::ContentMismatchUnittest_ContentMismatch_Test::TestBody() extensions/browser/content_verify_job_unittest.cc:376:3 (extensions_unittests+0x23cfd51) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424681f) #29 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (extensions_unittests+0x424681f) #30 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (extensions_unittests+0x4247898) #31 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #32 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #33 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #34 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #35 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #36 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #37 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #38 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #39 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #40 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #41 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #42 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #43 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #44 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #45 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset ================== ================== WARNING: ThreadSanitizer: data race (pid=2467) Write of size 8 at 0x7b0400008b70 by main thread: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (extensions_unittests+0x22e352e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x577ca7d) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x577ca7d) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (extensions_unittests+0x577ca7d) #4 base::internal::TaskTracker::~TaskTracker() base/task/task_scheduler/task_tracker.cc:354 (extensions_unittests+0x577ca7d) #5 base::internal::TaskTrackerPosix::~TaskTrackerPosix() base/task/task_scheduler/task_tracker_posix.cc:16:37 (extensions_unittests+0x57e589e) #6 ~TestTaskTracker base/test/scoped_task_environment.cc:268:30 (extensions_unittests+0x561ce33) #7 base::test::ScopedTaskEnvironment::TestTaskTracker::~TestTaskTracker() base/test/scoped_task_environment.cc:268 (extensions_unittests+0x561ce33) #8 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x5769b2b) #9 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x5769b2b) #10 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (extensions_unittests+0x5769b2b) #11 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:87 (extensions_unittests+0x5769b2b) #12 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:79:41 (extensions_unittests+0x5769d59) #13 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:79:3 (extensions_unittests+0x576916b) #14 base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() base/test/scoped_task_environment.cc:432:3 (extensions_unittests+0x561c5af) #15 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:69:1 (extensions_unittests+0x5642d0d) #16 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:33:53 (extensions_unittests+0x5642d59) #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x560d919) #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x560d919) #19 extensions::ExtensionsTest::~ExtensionsTest() extensions/browser/extensions_test.cc:57 (extensions_unittests+0x560d919) #20 extensions::ContentVerifyJobUnittest::~ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:52:41 (extensions_unittests+0x23d084e) #21 ~ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:329:7 (extensions_unittests+0x23d08d9) #22 extensions::ContentMismatchUnittest_ContentMismatch_Test::~ContentMismatchUnittest_ContentMismatch_Test() extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d08d9) #23 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424792e) #24 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (extensions_unittests+0x424792e) #25 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #26 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #27 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #28 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #29 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #30 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #31 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #32 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #33 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #34 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #35 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #36 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #37 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #38 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #39 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Previous atomic read of size 4 at 0x7b0400008b70 by thread T7: #0 __tsan_atomic32_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534:3 (extensions_unittests+0x22bd2dc) #1 __cxx_atomic_load<int> buildtools/third_party/libc++/trunk/include/atomic:964:12 (extensions_unittests+0x577d552) #2 load buildtools/third_party/libc++/trunk/include/atomic:1483 (extensions_unittests+0x577d552) #3 NoBarrier_Load base/atomicops_internals_portable.h:130 (extensions_unittests+0x577d552) #4 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:182 (extensions_unittests+0x577d552) #5 BeforePostTask base/task/task_scheduler/task_tracker.cc:772 (extensions_unittests+0x577d552) #6 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (extensions_unittests+0x577d552) #7 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:256:23 (extensions_unittests+0x576aa7a) #8 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:163:10 (extensions_unittests+0x576a3fa) #9 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (extensions_unittests+0x57486b1) #10 PostTaskWithTraits base/task/post_task.cc:76:10 (extensions_unittests+0x5748c6e) #11 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (extensions_unittests+0x5748c6e) #12 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (extensions_unittests+0x578d222) #13 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (extensions_unittests+0x57487a9) #14 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (extensions_unittests+0x27c2996) #15 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:409:18 (extensions_unittests+0x27c3228) #16 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (extensions_unittests+0x279058d) #17 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (extensions_unittests+0x5883f50) #18 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (extensions_unittests+0x5790c69) #19 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (extensions_unittests+0x57e6464) Thread T7 'NetworkChangeNotifier' (tid=2506, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (extensions_unittests+0x22733bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (extensions_unittests+0x57e5f57) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (extensions_unittests+0x57e5e55) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (extensions_unittests+0x57905b0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (extensions_unittests+0x58840bf) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (extensions_unittests+0x5879b07) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (extensions_unittests+0x741a0fe) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (extensions_unittests+0x741a0fe) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (extensions_unittests+0x7419ac3) #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (extensions_unittests+0x3d4e7b3) #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (extensions_unittests+0x3fac4a5) #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (extensions_unittests+0x3fb0063) #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (extensions_unittests+0x3fb0063) #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (extensions_unittests+0x3fb0063) #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (extensions_unittests+0x3fb0063) #15 Run base/callback.h:97:12 (extensions_unittests+0x576123a) #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (extensions_unittests+0x576123a) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (extensions_unittests+0x5762532) #18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:281:7 (extensions_unittests+0x5762b53) #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762c54) #20 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:314:27 (extensions_unittests+0x5700f42) #21 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (extensions_unittests+0x5762f90) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762f90) #23 base::RunLoop::Run() base/run_loop.cc:157:14 (extensions_unittests+0x572758e) #24 extensions::TestContentVerifySingleJobObserver::WaitForOnHashesReady() extensions/browser/content_verifier/test_utils.cc:63:29 (extensions_unittests+0x560cc0d) #25 extensions::ContentVerifyJobUnittest::RunContentVerifyJob(extensions::Extension const&, base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:113:18 (extensions_unittests+0x23d101b) #26 extensions::ContentMismatchUnittest::RunContentMismatchTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:358:7 (extensions_unittests+0x23d0052) #27 extensions::ContentMismatchUnittest_ContentMismatch_Test::TestBody() extensions/browser/content_verify_job_unittest.cc:376:3 (extensions_unittests+0x23cfd51) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424681f) #29 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (extensions_unittests+0x424681f) #30 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (extensions_unittests+0x4247898) #31 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #32 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #33 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #34 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #35 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #36 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #37 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #38 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #39 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #40 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #41 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #42 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #43 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #44 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #45 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=2467) Write of size 8 at 0x7b6800001200 by main thread: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (extensions_unittests+0x22e352e) #1 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:79:41 (extensions_unittests+0x5769d61) #2 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:79:3 (extensions_unittests+0x576916b) #3 base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() base/test/scoped_task_environment.cc:432:3 (extensions_unittests+0x561c5af) #4 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:69:1 (extensions_unittests+0x5642d0d) #5 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:33:53 (extensions_unittests+0x5642d59) #6 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x560d919) #7 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x560d919) #8 extensions::ExtensionsTest::~ExtensionsTest() extensions/browser/extensions_test.cc:57 (extensions_unittests+0x560d919) #9 extensions::ContentVerifyJobUnittest::~ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:52:41 (extensions_unittests+0x23d084e) #10 ~ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:329:7 (extensions_unittests+0x23d08d9) #11 extensions::ContentMismatchUnittest_ContentMismatch_Test::~ContentMismatchUnittest_ContentMismatch_Test() extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d08d9) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424792e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (extensions_unittests+0x424792e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #19 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #20 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #21 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #22 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #23 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #24 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #25 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #28 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Previous read of size 8 at 0x7b6800001200 by thread T7: #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (extensions_unittests+0x5748697) #1 PostTaskWithTraits base/task/post_task.cc:76:10 (extensions_unittests+0x5748c6e) #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (extensions_unittests+0x5748c6e) #3 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (extensions_unittests+0x578d222) #4 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (extensions_unittests+0x57487a9) #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (extensions_unittests+0x27c2996) #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:409:18 (extensions_unittests+0x27c3228) #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (extensions_unittests+0x279058d) #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (extensions_unittests+0x5883f50) #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (extensions_unittests+0x5790c69) #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (extensions_unittests+0x57e6464) Thread T7 'NetworkChangeNotifier' (tid=2506, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (extensions_unittests+0x22733bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (extensions_unittests+0x57e5f57) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (extensions_unittests+0x57e5e55) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (extensions_unittests+0x57905b0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (extensions_unittests+0x58840bf) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (extensions_unittests+0x5879b07) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (extensions_unittests+0x741a0fe) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (extensions_unittests+0x741a0fe) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (extensions_unittests+0x7419ac3) #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (extensions_unittests+0x3d4e7b3) #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (extensions_unittests+0x3fac4a5) #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (extensions_unittests+0x3fb0063) #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (extensions_unittests+0x3fb0063) #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (extensions_unittests+0x3fb0063) #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (extensions_unittests+0x3fb0063) #15 Run base/callback.h:97:12 (extensions_unittests+0x576123a) #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (extensions_unittests+0x576123a) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (extensions_unittests+0x5762532) #18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:281:7 (extensions_unittests+0x5762b53) #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762c54) #20 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:314:27 (extensions_unittests+0x5700f42) #21 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (extensions_unittests+0x5762f90) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762f90) #23 base::RunLoop::Run() base/run_loop.cc:157:14 (extensions_unittests+0x572758e) #24 extensions::TestContentVerifySingleJobObserver::WaitForOnHashesReady() extensions/browser/content_verifier/test_utils.cc:63:29 (extensions_unittests+0x560cc0d) #25 extensions::ContentVerifyJobUnittest::RunContentVerifyJob(extensions::Extension const&, base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:113:18 (extensions_unittests+0x23d101b) #26 extensions::ContentMismatchUnittest::RunContentMismatchTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:358:7 (extensions_unittests+0x23d0052) #27 extensions::ContentMismatchUnittest_ContentMismatch_Test::TestBody() extensions/browser/content_verify_job_unittest.cc:376:3 (extensions_unittests+0x23cfd51) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424681f) #29 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (extensions_unittests+0x424681f) #30 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (extensions_unittests+0x4247898) #31 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #32 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #33 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #34 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #35 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #36 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #37 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #38 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #39 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #40 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #41 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #42 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #43 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #44 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #45 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=2467) Write of size 8 at 0x7b6800001370 by main thread: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (extensions_unittests+0x22e352e) #1 base::internal::TaskSchedulerImpl::~TaskSchedulerImpl() base/task/task_scheduler/task_scheduler_impl.cc:79:41 (extensions_unittests+0x5769d61) #2 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:79:3 (extensions_unittests+0x576916b) #3 base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() base/test/scoped_task_environment.cc:432:3 (extensions_unittests+0x561c5af) #4 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:69:1 (extensions_unittests+0x5642d0d) #5 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:33:53 (extensions_unittests+0x5642d59) #6 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x560d919) #7 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x560d919) #8 extensions::ExtensionsTest::~ExtensionsTest() extensions/browser/extensions_test.cc:57 (extensions_unittests+0x560d919) #9 extensions::ContentVerifyJobUnittest::~ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:52:41 (extensions_unittests+0x23d084e) #10 ~ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:329:7 (extensions_unittests+0x23d08d9) #11 extensions::ContentMismatchUnittest_ContentMismatch_Test::~ContentMismatchUnittest_ContentMismatch_Test() extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d08d9) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424792e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (extensions_unittests+0x424792e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #19 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #20 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #21 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #22 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #23 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #24 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #25 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #28 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Previous atomic read of size 1 at 0x7b6800001370 by thread T7: #0 __tsan_atomic8_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524:3 (extensions_unittests+0x22bcfdc) #1 __cxx_atomic_load<unsigned char> buildtools/third_party/libc++/trunk/include/atomic:970:12 (extensions_unittests+0x576a2bb) #2 load buildtools/third_party/libc++/trunk/include/atomic:1487 (extensions_unittests+0x576a2bb) #3 IsSet base/synchronization/atomic_flag.h:34 (extensions_unittests+0x576a2bb) #4 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:333 (extensions_unittests+0x576a2bb) #5 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162 (extensions_unittests+0x576a2bb) #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (extensions_unittests+0x57486b1) #7 PostTaskWithTraits base/task/post_task.cc:76:10 (extensions_unittests+0x5748c6e) #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (extensions_unittests+0x5748c6e) #9 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (extensions_unittests+0x578d222) #10 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (extensions_unittests+0x57487a9) #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (extensions_unittests+0x27c2996) #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:409:18 (extensions_unittests+0x27c3228) #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (extensions_unittests+0x279058d) #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (extensions_unittests+0x5883f50) #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (extensions_unittests+0x5790c69) #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (extensions_unittests+0x57e6464) Thread T7 'NetworkChangeNotifier' (tid=2506, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (extensions_unittests+0x22733bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (extensions_unittests+0x57e5f57) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (extensions_unittests+0x57e5e55) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (extensions_unittests+0x57905b0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (extensions_unittests+0x58840bf) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (extensions_unittests+0x5879b07) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (extensions_unittests+0x741a0fe) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (extensions_unittests+0x741a0fe) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (extensions_unittests+0x7419ac3) #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (extensions_unittests+0x3d4e7b3) #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (extensions_unittests+0x3fac4a5) #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (extensions_unittests+0x3fb0063) #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (extensions_unittests+0x3fb0063) #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (extensions_unittests+0x3fb0063) #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (extensions_unittests+0x3fb0063) #15 Run base/callback.h:97:12 (extensions_unittests+0x576123a) #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (extensions_unittests+0x576123a) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (extensions_unittests+0x5762532) #18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:281:7 (extensions_unittests+0x5762b53) #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762c54) #20 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:314:27 (extensions_unittests+0x5700f42) #21 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (extensions_unittests+0x5762f90) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762f90) #23 base::RunLoop::Run() base/run_loop.cc:157:14 (extensions_unittests+0x572758e) #24 extensions::TestContentVerifySingleJobObserver::WaitForOnHashesReady() extensions/browser/content_verifier/test_utils.cc:63:29 (extensions_unittests+0x560cc0d) #25 extensions::ContentVerifyJobUnittest::RunContentVerifyJob(extensions::Extension const&, base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:113:18 (extensions_unittests+0x23d101b) #26 extensions::ContentMismatchUnittest::RunContentMismatchTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:358:7 (extensions_unittests+0x23d0052) #27 extensions::ContentMismatchUnittest_ContentMismatch_Test::TestBody() extensions/browser/content_verify_job_unittest.cc:376:3 (extensions_unittests+0x23cfd51) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424681f) #29 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (extensions_unittests+0x424681f) #30 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (extensions_unittests+0x4247898) #31 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #32 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #33 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #34 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #35 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #36 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #37 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #38 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #39 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #40 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #41 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #42 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #43 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #44 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #45 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=2467) Write of size 8 at 0x562dbcf095b0 by main thread: #0 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:80:20 (extensions_unittests+0x5769191) #1 base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() base/test/scoped_task_environment.cc:432:3 (extensions_unittests+0x561c5af) #2 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:69:1 (extensions_unittests+0x5642d0d) #3 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:33:53 (extensions_unittests+0x5642d59) #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (extensions_unittests+0x560d919) #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (extensions_unittests+0x560d919) #6 extensions::ExtensionsTest::~ExtensionsTest() extensions/browser/extensions_test.cc:57 (extensions_unittests+0x560d919) #7 extensions::ContentVerifyJobUnittest::~ContentVerifyJobUnittest() extensions/browser/content_verify_job_unittest.cc:52:41 (extensions_unittests+0x23d084e) #8 ~ContentMismatchUnittest extensions/browser/content_verify_job_unittest.cc:329:7 (extensions_unittests+0x23d08d9) #9 extensions::ContentMismatchUnittest_ContentMismatch_Test::~ContentMismatchUnittest_ContentMismatch_Test() extensions/browser/content_verify_job_unittest.cc:375 (extensions_unittests+0x23d08d9) #10 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424792e) #11 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (extensions_unittests+0x424792e) #12 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #13 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #14 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #15 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #16 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #17 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #18 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #19 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #20 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #21 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #22 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #23 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #24 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #25 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #26 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) Previous read of size 8 at 0x562dbcf095b0 by thread T7: #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (extensions_unittests+0x576910a) #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (extensions_unittests+0x574866c) #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (extensions_unittests+0x574866c) #3 PostTaskWithTraits base/task/post_task.cc:76:10 (extensions_unittests+0x5748c6e) #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (extensions_unittests+0x5748c6e) #5 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (extensions_unittests+0x578d222) #6 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (extensions_unittests+0x57487a9) #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (extensions_unittests+0x27c2996) #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:409:18 (extensions_unittests+0x27c3228) #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (extensions_unittests+0x279058d) #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (extensions_unittests+0x5883f50) #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (extensions_unittests+0x5790c69) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (extensions_unittests+0x57e6464) Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x562dbcf095b0 (extensions_unittests+0x00000bafe5b0) Thread T7 'NetworkChangeNotifier' (tid=2506, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (extensions_unittests+0x22733bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (extensions_unittests+0x57e5f57) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (extensions_unittests+0x57e5e55) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (extensions_unittests+0x57905b0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (extensions_unittests+0x58840bf) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (extensions_unittests+0x5879b07) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (extensions_unittests+0x741a0fe) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (extensions_unittests+0x741a0fe) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (extensions_unittests+0x7419ac3) #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (extensions_unittests+0x3d4e7b3) #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (extensions_unittests+0x3fac4a5) #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (extensions_unittests+0x3fb0063) #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (extensions_unittests+0x3fb0063) #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (extensions_unittests+0x3fb0063) #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (extensions_unittests+0x3fb0063) #15 Run base/callback.h:97:12 (extensions_unittests+0x576123a) #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (extensions_unittests+0x576123a) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (extensions_unittests+0x5762532) #18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:281:7 (extensions_unittests+0x5762b53) #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762c54) #20 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:314:27 (extensions_unittests+0x5700f42) #21 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (extensions_unittests+0x5762f90) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (extensions_unittests+0x5762f90) #23 base::RunLoop::Run() base/run_loop.cc:157:14 (extensions_unittests+0x572758e) #24 extensions::TestContentVerifySingleJobObserver::WaitForOnHashesReady() extensions/browser/content_verifier/test_utils.cc:63:29 (extensions_unittests+0x560cc0d) #25 extensions::ContentVerifyJobUnittest::RunContentVerifyJob(extensions::Extension const&, base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:113:18 (extensions_unittests+0x23d101b) #26 extensions::ContentMismatchUnittest::RunContentMismatchTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, extensions::(anonymous namespace)::ContentVerifyJobAsyncRunMode) extensions/browser/content_verify_job_unittest.cc:358:7 (extensions_unittests+0x23d0052) #27 extensions::ContentMismatchUnittest_ContentMismatch_Test::TestBody() extensions/browser/content_verify_job_unittest.cc:376:3 (extensions_unittests+0x23cfd51) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x424681f) #29 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (extensions_unittests+0x424681f) #30 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (extensions_unittests+0x4247898) #31 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (extensions_unittests+0x4248166) #32 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (extensions_unittests+0x4259886) #33 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (extensions_unittests+0x4259079) #34 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (extensions_unittests+0x4259079) #35 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (extensions_unittests+0x561f262) #36 base::TestSuite::Run() base/test/test_suite.cc:314 (extensions_unittests+0x561f262) #37 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (extensions_unittests+0x5645512) #38 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (extensions_unittests+0x22e4738) #39 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (extensions_unittests+0x22e4738) #40 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (extensions_unittests+0x22e4738) #41 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (extensions_unittests+0x22e4738) #42 Run base/callback.h:97:12 (extensions_unittests+0x56220dd) #43 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (extensions_unittests+0x56220dd) #44 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (extensions_unittests+0x5621f40) #45 main extensions/test/extensions_unittests_main.cc:114:10 (extensions_unittests+0x22e3f3f) SUMMARY: ThreadSanitizer: data race base/task/task_scheduler/task_scheduler.cc:80:20 in base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) ================== [ OK ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatch/2 (1498 ms) [ RUN ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatchWithLargeFile/0 [2467:2595:0319/081826.920953:3285171538:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itczBuRO/.org.chromium.Chromium.2NdbK9/Code Cache/js: No such file or directory (2) [2467:2595:0319/081826.921471:3285172061:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk [ OK ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatchWithLargeFile/0 (40 ms) [ RUN ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatchWithLargeFile/1 [2467:2603:0319/081826.961620:3285212193:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itczBuRO/.org.chromium.Chromium.zvrWVx/Code Cache/js: No such file or directory (2) [2467:2603:0319/081826.961825:3285212391:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk [ OK ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatchWithLargeFile/1 (41 ms) [ RUN ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatchWithLargeFile/2 [2467:2614:0319/081827.005903:3285256477:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itczBuRO/.org.chromium.Chromium.AdeKvW/Code Cache/js: No such file or directory (2) [2467:2614:0319/081827.006121:3285256690:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk [ OK ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatchWithLargeFile/2 (43 ms) [----------] 4 tests from ContentVerifyJobUnittest/ContentMismatchUnittest (1623 ms total) [----------] 6 tests from ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests [ RUN ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/0 [ OK ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/0 (1 ms) [ RUN ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/1 [ OK ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/1 (0 ms) [ RUN ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/2 [ OK ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/2 (0 ms) [ RUN ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/3 [ OK ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/3 (0 ms) [ RUN ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/4 [ OK ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/4 (0 ms) [ RUN ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/5 [ OK ] ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests.OverrideIncognito/5 (0 ms) [----------] 6 tests from ExtensionPrefValueMapTestIncognitoTestsInstance/ExtensionPrefValueMapTestIncognitoTests (3 ms total) [----------] Global test environment tear-down [==========] 10 tests from 2 test suites ran. (1627 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 6 warnings [ RUN ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatch/2 [2745:2748:0319/081848.224321:3306474883:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itczBuRO/.org.chromium.Chromium.MjpF3y/Code Cache/js: No such file or directory (2) [2745:2748:0319/081848.225033:3306475595:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk [ OK ] ContentVerifyJobUnittest/ContentMismatchUnittest.ContentMismatch/2 (57 ms) ================================================================================