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

Test 'ChromotingHostTest.AuthenticationFailed' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'ChromotingHostTest.AuthenticationFailed' had the following logs when run: ================================================================================ [ RUN ] ChromotingHostTest.AuthenticationFailed [21892:21892:0524/215310.720098:27352252658:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215310.721317:27352253897:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215310.721686:27352254253:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215310.721977:27352254543:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 4 [ OK ] ChromotingHostTest.AuthenticationFailed (10 ms) [ RUN ] ChromotingHostTest.Reconnect [21892:21892:0524/215310.730129:27352262702:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215310.731458:27352264076:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215310.732015:27352264578:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0cb08 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 00-8A 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215310.732866:27352265435:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 [21892:21892:0524/215310.733454:27352266028:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0cb08 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 80-87 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215310.734170:27352266739:INFO:client_session.cc(405)] Client disconnected: user2@domain/rest-of-jid; error = 0 [ OK ] ChromotingHostTest.Reconnect (12 ms) [ RUN ] ChromotingHostTest.ConnectWhenAnotherClientIsConnected [21892:21892:0524/215310.742416:27352274984:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215310.743722:27352276289:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215310.744147:27352276712:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0cb08 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 60-8C 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215310.745224:27352277793:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00000a28) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215310.745673:27352278239:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0cb08 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 00-8C 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215310.746538:27352279109:INFO:client_session.cc(405)] Client disconnected: user2@domain/rest-of-jid; error = 0 ================== WARNING: ThreadSanitizer: data race (pid=21892) Write of size 8 at 0x7b1c00000888 by main thread: #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (remoting_unittests+0x198be72) #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be72) #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be72) #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #8 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #9 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #10 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #11 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #12 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #13 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #14 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #15 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #16 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #17 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #18 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #19 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #20 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #21 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #22 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #23 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #24 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #25 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous read of size 8 at 0x7b1c00000888 by thread T21: #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (remoting_unittests+0x198b11b) #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b11b) #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #6 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #15 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #21 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #28 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #29 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #30 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #31 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Location is heap block of size 104 at 0x7b1c00000850 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 (remoting_unittests+0xa2e8db) #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:10 (remoting_unittests+0x198869f) #2 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #11 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #12 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #13 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #14 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #15 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #16 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #17 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #18 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #19 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset ================== ================== WARNING: ThreadSanitizer: data race (pid=21892) Read of size 8 at 0x7b3000000428 by main thread: #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (remoting_unittests+0xdb503d) #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (remoting_unittests+0xdb503d) #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (remoting_unittests+0xdb503d) #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (remoting_unittests+0x198be88) #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (remoting_unittests+0x198be88) #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be88) #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be88) #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be88) #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #13 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #14 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #15 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #23 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #24 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #25 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #26 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #27 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #28 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #29 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #30 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b3000000428 by thread T21 (mutexes: write M2490): #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (remoting_unittests+0xdb7cf9) #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (remoting_unittests+0xdb7cf9) #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (remoting_unittests+0xdb783e) #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb783e) #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb783e) #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #14 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #23 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #29 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #36 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #37 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #38 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #39 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Location is heap block of size 184 at 0x7b30000003c0 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 (remoting_unittests+0xa2e8db) #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:679:22 (remoting_unittests+0x198aaee) #2 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:92:7 (remoting_unittests+0x199322c) #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (remoting_unittests+0x19886c7) #4 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #5 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #6 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #13 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #14 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #15 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #16 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #17 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #18 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #19 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #21 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Mutex M2490 (0x7b30000003c0) created at: #0 pthread_mutex_init /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1247:3 (remoting_unittests+0x9c12bd) #1 base::internal::LockImpl::LockImpl() base/synchronization/lock_impl_posix.cc:72:8 (remoting_unittests+0x182284d) #2 Lock base/synchronization/lock.h:25:12 (remoting_unittests+0x198ab08) #3 NetworkState net/base/network_change_notifier.cc:67 (remoting_unittests+0x198ab08) #4 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:679 (remoting_unittests+0x198ab08) #5 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:92:7 (remoting_unittests+0x199322c) #6 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (remoting_unittests+0x19886c7) #7 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #17 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #18 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #19 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #21 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #24 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table ================== ================== WARNING: ThreadSanitizer: data race (pid=21892) Read of size 8 at 0x7b1400011c60 by main thread: #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (remoting_unittests+0xdb5057) #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (remoting_unittests+0xdb5057) #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (remoting_unittests+0xdb5057) #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (remoting_unittests+0xdb5057) #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (remoting_unittests+0x198be88) #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (remoting_unittests+0x198be88) #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be88) #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be88) #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be88) #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #14 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #15 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #16 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #17 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #18 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #19 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #20 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #21 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #22 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #23 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #24 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #25 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #26 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #27 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #28 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #31 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b1400011c60 by thread T21 (mutexes: write M2490): #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 (remoting_unittests+0xa2e8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (remoting_unittests+0xdb7861) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (remoting_unittests+0xdb7861) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (remoting_unittests+0xdb7861) #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (remoting_unittests+0xdb7861) #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (remoting_unittests+0xdb7861) #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb7861) #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb7861) #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #17 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #26 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #32 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #39 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #40 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #41 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #42 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Location is heap block of size 72 at 0x7b1400011c60 allocated by thread T21: #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 (remoting_unittests+0xa2e8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (remoting_unittests+0xdb7861) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (remoting_unittests+0xdb7861) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (remoting_unittests+0xdb7861) #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (remoting_unittests+0xdb7861) #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (remoting_unittests+0xdb7861) #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb7861) #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb7861) #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #17 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #26 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #32 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #39 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #40 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #41 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #42 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M2490 (0x7b30000003c0) created at: #0 pthread_mutex_init /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1247:3 (remoting_unittests+0x9c12bd) #1 base::internal::LockImpl::LockImpl() base/synchronization/lock_impl_posix.cc:72:8 (remoting_unittests+0x182284d) #2 Lock base/synchronization/lock.h:25:12 (remoting_unittests+0x198ab08) #3 NetworkState net/base/network_change_notifier.cc:67 (remoting_unittests+0x198ab08) #4 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:679 (remoting_unittests+0x198ab08) #5 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:92:7 (remoting_unittests+0x199322c) #6 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (remoting_unittests+0x19886c7) #7 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #17 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #18 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #19 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #21 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #24 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node ================== ================== WARNING: ThreadSanitizer: data race (pid=21892) Read of size 1 at 0x7b1400011c87 by main thread: #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (remoting_unittests+0xdb506c) #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (remoting_unittests+0xdb506c) #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (remoting_unittests+0xdb506c) #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (remoting_unittests+0xdb506c) #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (remoting_unittests+0xdb506c) #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (remoting_unittests+0xdb506c) #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (remoting_unittests+0xdb506c) #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (remoting_unittests+0xdb506c) #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (remoting_unittests+0xdb506c) #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (remoting_unittests+0xdb506c) #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (remoting_unittests+0x198be88) #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (remoting_unittests+0x198be88) #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be88) #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be88) #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be88) #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #20 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #21 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #29 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #30 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #31 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #32 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #34 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #37 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b1400011c80 by thread T21 (mutexes: write M2490): #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 (remoting_unittests+0xa2e8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (remoting_unittests+0xdb7861) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (remoting_unittests+0xdb7861) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (remoting_unittests+0xdb7861) #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (remoting_unittests+0xdb7861) #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (remoting_unittests+0xdb7861) #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb7861) #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb7861) #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #17 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #26 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #32 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #39 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #40 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #41 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #42 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Location is heap block of size 72 at 0x7b1400011c60 allocated by thread T21: #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 (remoting_unittests+0xa2e8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (remoting_unittests+0xdb7861) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (remoting_unittests+0xdb7861) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (remoting_unittests+0xdb7861) #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (remoting_unittests+0xdb7861) #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (remoting_unittests+0xdb7861) #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb7861) #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb7861) #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #17 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #26 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #32 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #39 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #40 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #41 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #42 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M2490 (0x7b30000003c0) created at: #0 pthread_mutex_init /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1247:3 (remoting_unittests+0x9c12bd) #1 base::internal::LockImpl::LockImpl() base/synchronization/lock_impl_posix.cc:72:8 (remoting_unittests+0x182284d) #2 Lock base/synchronization/lock.h:25:12 (remoting_unittests+0x198ab08) #3 NetworkState net/base/network_change_notifier.cc:67 (remoting_unittests+0x198ab08) #4 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:679 (remoting_unittests+0x198ab08) #5 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:92:7 (remoting_unittests+0x199322c) #6 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (remoting_unittests+0x19886c7) #7 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #17 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #18 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #19 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #21 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #24 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long ================== ================== WARNING: ThreadSanitizer: data race (pid=21892) Read of size 8 at 0x7b1400011c70 by main thread: #0 __get_long_pointer buildtools/third_party/libc++/trunk/include/string:1505:34 (remoting_unittests+0xdb507e) #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2138 (remoting_unittests+0xdb507e) #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (remoting_unittests+0xdb507e) #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (remoting_unittests+0xdb507e) #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (remoting_unittests+0xdb507e) #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (remoting_unittests+0xdb507e) #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (remoting_unittests+0xdb507e) #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (remoting_unittests+0xdb507e) #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (remoting_unittests+0xdb507e) #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (remoting_unittests+0xdb507e) #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (remoting_unittests+0x198be88) #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (remoting_unittests+0x198be88) #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be88) #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be88) #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be88) #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #20 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #21 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #29 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #30 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #31 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #32 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #34 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #37 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b1400011c70 by thread T21 (mutexes: write M2490): #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 (remoting_unittests+0xa2e8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (remoting_unittests+0xdb7861) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (remoting_unittests+0xdb7861) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (remoting_unittests+0xdb7861) #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (remoting_unittests+0xdb7861) #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (remoting_unittests+0xdb7861) #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb7861) #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb7861) #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #17 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #26 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #32 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #39 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #40 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #41 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #42 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Location is heap block of size 72 at 0x7b1400011c60 allocated by thread T21: #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 (remoting_unittests+0xa2e8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (remoting_unittests+0xdb7861) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (remoting_unittests+0xdb7861) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (remoting_unittests+0xdb7861) #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (remoting_unittests+0xdb7861) #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (remoting_unittests+0xdb7861) #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb7861) #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb7861) #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #17 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #26 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #32 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #39 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #40 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #41 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #42 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M2490 (0x7b30000003c0) created at: #0 pthread_mutex_init /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1247:3 (remoting_unittests+0x9c12bd) #1 base::internal::LockImpl::LockImpl() base/synchronization/lock_impl_posix.cc:72:8 (remoting_unittests+0x182284d) #2 Lock base/synchronization/lock.h:25:12 (remoting_unittests+0x198ab08) #3 NetworkState net/base/network_change_notifier.cc:67 (remoting_unittests+0x198ab08) #4 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:679 (remoting_unittests+0x198ab08) #5 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:92:7 (remoting_unittests+0x199322c) #6 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (remoting_unittests+0x19886c7) #7 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #17 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #18 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #19 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #21 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #24 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1505:34 in __get_long_pointer ================== ================== WARNING: ThreadSanitizer: data race (pid=21892) Write of size 8 at 0x7b1400011cb0 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 (remoting_unittests+0xa2f02e) #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (remoting_unittests+0xdb5086) #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (remoting_unittests+0xdb5086) #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (remoting_unittests+0xdb5086) #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (remoting_unittests+0xdb5086) #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (remoting_unittests+0xdb5086) #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (remoting_unittests+0xdb5086) #7 ~basic_string buildtools/third_party/libc++/trunk/include/string:2138 (remoting_unittests+0xdb5086) #8 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (remoting_unittests+0xdb5086) #9 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (remoting_unittests+0xdb5086) #10 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (remoting_unittests+0xdb5086) #11 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (remoting_unittests+0xdb5086) #12 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (remoting_unittests+0xdb5086) #13 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (remoting_unittests+0xdb5086) #14 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (remoting_unittests+0xdb5086) #15 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (remoting_unittests+0xdb5086) #16 ~NetworkState net/base/network_change_notifier.cc:68:27 (remoting_unittests+0x198be88) #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (remoting_unittests+0x198be88) #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be88) #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be88) #20 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be88) #21 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #22 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #26 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #27 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #28 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #35 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #36 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #37 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #38 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #40 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #43 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous read of size 1 at 0x7b1400011cb6 by thread T21 (mutexes: write M2490): #0 operator() base/strings/string_piece.h:536:17 (remoting_unittests+0xdb7b76) #1 operator() net/dns/dns_hosts.h:28 (remoting_unittests+0xdb7b76) #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (remoting_unittests+0xdb7b76) #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (remoting_unittests+0xdb7b76) #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (remoting_unittests+0xdb783e) #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb783e) #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb783e) #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #16 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #25 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #31 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #38 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #39 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #40 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #41 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M2490 (0x7b30000003c0) created at: #0 pthread_mutex_init /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1247:3 (remoting_unittests+0x9c12bd) #1 base::internal::LockImpl::LockImpl() base/synchronization/lock_impl_posix.cc:72:8 (remoting_unittests+0x182284d) #2 Lock base/synchronization/lock.h:25:12 (remoting_unittests+0x198ab08) #3 NetworkState net/base/network_change_notifier.cc:67 (remoting_unittests+0x198ab08) #4 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:679 (remoting_unittests+0x198ab08) #5 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:92:7 (remoting_unittests+0x199322c) #6 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (remoting_unittests+0x19886c7) #7 remoting::ChromotingHostTest::SetUp() remoting/host/chromoting_host_unittest.cc:68:36 (remoting_unittests+0xc80d71) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106bd02) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (remoting_unittests+0x106bd02) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (remoting_unittests+0x106cee8) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #17 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #18 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #19 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #21 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #24 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread: <truncated (860157 bytes)> dressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #13 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #14 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #15 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #16 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #17 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #18 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #19 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #20 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #21 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #22 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #23 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #24 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #25 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #26 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #27 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #28 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #29 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #30 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #31 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #32 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #33 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #34 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #35 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000420 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b3000000420 by thread T21 (mutexes: write M701008138098181056): #0 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table:2406:41 (remoting_unittests+0xdb676c) #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table (remoting_unittests+0xdb65ff) #2 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi_prepare(unsigned long, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>&) buildtools/third_party/libc++/trunk/include/__hash_table:1968:9 (remoting_unittests+0xdb7ee9) #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2041:27 (remoting_unittests+0xdb7c16) #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (remoting_unittests+0xdb783e) #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb783e) #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb783e) #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #16 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #25 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #31 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #38 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #39 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #40 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #41 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000430 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b3000000430 by thread T21 (mutexes: write M701008138098181056): #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (remoting_unittests+0xdb7da8) #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (remoting_unittests+0xdb7da8) #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (remoting_unittests+0xdb783e) #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (remoting_unittests+0xdb783e) #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (remoting_unittests+0xdb783e) #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (remoting_unittests+0xdb5263) #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5263) #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5263) #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #14 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #23 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #29 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #36 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #37 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #38 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #39 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000438 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 4 at 0x7b3000000438 by thread T21 (mutexes: write M701008138098181056): #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (remoting_unittests+0xdb5248) #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (remoting_unittests+0xdb5248) #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb5248) #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #9 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #18 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #24 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #31 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #32 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #33 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #34 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000440 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b3000000440 by thread T21 (mutexes: write M701008138098181056): #0 memcpy /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (remoting_unittests+0x9c9ea7) #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (remoting_unittests+0xdb5275) #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #8 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #17 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #23 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #30 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #31 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #32 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #33 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000458 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous read of size 8 at 0x7b3000000458 by thread T21 (mutexes: write M701008138098181056): #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (remoting_unittests+0xdb81c6) #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (remoting_unittests+0xdb81c6) #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (remoting_unittests+0xdb81c6) #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (remoting_unittests+0xdb529e) #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb529e) #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #11 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #20 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #26 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #33 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #34 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #35 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #36 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000460 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 8 at 0x7b3000000460 by thread T21 (mutexes: write M701008138098181056): #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (remoting_unittests+0xdb8374) #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (remoting_unittests+0xdb8374) #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (remoting_unittests+0xdb8374) #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (remoting_unittests+0xdb529e) #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb529e) #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #11 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #20 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #26 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #33 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #34 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #35 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #36 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000468 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous read of size 8 at 0x7b3000000468 by thread T21 (mutexes: write M701008138098181056): #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (remoting_unittests+0xdb81ba) #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (remoting_unittests+0xdb81ba) #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (remoting_unittests+0xdb81ba) #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (remoting_unittests+0xdb529e) #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (remoting_unittests+0xdb529e) #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (remoting_unittests+0x198b133) #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b133) #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #11 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #20 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #26 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #33 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #34 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #35 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #36 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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=21892) Write of size 8 at 0x7b3000000470 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 (remoting_unittests+0xa2f02e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0x198be98) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0x198be98) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0x198be98) #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:187 (remoting_unittests+0x198be98) #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:112:1 (remoting_unittests+0x199348c) #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:59 (remoting_unittests+0x19934b9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (remoting_unittests+0xc82acc) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (remoting_unittests+0xc82acc) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (remoting_unittests+0xc82acc) #10 remoting::ChromotingHostTest::~ChromotingHostTest() remoting/host/chromoting_host_unittest.cc:63 (remoting_unittests+0xc82acc) #11 remoting::ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test::~ChromotingHostTest_ConnectWhenAnotherClientIsConnected_Test() remoting/host/chromoting_host_unittest.cc:294:1 (remoting_unittests+0xc82b69) #12 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x106cf7e) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2704 (remoting_unittests+0x106cf7e) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (remoting_unittests+0x106dab6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (remoting_unittests+0x107fe66) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (remoting_unittests+0x107f2c9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (remoting_unittests+0x107f2c9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (remoting_unittests+0x1836972) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (remoting_unittests+0x1836972) #20 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (remoting_unittests+0xa5a288) #21 MakeItSo<int (base::TestSuite::*const &)(), base::TestSuite *> base/bind_internal.h:599 (remoting_unittests+0xa5a288) #22 RunImpl<int (base::TestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > &, 0> base/bind_internal.h:672 (remoting_unittests+0xa5a288) #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (remoting_unittests+0xa5a288) #24 Run base/callback.h:97:12 (remoting_unittests+0x18399ed) #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (remoting_unittests+0x18399ed) #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (remoting_unittests+0x1839850) #27 main remoting/base/run_all_unittests.cc:25:10 (remoting_unittests+0xa5a1bc) Previous write of size 1 at 0x7b3000000470 by thread T21 (mutexes: write M701008138098181056): #0 SetDnsConfig net/base/network_change_notifier.cc:79:10 (remoting_unittests+0x198b146) #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:799 (remoting_unittests+0x198b146) #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (remoting_unittests+0x1993624) #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (remoting_unittests+0x1993624) #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (remoting_unittests+0x1993624) #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (remoting_unittests+0x1993624) #6 Run base/callback.h:136:12 (remoting_unittests+0xdbbb93) #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (remoting_unittests+0xdbbb93) #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (remoting_unittests+0xdbbb93) #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (remoting_unittests+0xdf155c) #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (remoting_unittests+0xdef22b) #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (remoting_unittests+0xdef4da) #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (remoting_unittests+0xdef4da) #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (remoting_unittests+0xdef4da) #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0xdef4da) #15 Run base/callback.h:97:12 (remoting_unittests+0x17debe8) #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (remoting_unittests+0x17debe8) #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (remoting_unittests+0x17decd7) #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (remoting_unittests+0x17decd7) #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (remoting_unittests+0x17decd7) #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (remoting_unittests+0x17decd7) #21 Run base/callback.h:97:12 (remoting_unittests+0x17a0b55) #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (remoting_unittests+0x17a0b55) #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:747:19 (remoting_unittests+0x17c1c71) #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:765:7 (remoting_unittests+0x17c171e) #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:593 (remoting_unittests+0x17c171e) #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (remoting_unittests+0x182659f) #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:689:46 (remoting_unittests+0x1832228) #28 base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) base/task/thread_pool/task_tracker.cc:455:5 (remoting_unittests+0x17c0fce) #29 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:320:34 (remoting_unittests+0x17d0fe7) #30 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #31 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) Mutex M701008138098181056 is already destroyed. Thread T21 'ThreadPoolForeg' (tid=21937, running) created by thread T20 at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (remoting_unittests+0x9bfbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (remoting_unittests+0x1826af7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (remoting_unittests+0x18269f5) #3 base::internal::WorkerThread::Start(base::WorkerThreadObserver*) base/task/thread_pool/worker_thread.cc:68:3 (remoting_unittests+0x17d05fd) #4 operator() base/task/thread_pool/thread_group_impl.cc:185:15 (remoting_unittests+0x17c869b) #5 ForEachWorker<(lambda at ../../base/task/thread_pool/thread_group_impl.cc:184:37)> base/task/thread_pool/thread_group_impl.cc:150 (remoting_unittests+0x17c869b) #6 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/thread_group_impl.cc:184 (remoting_unittests+0x17c869b) #7 base::internal::ThreadGroupImpl::ScopedWorkersExecutor::Flush(base::internal::CheckedLock*) base/task/thread_pool/thread_group_impl.cc:122:5 (remoting_unittests+0x17c62ce) #8 base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::GetWork(base::internal::WorkerThread*) base/task/thread_pool/thread_group_impl.cc:599:12 (remoting_unittests+0x17c5ff6) #9 base::internal::WorkerThread::RunWorker() base/task/thread_pool/worker_thread.cc:308:51 (remoting_unittests+0x17d0fa5) #10 base::internal::WorkerThread::RunPooledWorker() base/task/thread_pool/worker_thread.cc:222:3 (remoting_unittests+0x17d0bf1) #11 base::internal::WorkerThread::ThreadMain() base/task/thread_pool/worker_thread.cc:201:7 (remoting_unittests+0x17d0a5f) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (remoting_unittests+0x1827004) 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*) ================== [ OK ] ChromotingHostTest.ConnectWhenAnotherClientIsConnected (1477 ms) [ RUN ] ChromotingHostTest.IncomingSessionAccepted [21892:21892:0524/215312.240212:27353772780:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215312.241887:27353774465:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215312.242201:27353774909:INFO:chromoting_host.cc(236)] Client connected: user3@doman/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00030248) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00011428) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.243584:27353776163:INFO:client_session.cc(405)] Client disconnected: user3@doman/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00011138 "user3@doman/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] ChromotingHostTest.IncomingSessionAccepted (52 ms) [ RUN ] ChromotingHostTest.LoginBackOffTriggersIfClientsDoNotAuthenticate [21892:21892:0524/215312.283192:27353815762:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215312.284724:27353817292:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215312.285546:27353818117:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c000106c8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00011428) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.286653:27353819220:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00020108) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00000a28) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.287536:27353820100:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00000e48) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.288320:27353820892:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c0002dbc8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00000da8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.289184:27353821750:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c000202c8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00001128) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.290077:27353822650:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00030408) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000014a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.290635:27353823201:WARNING:chromoting_host.cc(228)] Rejecting connection due to an overload of failed login attempts. [21892:21892:0524/215312.290948:27353823522:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00011138 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.291535:27353824100:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00000738 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.291935:27353824499:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c000003b8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.292317:27353824890:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00000ab8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.292717:27353825284:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00000e38 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.293082:27353825649:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c000011b8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] ChromotingHostTest.LoginBackOffTriggersIfClientsDoNotAuthenticate (47 ms) [ RUN ] ChromotingHostTest.LoginBackOffResetsIfClientsAuthenticate [21892:21892:0524/215312.333536:27353866108:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215312.335018:27353867588:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215312.335763:27353868333:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c000305c8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000014a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.336812:27353869377:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00010c08) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00001128) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.337673:27353870237:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00020488) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00000da8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.338561:27353871129:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c000202c8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.339518:27353872088:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c0002dbc8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00000a28) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.340431:27353873018:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00000e48) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00011428) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.341062:27353873629:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00000e38 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.341572:27353874137:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00000ab8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.341984:27353874556:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c000003b8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.342422:27353874990:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00000738 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.342847:27353875413:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00011138 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnClientAuthenticated(@0x7b5c000011b8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.344062:27353876640:INFO:chromoting_host.cc(236)] Client connected: user@domain/rest-of-jid GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetTransport(0x7b4c00000e48) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00011428) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.344885:27353877461:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c000011b8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.345432:27353878009:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnAccessDenied(@0x7b5c00011138 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] ChromotingHostTest.LoginBackOffResetsIfClientsAuthenticate (35 ms) [ RUN ] ChromotingHostTest.OnSessionRouteChange [21892:21892:0524/215312.356611:27353889179:ERROR:shared_x_display.cc(37)] Unable to open display [21892:21892:0524/215312.357931:27353890527:INFO:chromoting_host.cc(110)] Starting host [21892:21892:0524/215312.358533:27353891101:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c00011428) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0ca48 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 C0-B8 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.359677:27353892242:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnClientDisconnected(@0x7ffd7cb0c7c8 "user@domain/rest-of-jid") NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] ChromotingHostTest.OnSessionRouteChange (14 ms) [----------] 8 tests from ChromotingHostTest (1681 ms total) [----------] 2 tests from ClientSessionTest [ RUN ] ClientSessionTest.MultiMonMouseMove [21892:21892:0524/215312.364772:27353897358:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0caf8 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 E0-E8 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.365738:27353898307:INFO:client_session.cc(588)] ClientSession::OnDesktopDisplayChanged [21892:21892:0524/215312.365875:27353898445:INFO:client_session.cc(596)] Scanning display info... [21892:21892:0524/215312.366013:27353898579:INFO:client_session.cc(600)] #0 : 0,0 800x600 [96,96] [21892:21892:0524/215312.366248:27353898809:INFO:client_session.cc(600)] #1 : 800,35 1024x768 [96,96] [21892:21892:0524/215312.366417:27353898982:INFO:client_session.cc(649)] Desktop (DIPS) = 0,0 1824x803 [96,96] [21892:21892:0524/215312.366560:27353899123:INFO:client_session.cc(660)] Desktop (pixels) = 0,0 1824x803 [96,96] [21892:21892:0524/215312.366711:27353899277:INFO:client_session.cc(672)] Display 0 = 0,0 800x600 [96,96] [21892:21892:0524/215312.366897:27353899460:INFO:client_session.cc(672)] Display 1 = 800,35 1024x768 [96,96] GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetVideoLayout(@0x7ffd7cb0ca40 48-byte object <40-F9 14-31 16-56 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 04-00 00-00 04-00 00-00 C0-74 01-00 0C-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.367329:27353899923:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.367516:27353900080:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.367672:27353900237:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 1823x802 [21892:21892:0524/215312.367821:27353900388:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 1823x802 [21892:21892:0524/215312.368023:27353900593:INFO:client_session.cc(256)] SelectDesktopDisplay 1 = '1' [21892:21892:0524/215312.368182:27353900751:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 800,35 [21892:21892:0524/215312.368326:27353900903:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.368458:27353901024:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 800,35 [21892:21892:0524/215312.368609:27353901179:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 1023x767 [21892:21892:0524/215312.368769:27353901334:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 1023x767 [21892:21892:0524/215312.368932:27353901495:INFO:client_session.cc(256)] SelectDesktopDisplay 0 = '0' [21892:21892:0524/215312.369068:27353901670:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.369260:27353901836:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.369400:27353901980:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.369558:27353902124:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 799x599 [21892:21892:0524/215312.369690:27353902255:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 799x599 [21892:21892:0524/215312.369856:27353902424:INFO:client_session.cc(256)] SelectDesktopDisplay -1 = 'all' [21892:21892:0524/215312.370003:27353902566:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.370132:27353902704:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.370277:27353902838:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 1823x802 [21892:21892:0524/215312.370433:27353903012:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 1823x802 [21892:21892:0524/215312.370595:27353903158:INFO:client_session.cc(405)] Client disconnected: host1@gmail.com/chromoting123; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnSessionClosed(0x7b5c00011100) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] ClientSessionTest.MultiMonMouseMove (7 ms) [ RUN ] ClientSessionTest.MultiMonMouseMove_SameSize [21892:21892:0524/215312.371851:27353904424:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetCapabilities(@0x7ffd7cb0caf8 32-byte object <20-F6 14-31 16-56 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 C0-A3 00-00 08-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.372807:27353905382:INFO:client_session.cc(588)] ClientSession::OnDesktopDisplayChanged [21892:21892:0524/215312.372952:27353905525:INFO:client_session.cc(596)] Scanning display info... [21892:21892:0524/215312.373085:27353905663:INFO:client_session.cc(600)] #0 : 0,0 800x600 [96,96] [21892:21892:0524/215312.373293:27353905859:INFO:client_session.cc(600)] #1 : 800,35 800x600 [96,96] [21892:21892:0524/215312.373502:27353906082:INFO:client_session.cc(649)] Desktop (DIPS) = 0,0 1600x635 [96,96] [21892:21892:0524/215312.373670:27353906236:INFO:client_session.cc(660)] Desktop (pixels) = 0,0 1600x635 [96,96] [21892:21892:0524/215312.373829:27353906394:INFO:client_session.cc(672)] Display 0 = 0,0 800x600 [96,96] [21892:21892:0524/215312.374004:27353906569:INFO:client_session.cc(672)] Display 1 = 800,35 800x600 [96,96] GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: SetVideoLayout(@0x7ffd7cb0ca40 48-byte object <40-F9 14-31 16-56 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 04-00 00-00 04-00 00-00 30-B1 00-00 0C-7B 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [21892:21892:0524/215312.374428:27353906997:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.374566:27353907131:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.374703:27353907266:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 1599x634 [21892:21892:0524/215312.374845:27353907412:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 1599x634 [21892:21892:0524/215312.375018:27353907603:INFO:client_session.cc(256)] SelectDesktopDisplay 1 = '1' [21892:21892:0524/215312.375198:27353907767:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 800,35 [21892:21892:0524/215312.375368:27353907947:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.375550:27353908119:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 800,35 [21892:21892:0524/215312.375705:27353908275:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 799x599 [21892:21892:0524/215312.375862:27353908433:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 799x599 [21892:21892:0524/215312.376040:27353908609:INFO:client_session.cc(256)] SelectDesktopDisplay 0 = '0' [21892:21892:0524/215312.376197:27353908762:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.376362:27353908932:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.376536:27353909104:INFO:client_session.cc(256)] SelectDesktopDisplay -1 = 'all' [21892:21892:0524/215312.376674:27353909242:INFO:client_session.cc(543)] ClientSession::OnVideoSizeChanged [21892:21892:0524/215312.376807:27353909378:INFO:mouse_input_filter.cc(64)] Setting MouseInputFilter output_offset to 0,0 [21892:21892:0524/215312.376949:27353909517:INFO:mouse_input_filter.cc(58)] Setting MouseInputFilter output_size to 1599x634 [21892:21892:0524/215312.377096:27353909670:INFO:mouse_input_filter.cc(52)] Setting MouseInputFilter input_size to 1599x634 [21892:21892:0524/215312.377265:27353909831:INFO:client_session.cc(405)] Client disconnected: host1@gmail.com/chromoting123; error = 0 GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnSessionClosed(0x7b5c00011100) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] ClientSessionTest.MultiMonMouseMove_SameSize (6 ms) [----------] 2 tests from ClientSessionTest (14 ms total) [----------] Global test environment tear-down [==========] 10 tests from 2 test suites ran. (1695 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 40 warnings ThreadSanitizer: Matched 3 suppressions (pid=21892): 3 race:net::(anonymous namespace)::g_network_change_notifier [ RUN ] ChromotingHostTest.AuthenticationFailed [23204:23204:0524/215336.312943:27377845514:ERROR:shared_x_display.cc(37)] Unable to open display [23204:23204:0524/215336.314482:27377847037:INFO:chromoting_host.cc(110)] Starting host [23204:23204:0524/215336.315169:27377847748:ERROR:shared_x_display.cc(37)] Unable to open display GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: AddPlugin(0x7b5c000006a8) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [23204:23204:0524/215336.315916:27377848500:INFO:client_session.cc(405)] Client disconnected: user@domain/rest-of-jid; error = 4 [23204:23209:0524/215336.319813:27377852369:INFO:rfc7050_ip_synthesizer.cc(106)] Node is unknown. You are probably not in DNS64/NAT64 network. [ OK ] ChromotingHostTest.AuthenticationFailed (14 ms) ================================================================================