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

Test 'SSLErrorHandlerDateInvalidTest.TimeQueryHangs' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'SSLErrorHandlerDateInvalidTest.TimeQueryHangs' had the following logs when run: ================================================================================ [ RUN ] SSLErrorHandlerDateInvalidTest.TimeQueryHangs ================== WARNING: ThreadSanitizer: data race (pid=32302) Read of size 8 at 0x7b180003eb28 by thread T2: #0 __root buildtools/third_party/libc++/trunk/include/__tree:1082:59 (unit_tests+0xa93bec1) #1 find<const char *> buildtools/third_party/libc++/trunk/include/__tree:2605 (unit_tests+0xa93bec1) #2 find<const char *> buildtools/third_party/libc++/trunk/include/map:1385 (unit_tests+0xa93bec1) #3 IsFeatureEnabled base/feature_list.cc:307 (unit_tests+0xa93bec1) #4 base::FeatureList::IsEnabled(base::Feature const&) base/feature_list.cc:204 (unit_tests+0xa93bec1) #5 content::GeneratedCodeCacheContext::InitializeOnIO(base::FilePath const&, int) content/browser/code_cache/generated_code_cache_context.cc:36:7 (unit_tests+0x74e3e0c) #6 Invoke<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:499:12 (unit_tests+0x74e3ff3) #7 MakeItSo<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:599 (unit_tests+0x74e3ff3) #8 RunImpl<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), std::__1::tuple<scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x74e3ff3) #9 base::internal::Invoker<base::internal::BindState<void (content::GeneratedCodeCacheContext::*)(base::FilePath const&, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x74e3ff3) #10 Run base/callback.h:97:12 (unit_tests+0xa9bff45) #11 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (unit_tests+0xa9bff45) #12 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (unit_tests+0xa9da418) #13 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (unit_tests+0xa9d9fdd) #14 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9da93e) #15 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xaa67a34) #16 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (unit_tests+0xa9db129) #17 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9db129) #18 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (unit_tests+0xa999200) #19 base::RunLoop::Run() base/run_loop.cc:129:3 (unit_tests+0xa998ff3) #20 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xaa07599) #21 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:176:11 (unit_tests+0x7470bc6) #22 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:128:7 (unit_tests+0x7470b28) #23 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xaa07851) #24 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xaa61e44) Previous write of size 8 at 0x7b180003eb28 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 (unit_tests+0x3b3c8db) #1 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:119:51 (unit_tests+0x9978c44) #2 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #11 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #12 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #13 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #14 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #15 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #16 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #17 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #18 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #19 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #20 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Location is heap block of size 96 at 0x7b180003eb20 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 (unit_tests+0x3b3c8db) #1 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:119:51 (unit_tests+0x9978c44) #2 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #11 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #12 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #13 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #14 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #15 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #16 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #17 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #18 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #19 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #20 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Thread T2 'Chrome_IOThread' (tid=32684, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unit_tests+0x3acdbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xaa618d7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xaa617d5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xaa07050) #4 StartIOThreadUnregistered content/public/test/test_browser_thread.cc:69:3 (unit_tests+0x9c3b1e3) #5 content::TestBrowserThread::StartIOThread() content/public/test/test_browser_thread.cc:62 (unit_tests+0x9c3b1e3) #6 content::TestBrowserThreadBundle::Init() content/public/test/test_browser_thread_bundle.cc:111:17 (unit_tests+0x9c3b885) #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle(base::test::ScopedTaskEnvironment&&, bool) content/public/test/test_browser_thread_bundle.cc:71:3 (unit_tests+0x9c3b500) #8 content::TestBrowserThreadBundle::TestBrowserThreadBundle<content::TestBrowserThreadBundle::Options, void>(content::TestBrowserThreadBundle::Options const) content/public/test/test_browser_thread_bundle.h:130:9 (unit_tests+0x3bca360) #9 make_unique<content::TestBrowserThreadBundle, content::TestBrowserThreadBundle::Options &> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x4504df1) #10 RenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> content/public/test/test_renderer_host.h:179 (unit_tests+0x4504df1) #11 ChromeRenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> chrome/test/base/chrome_render_view_host_test_harness.h:22 (unit_tests+0x4504df1) #12 SSLErrorHandlerDateInvalidTest::SSLErrorHandlerDateInvalidTest() chrome/browser/ssl/ssl_error_handler_unittest.cc:598 (unit_tests+0x4504df1) #13 SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test chrome/browser/ssl/ssl_error_handler_unittest.cc:1112:1 (unit_tests+0x4505034) #14 testing::internal::TestFactoryImpl<SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (unit_tests+0x4505034) #15 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x641225f) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688 (unit_tests+0x641225f) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__tree:1082:59 in __root ================== ================== WARNING: ThreadSanitizer: data race (pid=32302) Read of size 1 at 0x7b140008aaa7 by thread T2: #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (unit_tests+0x9ae53e0) #1 size buildtools/third_party/libc++/trunk/include/string:953 (unit_tests+0x9ae53e0) #2 compare buildtools/third_party/libc++/trunk/include/string:3719 (unit_tests+0x9ae53e0) #3 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const buildtools/third_party/libc++/trunk/include/string:3792 (unit_tests+0x9ae53e0) #4 operator<<char, std::__1::char_traits<char>, std::__1::allocator<char> > buildtools/third_party/libc++/trunk/include/string:3942:18 (unit_tests+0xa93bef6) #5 operator()<const std::__1::basic_string<char> &, const char *const &> buildtools/third_party/libc++/trunk/include/__functional_base:66 (unit_tests+0xa93bef6) #6 operator()<const char *> buildtools/third_party/libc++/trunk/include/map:538 (unit_tests+0xa93bef6) #7 __lower_bound<const char *> buildtools/third_party/libc++/trunk/include/__tree:2676 (unit_tests+0xa93bef6) #8 find<const char *> buildtools/third_party/libc++/trunk/include/__tree:2605 (unit_tests+0xa93bef6) #9 find<const char *> buildtools/third_party/libc++/trunk/include/map:1385 (unit_tests+0xa93bef6) #10 IsFeatureEnabled base/feature_list.cc:307 (unit_tests+0xa93bef6) #11 base::FeatureList::IsEnabled(base::Feature const&) base/feature_list.cc:204 (unit_tests+0xa93bef6) #12 content::GeneratedCodeCacheContext::InitializeOnIO(base::FilePath const&, int) content/browser/code_cache/generated_code_cache_context.cc:36:7 (unit_tests+0x74e3e0c) #13 Invoke<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:499:12 (unit_tests+0x74e3ff3) #14 MakeItSo<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:599 (unit_tests+0x74e3ff3) #15 RunImpl<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), std::__1::tuple<scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x74e3ff3) #16 base::internal::Invoker<base::internal::BindState<void (content::GeneratedCodeCacheContext::*)(base::FilePath const&, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x74e3ff3) #17 Run base/callback.h:97:12 (unit_tests+0xa9bff45) #18 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (unit_tests+0xa9bff45) #19 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (unit_tests+0xa9da418) #20 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (unit_tests+0xa9d9fdd) #21 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9da93e) #22 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xaa67a34) #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (unit_tests+0xa9db129) #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9db129) #25 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (unit_tests+0xa999200) #26 base::RunLoop::Run() base/run_loop.cc:129:3 (unit_tests+0xa998ff3) #27 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xaa07599) #28 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:176:11 (unit_tests+0x7470bc6) #29 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:128:7 (unit_tests+0x7470b28) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xaa07851) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xaa61e44) Previous write of size 8 at 0x7b140008aaa0 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Location is heap block of size 80 at 0x7b140008aa70 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Thread T2 'Chrome_IOThread' (tid=32684, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unit_tests+0x3acdbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xaa618d7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xaa617d5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xaa07050) #4 StartIOThreadUnregistered content/public/test/test_browser_thread.cc:69:3 (unit_tests+0x9c3b1e3) #5 content::TestBrowserThread::StartIOThread() content/public/test/test_browser_thread.cc:62 (unit_tests+0x9c3b1e3) #6 content::TestBrowserThreadBundle::Init() content/public/test/test_browser_thread_bundle.cc:111:17 (unit_tests+0x9c3b885) #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle(base::test::ScopedTaskEnvironment&&, bool) content/public/test/test_browser_thread_bundle.cc:71:3 (unit_tests+0x9c3b500) #8 content::TestBrowserThreadBundle::TestBrowserThreadBundle<content::TestBrowserThreadBundle::Options, void>(content::TestBrowserThreadBundle::Options const) content/public/test/test_browser_thread_bundle.h:130:9 (unit_tests+0x3bca360) #9 make_unique<content::TestBrowserThreadBundle, content::TestBrowserThreadBundle::Options &> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x4504df1) #10 RenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> content/public/test/test_renderer_host.h:179 (unit_tests+0x4504df1) #11 ChromeRenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> chrome/test/base/chrome_render_view_host_test_harness.h:22 (unit_tests+0x4504df1) #12 SSLErrorHandlerDateInvalidTest::SSLErrorHandlerDateInvalidTest() chrome/browser/ssl/ssl_error_handler_unittest.cc:598 (unit_tests+0x4504df1) #13 SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test chrome/browser/ssl/ssl_error_handler_unittest.cc:1112:1 (unit_tests+0x4505034) #14 testing::internal::TestFactoryImpl<SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (unit_tests+0x4505034) #15 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x641225f) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688 (unit_tests+0x641225f) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long ================== ================== WARNING: ThreadSanitizer: data race (pid=32302) Read of size 8 at 0x7b140008aa98 by thread T2: #0 __get_long_size buildtools/third_party/libc++/trunk/include/string:1488:34 (unit_tests+0x9ae5451) #1 size buildtools/third_party/libc++/trunk/include/string:953 (unit_tests+0x9ae5451) #2 compare buildtools/third_party/libc++/trunk/include/string:3719 (unit_tests+0x9ae5451) #3 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const buildtools/third_party/libc++/trunk/include/string:3792 (unit_tests+0x9ae5451) #4 operator<<char, std::__1::char_traits<char>, std::__1::allocator<char> > buildtools/third_party/libc++/trunk/include/string:3942:18 (unit_tests+0xa93bef6) #5 operator()<const std::__1::basic_string<char> &, const char *const &> buildtools/third_party/libc++/trunk/include/__functional_base:66 (unit_tests+0xa93bef6) #6 operator()<const char *> buildtools/third_party/libc++/trunk/include/map:538 (unit_tests+0xa93bef6) #7 __lower_bound<const char *> buildtools/third_party/libc++/trunk/include/__tree:2676 (unit_tests+0xa93bef6) #8 find<const char *> buildtools/third_party/libc++/trunk/include/__tree:2605 (unit_tests+0xa93bef6) #9 find<const char *> buildtools/third_party/libc++/trunk/include/map:1385 (unit_tests+0xa93bef6) #10 IsFeatureEnabled base/feature_list.cc:307 (unit_tests+0xa93bef6) #11 base::FeatureList::IsEnabled(base::Feature const&) base/feature_list.cc:204 (unit_tests+0xa93bef6) #12 content::GeneratedCodeCacheContext::InitializeOnIO(base::FilePath const&, int) content/browser/code_cache/generated_code_cache_context.cc:36:7 (unit_tests+0x74e3e0c) #13 Invoke<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:499:12 (unit_tests+0x74e3ff3) #14 MakeItSo<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:599 (unit_tests+0x74e3ff3) #15 RunImpl<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), std::__1::tuple<scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x74e3ff3) #16 base::internal::Invoker<base::internal::BindState<void (content::GeneratedCodeCacheContext::*)(base::FilePath const&, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x74e3ff3) #17 Run base/callback.h:97:12 (unit_tests+0xa9bff45) #18 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (unit_tests+0xa9bff45) #19 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (unit_tests+0xa9da418) #20 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (unit_tests+0xa9d9fdd) #21 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9da93e) #22 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xaa67a34) #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (unit_tests+0xa9db129) #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9db129) #25 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (unit_tests+0xa999200) #26 base::RunLoop::Run() base/run_loop.cc:129:3 (unit_tests+0xa998ff3) #27 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xaa07599) #28 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:176:11 (unit_tests+0x7470bc6) #29 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:128:7 (unit_tests+0x7470b28) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xaa07851) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xaa61e44) Previous write of size 8 at 0x7b140008aa98 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Location is heap block of size 80 at 0x7b140008aa70 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Thread T2 'Chrome_IOThread' (tid=32684, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unit_tests+0x3acdbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xaa618d7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xaa617d5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xaa07050) #4 StartIOThreadUnregistered content/public/test/test_browser_thread.cc:69:3 (unit_tests+0x9c3b1e3) #5 content::TestBrowserThread::StartIOThread() content/public/test/test_browser_thread.cc:62 (unit_tests+0x9c3b1e3) #6 content::TestBrowserThreadBundle::Init() content/public/test/test_browser_thread_bundle.cc:111:17 (unit_tests+0x9c3b885) #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle(base::test::ScopedTaskEnvironment&&, bool) content/public/test/test_browser_thread_bundle.cc:71:3 (unit_tests+0x9c3b500) #8 content::TestBrowserThreadBundle::TestBrowserThreadBundle<content::TestBrowserThreadBundle::Options, void>(content::TestBrowserThreadBundle::Options const) content/public/test/test_browser_thread_bundle.h:130:9 (unit_tests+0x3bca360) #9 make_unique<content::TestBrowserThreadBundle, content::TestBrowserThreadBundle::Options &> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x4504df1) #10 RenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> content/public/test/test_renderer_host.h:179 (unit_tests+0x4504df1) #11 ChromeRenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> chrome/test/base/chrome_render_view_host_test_harness.h:22 (unit_tests+0x4504df1) #12 SSLErrorHandlerDateInvalidTest::SSLErrorHandlerDateInvalidTest() chrome/browser/ssl/ssl_error_handler_unittest.cc:598 (unit_tests+0x4504df1) #13 SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test chrome/browser/ssl/ssl_error_handler_unittest.cc:1112:1 (unit_tests+0x4505034) #14 testing::internal::TestFactoryImpl<SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (unit_tests+0x4505034) #15 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x641225f) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688 (unit_tests+0x641225f) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1488:34 in __get_long_size ================== ================== WARNING: ThreadSanitizer: data race (pid=32302) Read of size 8 at 0x7b140008aa90 by thread T2: #0 __get_long_pointer buildtools/third_party/libc++/trunk/include/string:1508:34 (unit_tests+0x9ae53fe) #1 __get_pointer buildtools/third_party/libc++/trunk/include/string:1520 (unit_tests+0x9ae53fe) #2 data buildtools/third_party/libc++/trunk/include/string:1248 (unit_tests+0x9ae53fe) #3 compare buildtools/third_party/libc++/trunk/include/string:3723 (unit_tests+0x9ae53fe) #4 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const buildtools/third_party/libc++/trunk/include/string:3792 (unit_tests+0x9ae53fe) #5 operator<<char, std::__1::char_traits<char>, std::__1::allocator<char> > buildtools/third_party/libc++/trunk/include/string:3942:18 (unit_tests+0xa93bef6) #6 operator()<const std::__1::basic_string<char> &, const char *const &> buildtools/third_party/libc++/trunk/include/__functional_base:66 (unit_tests+0xa93bef6) #7 operator()<const char *> buildtools/third_party/libc++/trunk/include/map:538 (unit_tests+0xa93bef6) #8 __lower_bound<const char *> buildtools/third_party/libc++/trunk/include/__tree:2676 (unit_tests+0xa93bef6) #9 find<const char *> buildtools/third_party/libc++/trunk/include/__tree:2605 (unit_tests+0xa93bef6) #10 find<const char *> buildtools/third_party/libc++/trunk/include/map:1385 (unit_tests+0xa93bef6) #11 IsFeatureEnabled base/feature_list.cc:307 (unit_tests+0xa93bef6) #12 base::FeatureList::IsEnabled(base::Feature const&) base/feature_list.cc:204 (unit_tests+0xa93bef6) #13 content::GeneratedCodeCacheContext::InitializeOnIO(base::FilePath const&, int) content/browser/code_cache/generated_code_cache_context.cc:36:7 (unit_tests+0x74e3e0c) #14 Invoke<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:499:12 (unit_tests+0x74e3ff3) #15 MakeItSo<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:599 (unit_tests+0x74e3ff3) #16 RunImpl<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), std::__1::tuple<scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x74e3ff3) #17 base::internal::Invoker<base::internal::BindState<void (content::GeneratedCodeCacheContext::*)(base::FilePath const&, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x74e3ff3) #18 Run base/callback.h:97:12 (unit_tests+0xa9bff45) #19 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (unit_tests+0xa9bff45) #20 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (unit_tests+0xa9da418) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (unit_tests+0xa9d9fdd) #22 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9da93e) #23 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xaa67a34) #24 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (unit_tests+0xa9db129) #25 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9db129) #26 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (unit_tests+0xa999200) #27 base::RunLoop::Run() base/run_loop.cc:129:3 (unit_tests+0xa998ff3) #28 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xaa07599) #29 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:176:11 (unit_tests+0x7470bc6) #30 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:128:7 (unit_tests+0x7470b28) #31 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xaa07851) #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xaa61e44) Previous write of size 8 at 0x7b140008aa90 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Location is heap block of size 80 at 0x7b140008aa70 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Thread T2 'Chrome_IOThread' (tid=32684, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unit_tests+0x3acdbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xaa618d7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xaa617d5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xaa07050) #4 StartIOThreadUnregistered content/public/test/test_browser_thread.cc:69:3 (unit_tests+0x9c3b1e3) #5 content::TestBrowserThread::StartIOThread() content/public/test/test_browser_thread.cc:62 (unit_tests+0x9c3b1e3) #6 content::TestBrowserThreadBundle::Init() content/public/test/test_browser_thread_bundle.cc:111:17 (unit_tests+0x9c3b885) #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle(base::test::ScopedTaskEnvironment&&, bool) content/public/test/test_browser_thread_bundle.cc:71:3 (unit_tests+0x9c3b500) #8 content::TestBrowserThreadBundle::TestBrowserThreadBundle<content::TestBrowserThreadBundle::Options, void>(content::TestBrowserThreadBundle::Options const) content/public/test/test_browser_thread_bundle.h:130:9 (unit_tests+0x3bca360) #9 make_unique<content::TestBrowserThreadBundle, content::TestBrowserThreadBundle::Options &> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x4504df1) #10 RenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> content/public/test/test_renderer_host.h:179 (unit_tests+0x4504df1) #11 ChromeRenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> chrome/test/base/chrome_render_view_host_test_harness.h:22 (unit_tests+0x4504df1) #12 SSLErrorHandlerDateInvalidTest::SSLErrorHandlerDateInvalidTest() chrome/browser/ssl/ssl_error_handler_unittest.cc:598 (unit_tests+0x4504df1) #13 SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test chrome/browser/ssl/ssl_error_handler_unittest.cc:1112:1 (unit_tests+0x4505034) #14 testing::internal::TestFactoryImpl<SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (unit_tests+0x4505034) #15 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x641225f) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688 (unit_tests+0x641225f) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1508:34 in __get_long_pointer ================== ================== WARNING: ThreadSanitizer: data race (pid=32302) Read of size 1 at 0x7b080006f340 by thread T2: #0 memcmp /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:865:3 (unit_tests+0x3ad81a7) #1 compare buildtools/third_party/libc++/trunk/include/__string:249:12 (unit_tests+0x9ae541c) #2 compare buildtools/third_party/libc++/trunk/include/string:3723 (unit_tests+0x9ae541c) #3 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const buildtools/third_party/libc++/trunk/include/string:3792 (unit_tests+0x9ae541c) #4 operator<<char, std::__1::char_traits<char>, std::__1::allocator<char> > buildtools/third_party/libc++/trunk/include/string:3942:18 (unit_tests+0xa93bef6) #5 operator()<const std::__1::basic_string<char> &, const char *const &> buildtools/third_party/libc++/trunk/include/__functional_base:66 (unit_tests+0xa93bef6) #6 operator()<const char *> buildtools/third_party/libc++/trunk/include/map:538 (unit_tests+0xa93bef6) #7 __lower_bound<const char *> buildtools/third_party/libc++/trunk/include/__tree:2676 (unit_tests+0xa93bef6) #8 find<const char *> buildtools/third_party/libc++/trunk/include/__tree:2605 (unit_tests+0xa93bef6) #9 find<const char *> buildtools/third_party/libc++/trunk/include/map:1385 (unit_tests+0xa93bef6) #10 IsFeatureEnabled base/feature_list.cc:307 (unit_tests+0xa93bef6) #11 base::FeatureList::IsEnabled(base::Feature const&) base/feature_list.cc:204 (unit_tests+0xa93bef6) #12 content::GeneratedCodeCacheContext::InitializeOnIO(base::FilePath const&, int) content/browser/code_cache/generated_code_cache_context.cc:36:7 (unit_tests+0x74e3e0c) #13 Invoke<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:499:12 (unit_tests+0x74e3ff3) #14 MakeItSo<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:599 (unit_tests+0x74e3ff3) #15 RunImpl<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), std::__1::tuple<scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x74e3ff3) #16 base::internal::Invoker<base::internal::BindState<void (content::GeneratedCodeCacheContext::*)(base::FilePath const&, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x74e3ff3) #17 Run base/callback.h:97:12 (unit_tests+0xa9bff45) #18 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (unit_tests+0xa9bff45) #19 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (unit_tests+0xa9da418) #20 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (unit_tests+0xa9d9fdd) #21 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9da93e) #22 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xaa67a34) #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (unit_tests+0xa9db129) #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9db129) #25 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (unit_tests+0xa999200) #26 base::RunLoop::Run() base/run_loop.cc:129:3 (unit_tests+0xa998ff3) #27 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xaa07599) #28 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:176:11 (unit_tests+0x7470bc6) #29 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:128:7 (unit_tests+0x7470b28) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xaa07851) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xaa61e44) Previous write of size 8 at 0x7b080006f340 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b541) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b541) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b541) #4 __init buildtools/third_party/libc++/trunk/include/string:1793 (unit_tests+0xa93b541) #5 basic_string buildtools/third_party/libc++/trunk/include/string:1821 (unit_tests+0xa93b541) #6 as_string base/strings/string_piece.h:268 (unit_tests+0xa93b541) #7 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:375 (unit_tests+0xa93b541) #8 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #9 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #10 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #11 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #12 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #20 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #21 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #22 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #23 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #24 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #25 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #28 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Location is heap block of size 32 at 0x7b080006f340 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b541) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b541) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b541) #4 __init buildtools/third_party/libc++/trunk/include/string:1793 (unit_tests+0xa93b541) #5 basic_string buildtools/third_party/libc++/trunk/include/string:1821 (unit_tests+0xa93b541) #6 as_string base/strings/string_piece.h:268 (unit_tests+0xa93b541) #7 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:375 (unit_tests+0xa93b541) #8 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #9 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #10 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #11 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #12 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #19 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #20 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #21 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #22 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #23 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #24 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #25 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #28 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Thread T2 'Chrome_IOThread' (tid=32684, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unit_tests+0x3acdbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xaa618d7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xaa617d5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xaa07050) #4 StartIOThreadUnregistered content/public/test/test_browser_thread.cc:69:3 (unit_tests+0x9c3b1e3) #5 content::TestBrowserThread::StartIOThread() content/public/test/test_browser_thread.cc:62 (unit_tests+0x9c3b1e3) #6 content::TestBrowserThreadBundle::Init() content/public/test/test_browser_thread_bundle.cc:111:17 (unit_tests+0x9c3b885) #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle(base::test::ScopedTaskEnvironment&&, bool) content/public/test/test_browser_thread_bundle.cc:71:3 (unit_tests+0x9c3b500) #8 content::TestBrowserThreadBundle::TestBrowserThreadBundle<content::TestBrowserThreadBundle::Options, void>(content::TestBrowserThreadBundle::Options const) content/public/test/test_browser_thread_bundle.h:130:9 (unit_tests+0x3bca360) #9 make_unique<content::TestBrowserThreadBundle, content::TestBrowserThreadBundle::Options &> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x4504df1) #10 RenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> content/public/test/test_renderer_host.h:179 (unit_tests+0x4504df1) #11 ChromeRenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> chrome/test/base/chrome_render_view_host_test_harness.h:22 (unit_tests+0x4504df1) #12 SSLErrorHandlerDateInvalidTest::SSLErrorHandlerDateInvalidTest() chrome/browser/ssl/ssl_error_handler_unittest.cc:598 (unit_tests+0x4504df1) #13 SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test chrome/browser/ssl/ssl_error_handler_unittest.cc:1112:1 (unit_tests+0x4505034) #14 testing::internal::TestFactoryImpl<SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (unit_tests+0x4505034) #15 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x641225f) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688 (unit_tests+0x641225f) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__string:249:12 in compare ================== ================== WARNING: ThreadSanitizer: data race (pid=32302) Read of size 8 at 0x7b140008aa78 by thread T2: #0 __lower_bound<const char *> buildtools/third_party/libc++/trunk/include/__tree (unit_tests+0xa93bf10) #1 find<const char *> buildtools/third_party/libc++/trunk/include/__tree:2605 (unit_tests+0xa93bf10) #2 find<const char *> buildtools/third_party/libc++/trunk/include/map:1385 (unit_tests+0xa93bf10) #3 IsFeatureEnabled base/feature_list.cc:307 (unit_tests+0xa93bf10) #4 base::FeatureList::IsEnabled(base::Feature const&) base/feature_list.cc:204 (unit_tests+0xa93bf10) #5 content::GeneratedCodeCacheContext::InitializeOnIO(base::FilePath const&, int) content/browser/code_cache/generated_code_cache_context.cc:36:7 (unit_tests+0x74e3e0c) #6 Invoke<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:499:12 (unit_tests+0x74e3ff3) #7 MakeItSo<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int> base/bind_internal.h:599 (unit_tests+0x74e3ff3) #8 RunImpl<void (content::GeneratedCodeCacheContext::*)(const base::FilePath &, int), std::__1::tuple<scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x74e3ff3) #9 base::internal::Invoker<base::internal::BindState<void (content::GeneratedCodeCacheContext::*)(base::FilePath const&, int), scoped_refptr<content::GeneratedCodeCacheContext>, base::FilePath, int>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x74e3ff3) #10 Run base/callback.h:97:12 (unit_tests+0xa9bff45) #11 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (unit_tests+0xa9bff45) #12 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (unit_tests+0xa9da418) #13 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (unit_tests+0xa9d9fdd) #14 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9da93e) #15 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xaa67a34) #16 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (unit_tests+0xa9db129) #17 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa9db129) #18 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (unit_tests+0xa999200) #19 base::RunLoop::Run() base/run_loop.cc:129:3 (unit_tests+0xa998ff3) #20 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xaa07599) #21 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:176:11 (unit_tests+0x7470bc6) #22 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:128:7 (unit_tests+0x7470b28) #23 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xaa07851) #24 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xaa61e44) Previous write of size 8 at 0x7b140008aa78 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Location is heap block of size 80 at 0x7b140008aa70 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 (unit_tests+0x3b3c8db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (unit_tests+0xa93b63c) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (unit_tests+0xa93b63c) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (unit_tests+0xa93b63c) #4 __construct_node<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2217 (unit_tests+0xa93b63c) #5 __emplace_unique_key_args<std::__1::basic_string<char>, std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:2163 (unit_tests+0xa93b63c) #6 __emplace_unique_extract_key<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1207 (unit_tests+0xa93b63c) #7 __emplace_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry> > buildtools/third_party/libc++/trunk/include/__tree:1169 (unit_tests+0xa93b63c) #8 __insert_unique<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/__tree:1297 (unit_tests+0xa93b63c) #9 insert<std::__1::pair<std::__1::basic_string<char>, base::FeatureList::OverrideEntry>, void> buildtools/third_party/libc++/trunk/include/map:1161 (unit_tests+0xa93b63c) #10 base::FeatureList::RegisterOverride(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:374 (unit_tests+0xa93b63c) #11 base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) base/feature_list.cc:160:3 (unit_tests+0xa93b821) #12 network_time::FieldTrialTest::SetNetworkQueriesWithVariationsService(bool, float, network_time::NetworkTimeTracker::FetchBehavior) components/network_time/network_time_test_utils.cc:120:17 (unit_tests+0x9978ca5) #13 SSLErrorHandlerDateInvalidTest::SetUp() chrome/browser/ssl/ssl_error_handler_unittest.cc:611:25 (unit_tests+0x45029fe) #14 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6411062) #15 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (unit_tests+0x6411062) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unit_tests+0x6412408) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) Thread T2 'Chrome_IOThread' (tid=32684, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unit_tests+0x3acdbfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xaa618d7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xaa617d5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xaa07050) #4 StartIOThreadUnregistered content/public/test/test_browser_thread.cc:69:3 (unit_tests+0x9c3b1e3) #5 content::TestBrowserThread::StartIOThread() content/public/test/test_browser_thread.cc:62 (unit_tests+0x9c3b1e3) #6 content::TestBrowserThreadBundle::Init() content/public/test/test_browser_thread_bundle.cc:111:17 (unit_tests+0x9c3b885) #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle(base::test::ScopedTaskEnvironment&&, bool) content/public/test/test_browser_thread_bundle.cc:71:3 (unit_tests+0x9c3b500) #8 content::TestBrowserThreadBundle::TestBrowserThreadBundle<content::TestBrowserThreadBundle::Options, void>(content::TestBrowserThreadBundle::Options const) content/public/test/test_browser_thread_bundle.h:130:9 (unit_tests+0x3bca360) #9 make_unique<content::TestBrowserThreadBundle, content::TestBrowserThreadBundle::Options &> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x4504df1) #10 RenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> content/public/test/test_renderer_host.h:179 (unit_tests+0x4504df1) #11 ChromeRenderViewHostTestHarness<content::TestBrowserThreadBundle::Options> chrome/test/base/chrome_render_view_host_test_harness.h:22 (unit_tests+0x4504df1) #12 SSLErrorHandlerDateInvalidTest::SSLErrorHandlerDateInvalidTest() chrome/browser/ssl/ssl_error_handler_unittest.cc:598 (unit_tests+0x4504df1) #13 SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test chrome/browser/ssl/ssl_error_handler_unittest.cc:1112:1 (unit_tests+0x4505034) #14 testing::internal::TestFactoryImpl<SSLErrorHandlerDateInvalidTest_TimeQueryHangs_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (unit_tests+0x4505034) #15 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x641225f) #16 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688 (unit_tests+0x641225f) #17 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unit_tests+0x6412fd6) #18 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unit_tests+0x6425386) #19 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x64247e9) #20 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unit_tests+0x64247e9) #21 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unit_tests+0x9b379b2) #22 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9b379b2) #23 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:81:23 (unit_tests+0x9c43bef) #24 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9b24f58) #25 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9b24f58) #26 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9b24f58) #27 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9b24f58) #28 Run base/callback.h:97:12 (unit_tests+0x9b4157d) #29 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (unit_tests+0x9b4157d) #30 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (unit_tests+0x9b413e0) #31 main chrome/test/base/run_all_unittests.cc:33:10 (unit_tests+0x9b24e89) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__tree in __lower_bound<const char *> ================== [ OK ] SSLErrorHandlerDateInvalidTest.TimeQueryHangs (294 ms) [----------] 3 tests from SSLErrorHandlerDateInvalidTest (2426 ms total) [----------] 1 test from SSLErrorAssistantProtoTest [ RUN ] SSLErrorAssistantProtoTest.CaptivePortal_FeatureDisabled [ OK ] SSLErrorAssistantProtoTest.CaptivePortal_FeatureDisabled (173 ms) [----------] 1 test from SSLErrorAssistantProtoTest (175 ms total) [----------] Global test environment tear-down [==========] 10 tests from 4 test suites ran. (3383 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 7 warnings [ RUN ] SSLErrorHandlerDateInvalidTest.TimeQueryHangs [ OK ] SSLErrorHandlerDateInvalidTest.TimeQueryHangs (146 ms) ================================================================================