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

{ "shards": [ { "bot_dimensions": [ { "key": "caches", "value": [ "swarming_module_cache_vpython" ] }, { "key": "cores", "value": [ "8" ] }, { "key": "cpu", "value": [ "x86", "x86-64", "x86-64-Broadwell_GCE", "x86-64-avx2" ] }, { "key": "gce", "value": [ "1" ] }, { "key": "gpu", "value": [ "none" ] }, { "key": "id", "value": [ "gce-trusty-e833d7b0-us-east1-b-5t1v" ] }, { "key": "image", "value": [ "chrome-trusty-18091700-38cc06ee3ee" ] }, { "key": "inside_docker", "value": [ "0" ] }, { "key": "kvm", "value": [ "1" ] }, { "key": "machine_type", "value": [ "n1-standard-8" ] }, { "key": "os", "value": [ "Linux", "Ubuntu", "Ubuntu-14.04" ] }, { "key": "pool", "value": [ "Chrome" ] }, { "key": "python", "value": [ "2.7.6" ] }, { "key": "server_version", "value": [ "4216-cf4a3cd" ] }, { "key": "zone", "value": [ "us", "us-east", "us-east1", "us-east1-b" ] } ], "bot_id": "gce-trusty-e833d7b0-us-east1-b-5t1v", "bot_version": "c7f0c187ee2160053ce935aa86119b526086da1e165dea02547e2f5a35dc9e3f", "cipd_pins": { "client_package": { "package_name": "infra/tools/cipd/linux-amd64", "version": "nFftZl2kFquaI2EUmPGwzbc5sIbCocl9L55UeASqlLsC" }, "packages": [ { "package_name": "infra/python/cpython/linux-amd64", "path": ".swarming_module", "version": "46c0c897ca0f053799ee41fd148bb7a47232df47" }, { "package_name": "infra/tools/luci/logdog/butler/linux-amd64", "path": ".swarming_module", "version": "2737ea8ed9b958f4d5aa9ffe106115a649ada241" }, { "package_name": "infra/tools/luci/vpython-native/linux-amd64", "path": ".swarming_module", "version": "OAXVAmcUSrvDygYUrCDzv20LRono9938YOHPu0zKowgC" }, { "package_name": "infra/tools/luci/vpython/linux-amd64", "path": ".swarming_module", "version": "ucaOciwAE9aweCUDOrmSvyiwrjmbywuB0NzAGUXIHjAC" } ] }, "completed_ts": "2019-03-24T04:46:38.934012", "costs_usd": [ 0.03749267873406961 ], "created_ts": "2019-03-24T04:41:12.435626", "duration": 304.4652261734009, "modified_ts": "2019-03-24T04:46:38.934012", "name": "unit_tests/Ubuntu-14.04/545e0a3b52/Linux TSan Tests/35949:0:2", "output": "Additional test environment:\n CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox\n CHROME_HEADLESS=1\n G_SLICE=always-malloc\n LANG=en_US.UTF-8\n NSS_DISABLE_ARENA_FREE_LIST=1\n NSS_DISABLE_UNLOAD=1\n TSAN_OPTIONS=symbolize=1 external_symbolizer_path=/b/s/w/ir/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer handle_abort=1\nCommand: ./unit_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-print-test-stdio=always --test-launcher-summary-output=/b/s/w/iooEeKKR/output.json --no-sandbox\n\nIMPORTANT DEBUGGING NOTE: batches of tests are run inside their\nown process. For debugging a test inside a debugger, use the\n--gtest_filter=<your_test_name> flag along with\n--single-process-tests.\nUsing sharding settings from environment. This is shard 0/2\nUsing 8 parallel jobs.\n[ RUN ] IncognitoModePrefsDeathTest.GetAvailabilityBadValue\n\n[WARNING] ../../chrome/browser/prefs/incognito_mode_prefs_unittest.cc:68:: Death tests are not supported on this platform.\nStatement '{ IncognitoModePrefs::Availability availability = IncognitoModePrefs::GetAvailability(&prefs_); switch (0) case 0: default: if (const ::testing::AssertionResult gtest_ar = (::testing::internal::EqHelper::Compare(\"IncognitoModePrefs::ENABLED\", \"availability\", IncognitoModePrefs::ENABLED, availability))) ; else ::testing::internal::AssertHelper(::testing::TestPartResult::kNonFatalFailure, \"../../chrome/browser/prefs/incognito_mode_prefs_unittest.cc\", 67, gtest_ar.failure_message()) = ::testing::Message(); }' cannot be verified.\n[ OK ] IncognitoModePrefsDeathTest.GetAvailabilityBadValue (0 ms)\n[1/4713] IncognitoModePrefsDeathTest.GetAvailabilityBadValue (0 ms)\n[ RUN ] CastInternalMessageUtilDeathTest.CastInternalMessageFromAppMessageString\n\n[WARNING] ../../chrome/browser/media/router/providers/cast/cast_internal_message_util_unittest.cc:87:: Death tests are not supported on this platform.\nStatement 'message->v2_message_type()' cannot be verified.\n\n[WARNING] ../../chrome/browser/media/router/providers/cast/cast_internal_message_util_unittest.cc:88:: Death tests are not supported on this platform.\nStatement 'message->v2_message_body()' cannot be verified.\n[ OK ] CastInternalMessageUtilDeathTest.CastInternalMessageFromAppMessageString (0 ms)\n[2/4713] CastInternalMessageUtilDeathTest.CastInternalMessageFromAppMessageString (0 ms)\n[ RUN ] CastInternalMessageUtilDeathTest.CastInternalMessageFromV2MessageString\n\n[WARNING] ../../chrome/browser/media/router/providers/cast/cast_internal_message_util_unittest.cc:118:: Death tests are not supported on this platform.\nStatement 'message->app_message_namespace()' cannot be verified.\n\n[WARNING] ../../chrome/browser/media/router/providers/cast/cast_internal_message_util_unittest.cc:119:: Death tests are not supported on this platform.\nStatement 'message->app_message_body()' cannot be verified.\n[ OK ] CastInternalMessageUtilDeathTest.CastInternalMessageFromV2MessageString (1 ms)\n[3/4713] CastInternalMessageUtilDeathTest.CastInternalMessageFromV2MessageString (1 ms)\n[ RUN ] AboutFlagsTest.EveryFlagHasMetadata\n[ OK ] AboutFlagsTest.EveryFlagHasMetadata (24 ms)\n[4/4713] AboutFlagsTest.EveryFlagHasMetadata (24 ms)\n[ RUN ] AboutFlagsHistogramTest.CheckHistograms\n[ OK ] AboutFlagsHistogramTest.CheckHistograms (1173 ms)\n[5/4713] AboutFlagsHistogramTest.CheckHistograms (1173 ms)\n[ RUN ] ShouldRecordActiveUse.OrdinaryCommand\n[ OK ] ShouldRecordActiveUse.OrdinaryCommand (1 ms)\n[6/4713] ShouldRecordActiveUse.OrdinaryCommand (1 ms)\n[ RUN ] ShouldRecordActiveUse.FakeTryChromeAgainCommand\n[ OK ] ShouldRecordActiveUse.FakeTryChromeAgainCommand (0 ms)\n[7/4713] ShouldRecordActiveUse.FakeTryChromeAgainCommand (0 ms)\n[ RUN ] ShouldRecordActiveUse.TryChromeAgainCommand\n[ OK ] ShouldRecordActiveUse.TryChromeAgainCommand (0 ms)\n[8/4713] ShouldRecordActiveUse.TryChromeAgainCommand (0 ms)\n[ RUN ] AfterStartupTaskTest.PostTask\n[ OK ] AfterStartupTaskTest.PostTask (54 ms)\n[9/4713] AfterStartupTaskTest.PostTask (54 ms)\n[ RUN ] SecurityEventRecorderImplTest.RecordGaiaPasswordReuse\n[ OK ] SecurityEventRecorderImplTest.RecordGaiaPasswordReuse (1 ms)\n[10/4713] SecurityEventRecorderImplTest.RecordGaiaPasswordReuse (1 ms)\n[ RUN ] BackgroundSyncPermissionContextTest.TestSecureRequestingUrl\n[29208:29208:0323/214136.766561:33607555412:ERROR:render_widget_host_view_base.cc(183)] Not implemented reached in virtual uint32_t content::RenderWidgetHostViewBase::GetCaptureSequenceNumber() const\n[ OK ] BackgroundSyncPermissionContextTest.TestSecureRequestingUrl (324 ms)\n[11/4713] BackgroundSyncPermissionContextTest.TestSecureRequestingUrl (324 ms)\n[ RUN ] BackgroundSyncPermissionContextTest.TestBlockOrigin\n[ OK ] BackgroundSyncPermissionContextTest.TestBlockOrigin (314 ms)\n[12/4713] BackgroundSyncPermissionContextTest.TestBlockOrigin (314 ms)\n[ RUN ] AppBannerSettingsHelperTest.ReportsWhetherBannerWasRecentlyIgnored\n[ OK ] AppBannerSettingsHelperTest.ReportsWhetherBannerWasRecentlyIgnored (234 ms)\n[13/4713] AppBannerSettingsHelperTest.ReportsWhetherBannerWasRecentlyIgnored (234 ms)\n[ RUN ] AppBannerSettingsHelperTest.ReportsWhetherSiteWasEverAdded\n[ OK ] AppBannerSettingsHelperTest.ReportsWhetherSiteWasEverAdded (135 ms)\n[14/4713] AppBannerSettingsHelperTest.ReportsWhetherSiteWasEverAdded (135 ms)\n[ RUN ] AppBannerSettingsHelperTest.OperatesOnOrigins\n[ OK ] AppBannerSettingsHelperTest.OperatesOnOrigins (122 ms)\n[15/4713] AppBannerSettingsHelperTest.OperatesOnOrigins (122 ms)\n[ RUN ] AppBannerSettingsHelperTest.ShouldShowWithHigherTotal\n[ OK ] AppBannerSettingsHelperTest.ShouldShowWithHigherTotal (111 ms)\n[16/4713] AppBannerSettingsHelperTest.ShouldShowWithHigherTotal (111 ms)\n[ RUN ] AppBannerSettingsHelperTest.WasLaunchedRecently\n[ OK ] AppBannerSettingsHelperTest.WasLaunchedRecently (134 ms)\n[17/4713] AppBannerSettingsHelperTest.WasLaunchedRecently (134 ms)\n[ RUN ] BitmapFetcherServiceTest.RequestInvalidUrl\n[ OK ] BitmapFetcherServiceTest.RequestInvalidUrl (35 ms)\n[18/4713] BitmapFetcherServiceTest.RequestInvalidUrl (35 ms)\n[ RUN ] BitmapFetcherServiceTest.CancelInvalidRequest\n[ OK ] BitmapFetcherServiceTest.CancelInvalidRequest (44 ms)\n[19/4713] BitmapFetcherServiceTest.CancelInvalidRequest (44 ms)\n[ RUN ] BitmapFetcherServiceTest.FailedNullRequestsAreHandled\n[ OK ] BitmapFetcherServiceTest.FailedNullRequestsAreHandled (48 ms)\n[20/4713] BitmapFetcherServiceTest.FailedNullRequestsAreHandled (48 ms)\n[ RUN ] BitmapFetcherServiceTest.FailedRequestsDontEnterCache\n[ OK ] BitmapFetcherServiceTest.FailedRequestsDontEnterCache (80 ms)\n[21/4713] BitmapFetcherServiceTest.FailedRequestsDontEnterCache (80 ms)\n[ RUN ] ManagedBookmarkServiceTest.LoadInitial\n[ OK ] ManagedBookmarkServiceTest.LoadInitial (88 ms)\n[22/4713] ManagedBookmarkServiceTest.LoadInitial (88 ms)\n[ RUN ] ManagedBookmarkServiceTest.SwapNodes\n[ OK ] ManagedBookmarkServiceTest.SwapNodes (77 ms)\n[23/4713] ManagedBookmarkServiceTest.SwapNodes (77 ms)\n[ RUN ] ManagedBookmarkServiceTest.GetManagedBookmarksDomain\n[ OK ] ManagedBookmarkServiceTest.GetManagedBookmarksDomain (52 ms)\n[24/4713] ManagedBookmarkServiceTest.GetManagedBookmarksDomain (52 ms)\n[ RUN ] BrowserAboutHandlerTest.NoVirtualURLForFixup\n[ OK ] BrowserAboutHandlerTest.NoVirtualURLForFixup (73 ms)\n[25/4713] BrowserAboutHandlerTest.NoVirtualURLForFixup (73 ms)\n[ RUN ] CannedBrowsingDataAppCacheHelperTest.SetInfo\n[ OK ] CannedBrowsingDataAppCacheHelperTest.SetInfo (198 ms)\n[26/4713] CannedBrowsingDataAppCacheHelperTest.SetInfo (198 ms)\n[ RUN ] CannedBrowsingDataAppCacheHelperTest.Unique\n[ OK ] CannedBrowsingDataAppCacheHelperTest.Unique (163 ms)\n[27/4713] CannedBrowsingDataAppCacheHelperTest.Unique (163 ms)\n[ RUN ] CannedBrowsingDataAppCacheHelperTest.Empty\n[ OK ] CannedBrowsingDataAppCacheHelperTest.Empty (110 ms)\n[28/4713] CannedBrowsingDataAppCacheHelperTest.Empty (110 ms)\n[ RUN ] CannedBrowsingDataCacheStorageHelperTest.Delete\n[ OK ] CannedBrowsingDataCacheStorageHelperTest.Delete (142 ms)\n[29/4713] CannedBrowsingDataCacheStorageHelperTest.Delete (142 ms)\n[ RUN ] BrowsingDataCookieHelperTest.FetchData\n[ OK ] BrowsingDataCookieHelperTest.FetchData (126 ms)\n[30/4713] BrowsingDataCookieHelperTest.FetchData (126 ms)\n[ RUN ] BrowsingDataCookieHelperTest.DomainCookie\n[ OK ] BrowsingDataCookieHelperTest.DomainCookie (221 ms)\n[31/4713] BrowsingDataCookieHelperTest.DomainCookie (221 ms)\n[ RUN ] BrowsingDataCookieHelperTest.DeleteCookie\n[ OK ] BrowsingDataCookieHelperTest.DeleteCookie (146 ms)\n[32/4713] BrowsingDataCookieHelperTest.DeleteCookie (146 ms)\n[ RUN ] BrowsingDataFileSystemHelperTest.FetchData\n[ OK ] BrowsingDataFileSystemHelperTest.FetchData (326 ms)\n[33/4713] BrowsingDataFileSystemHelperTest.FetchData (326 ms)\n[ RUN ] BrowsingDataFileSystemHelperTest.DeleteData\n[ OK ] BrowsingDataFileSystemHelperTest.DeleteData (305 ms)\n[34/4713] BrowsingDataFileSystemHelperTest.DeleteData (305 ms)\n[ RUN ] BrowsingDataFileSystemHelperTest.CannedAddFileSystem\n[ OK ] BrowsingDataFileSystemHelperTest.CannedAddFileSystem (132 ms)\n[35/4713] BrowsingDataFileSystemHelperTest.CannedAddFileSystem (132 ms)\n[ RUN ] BrowsingDataFileSystemHelperTest.IgnoreExtensionsAndDevTools\n[ OK ] BrowsingDataFileSystemHelperTest.IgnoreExtensionsAndDevTools (101 ms)\n[36/4713] BrowsingDataFileSystemHelperTest.IgnoreExtensionsAndDevTools (101 ms)\n[ RUN ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension\n[ OK ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension (0 ms)\n[37/4713] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension (0 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Empty\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Empty (117 ms)\n[38/4713] CannedBrowsingDataIndexedDBHelperTest.Empty (117 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.Empty\n[29207:29422:0323/214137.939588:33608728449:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itjzjODP/.org.chromium.Chromium.soRzSN/Code Cache/js: No such file or directory (2)\n[29207:29422:0323/214137.940133:33608728990:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk\n[ OK ] CannedBrowsingDataLocalStorageTest.Empty (82 ms)\n[39/4713] CannedBrowsingDataLocalStorageTest.Empty (82 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (93 ms)\n[40/4713] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (93 ms)\n[ RUN ] SearchProviderTest.TestDeleteMatch\n[ OK ] SearchProviderTest.TestDeleteMatch (505 ms)\n[41/4713] SearchProviderTest.TestDeleteMatch (505 ms)\n[ RUN ] SearchProviderTest.SessionToken\n[ OK ] SearchProviderTest.SessionToken (403 ms)\n[42/4713] SearchProviderTest.SessionToken (403 ms)\n[ RUN ] SearchProviderTest.AnswersCache\n[ OK ] SearchProviderTest.AnswersCache (358 ms)\n[43/4713] SearchProviderTest.AnswersCache (358 ms)\n[ RUN ] SearchProviderTest.DoesNotProvideOnFocus\n[ OK ] SearchProviderTest.DoesNotProvideOnFocus (267 ms)\n[44/4713] SearchProviderTest.DoesNotProvideOnFocus (267 ms)\n[ RUN ] InvalidSearchProviderTest.DoesNotSendSuggestRequests\n[ OK ] InvalidSearchProviderTest.DoesNotSendSuggestRequests (250 ms)\n[45/4713] InvalidSearchProviderTest.DoesNotSendSuggestRequests (250 ms)\n[ RUN ] BackgroundFetchDelegateImplTest.HistoryServiceIntegration\n[ OK ] BackgroundFetchDelegateImplTest.HistoryServiceIntegration (228 ms)\n[46/4713] BackgroundFetchDelegateImplTest.HistoryServiceIntegration (228 ms)\n[ RUN ] BackgroundFetchDelegateImplTest.RecordUkmEvent\n[ OK ] BackgroundFetchDelegateImplTest.RecordUkmEvent (80 ms)\n[47/4713] BackgroundFetchDelegateImplTest.RecordUkmEvent (80 ms)\n[ RUN ] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithFrame\n[29205:29205:0323/214138.781366:33609570210:ERROR:render_widget_host_view_base.cc(183)] Not implemented reached in virtual uint32_t content::RenderWidgetHostViewBase::GetCaptureSequenceNumber() const\n[ OK ] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithFrame (189 ms)\n[48/4713] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithFrame (189 ms)\n[ RUN ] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithoutFrame\n[ OK ] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithoutFrame (148 ms)\n[49/4713] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithoutFrame (148 ms)\n[ RUN ] BackgroundSyncControllerImplTest.AllParamsSet\n[ OK ] BackgroundSyncControllerImplTest.AllParamsSet (64 ms)\n[50/4713] BackgroundSyncControllerImplTest.AllParamsSet (64 ms)\n[ RUN ] UserTypeFilterTest.GuestUser\n[ OK ] UserTypeFilterTest.GuestUser (99 ms)\n[ RUN ] UserTypeFilterTest.SupervisedUser\n[ OK ] UserTypeFilterTest.SupervisedUser (56 ms)\n[ RUN ] UserTypeFilterTest.UnmanagedUser\n[ OK ] UserTypeFilterTest.UnmanagedUser (48 ms)\n[ RUN ] UserTypeFilterTest.EmptyFilter\n[ OK ] UserTypeFilterTest.EmptyFilter (41 ms)\n[----------] 4 tests from UserTypeFilterTest (256 ms total)\n\n[----------] 2 tests from ChromeAutocompleteProviderClientTest\n[ RUN ] ChromeAutocompleteProviderClientTest.StartServiceWorker\n[ OK ] ChromeAutocompleteProviderClientTest.StartServiceWorker (135 ms)\n[ RUN ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x5624290ae2f8 by thread T14:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa89955a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa878c4c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa878c4c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #5 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #6 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x5624290ae2f8 by main thread:\n #0 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:80:20 (unit_tests+0xa8995e1)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374:3 (unit_tests+0x9a05f75)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x5624290ae2f8 (unit_tests+0x000012b8a2f8)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/task_scheduler.cc:85:10 in base::TaskScheduler::GetInstance()\n==================\n==================\nWARNING: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) (pid=29198)\n Read of size 8 at 0x7b640001d100 by thread T14:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c77)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #3 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #4 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d100 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) base/task/post_task.cc:86:9 in base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b640001d238 by thread T14:\n #0 __tsan_atomic8_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524:3 (unit_tests+0x3a9ac8c)\n #1 __cxx_atomic_load<unsigned char> buildtools/third_party/libc++/trunk/include/atomic:970:12 (unit_tests+0xa89a6fb)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1487 (unit_tests+0xa89a6fb)\n #3 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa89a6fb)\n #4 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:338 (unit_tests+0xa89a6fb)\n #5 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:161 (unit_tests+0xa89a6fb)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #9 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #10 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d238 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:970:12 in __cxx_atomic_load<unsigned char>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d118 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa89ae53)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257 (unit_tests+0xa89ae53)\n #2 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #6 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #7 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d118 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b5c00000e10 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa8adc13)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa8adc13)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc13)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #4 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #8 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #9 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 4 at 0x7b040002ef00 by thread T14:\n #0 __tsan_atomic32_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534:3 (unit_tests+0x3a9af8c)\n #1 __cxx_atomic_load<int> buildtools/third_party/libc++/trunk/include/atomic:964:12 (unit_tests+0xa8adc92)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1483 (unit_tests+0xa8adc92)\n #3 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa8adc92)\n #4 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:185 (unit_tests+0xa8adc92)\n #5 BeforePostTask base/task/task_scheduler/task_tracker.cc:788 (unit_tests+0xa8adc92)\n #6 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc92)\n #7 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #8 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #9 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #10 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #11 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #12 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #13 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #14 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #15 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #16 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #17 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #18 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #19 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b040002ef00 by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 4 at 0x7b040002ef00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:964:12 in __cxx_atomic_load<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T14:\n #0 __tsan_atomic32_fetch_add /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615:3 (unit_tests+0x3a9cf09)\n #1 __cxx_atomic_fetch_add<int> buildtools/third_party/libc++/trunk/include/atomic:1009:12 (unit_tests+0xa8adcc0)\n #2 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1572 (unit_tests+0xa8adcc0)\n #3 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa8adcc0)\n #4 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:439 (unit_tests+0xa8adcc0)\n #5 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #6 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #7 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #8 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #9 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #10 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #11 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #12 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #13 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #14 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #15 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #16 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1009:12 in __cxx_atomic_fetch_add<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 1 at 0x7b640001d240 by thread T14 (mutexes: write M1010067645346699240):\n #0 value base/optional.h:604:5 (unit_tests+0xa89b4a4)\n #1 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:333 (unit_tests+0xa89b4a4)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:5 (unit_tests+0xa89b08c)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d240 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:604:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d2b8 by thread T14 (mutexes: write M1010067645346699240):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa89e06a)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92 (unit_tests+0xa89e06a)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d2b8 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T14 (mutexes: write M1010067645346699240):\n #0 pthread_mutex_lock /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4112:3 (unit_tests+0x3a6f1d6)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa9153dd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa8add55)\n #3 BasicAutoLock base/synchronization/lock_impl.h:84 (unit_tests+0xa8add55)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:453 (unit_tests+0xa8add55)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92:24 (unit_tests+0xa89e079)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #7 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #11 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #12 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled (2297 ms)\n[----------] 2 tests from ChromeAutocompleteProviderClientTest (2437 ms total)\n\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.NormalSearch\n[ OK ] ChromeAutocompleteSchemeClassifierTest.NormalSearch (37 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.HttpUrl\n[ OK ] ChromeAutocompleteSchemeClassifierTest.HttpUrl (50 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme\n[ OK ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme (54 ms)\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest (150 ms total)\n\n[----------] 1 test from SearchProviderTest\n[ RUN ] SearchProviderTest.QueryDefaultProvider\n[ OK ] SearchProviderTest.QueryDefaultProvider (353 ms)\n[----------] 1 test from SearchProviderTest (355 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 4 test suites ran. (3203 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[51/4713] UserTypeFilterTest.GuestUser (99 ms)\n[ RUN ] UserTypeFilterTest.SupervisedUser\n[ OK ] UserTypeFilterTest.SupervisedUser (56 ms)\n[ RUN ] UserTypeFilterTest.UnmanagedUser\n[ OK ] UserTypeFilterTest.UnmanagedUser (48 ms)\n[ RUN ] UserTypeFilterTest.EmptyFilter\n[ OK ] UserTypeFilterTest.EmptyFilter (41 ms)\n[----------] 4 tests from UserTypeFilterTest (256 ms total)\n\n[----------] 2 tests from ChromeAutocompleteProviderClientTest\n[ RUN ] ChromeAutocompleteProviderClientTest.StartServiceWorker\n[ OK ] ChromeAutocompleteProviderClientTest.StartServiceWorker (135 ms)\n[ RUN ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x5624290ae2f8 by thread T14:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa89955a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa878c4c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa878c4c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #5 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #6 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x5624290ae2f8 by main thread:\n #0 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:80:20 (unit_tests+0xa8995e1)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374:3 (unit_tests+0x9a05f75)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x5624290ae2f8 (unit_tests+0x000012b8a2f8)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/task_scheduler.cc:85:10 in base::TaskScheduler::GetInstance()\n==================\n==================\nWARNING: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) (pid=29198)\n Read of size 8 at 0x7b640001d100 by thread T14:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c77)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #3 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #4 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d100 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) base/task/post_task.cc:86:9 in base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b640001d238 by thread T14:\n #0 __tsan_atomic8_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524:3 (unit_tests+0x3a9ac8c)\n #1 __cxx_atomic_load<unsigned char> buildtools/third_party/libc++/trunk/include/atomic:970:12 (unit_tests+0xa89a6fb)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1487 (unit_tests+0xa89a6fb)\n #3 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa89a6fb)\n #4 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:338 (unit_tests+0xa89a6fb)\n #5 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:161 (unit_tests+0xa89a6fb)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #9 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #10 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d238 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:970:12 in __cxx_atomic_load<unsigned char>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d118 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa89ae53)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257 (unit_tests+0xa89ae53)\n #2 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #6 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #7 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d118 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b5c00000e10 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa8adc13)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa8adc13)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc13)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #4 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #8 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #9 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 4 at 0x7b040002ef00 by thread T14:\n #0 __tsan_atomic32_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534:3 (unit_tests+0x3a9af8c)\n #1 __cxx_atomic_load<int> buildtools/third_party/libc++/trunk/include/atomic:964:12 (unit_tests+0xa8adc92)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1483 (unit_tests+0xa8adc92)\n #3 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa8adc92)\n #4 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:185 (unit_tests+0xa8adc92)\n #5 BeforePostTask base/task/task_scheduler/task_tracker.cc:788 (unit_tests+0xa8adc92)\n #6 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc92)\n #7 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #8 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #9 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #10 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #11 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #12 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #13 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #14 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #15 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #16 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #17 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #18 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #19 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b040002ef00 by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 4 at 0x7b040002ef00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:964:12 in __cxx_atomic_load<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T14:\n #0 __tsan_atomic32_fetch_add /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615:3 (unit_tests+0x3a9cf09)\n #1 __cxx_atomic_fetch_add<int> buildtools/third_party/libc++/trunk/include/atomic:1009:12 (unit_tests+0xa8adcc0)\n #2 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1572 (unit_tests+0xa8adcc0)\n #3 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa8adcc0)\n #4 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:439 (unit_tests+0xa8adcc0)\n #5 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #6 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #7 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #8 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #9 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #10 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #11 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #12 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #13 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #14 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #15 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #16 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1009:12 in __cxx_atomic_fetch_add<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 1 at 0x7b640001d240 by thread T14 (mutexes: write M1010067645346699240):\n #0 value base/optional.h:604:5 (unit_tests+0xa89b4a4)\n #1 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:333 (unit_tests+0xa89b4a4)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:5 (unit_tests+0xa89b08c)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d240 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:604:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d2b8 by thread T14 (mutexes: write M1010067645346699240):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa89e06a)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92 (unit_tests+0xa89e06a)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d2b8 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T14 (mutexes: write M1010067645346699240):\n #0 pthread_mutex_lock /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4112:3 (unit_tests+0x3a6f1d6)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa9153dd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa8add55)\n #3 BasicAutoLock base/synchronization/lock_impl.h:84 (unit_tests+0xa8add55)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:453 (unit_tests+0xa8add55)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92:24 (unit_tests+0xa89e079)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #7 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #11 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #12 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled (2297 ms)\n[----------] 2 tests from ChromeAutocompleteProviderClientTest (2437 ms total)\n\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.NormalSearch\n[ OK ] ChromeAutocompleteSchemeClassifierTest.NormalSearch (37 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.HttpUrl\n[ OK ] ChromeAutocompleteSchemeClassifierTest.HttpUrl (50 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme\n[ OK ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme (54 ms)\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest (150 ms total)\n\n[----------] 1 test from SearchProviderTest\n[ RUN ] SearchProviderTest.QueryDefaultProvider\n[ OK ] SearchProviderTest.QueryDefaultProvider (353 ms)\n[----------] 1 test from SearchProviderTest (355 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 4 test suites ran. (3203 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[52/4713] UserTypeFilterTest.SupervisedUser (56 ms)\n[ RUN ] UserTypeFilterTest.UnmanagedUser\n[ OK ] UserTypeFilterTest.UnmanagedUser (48 ms)\n[ RUN ] UserTypeFilterTest.EmptyFilter\n[ OK ] UserTypeFilterTest.EmptyFilter (41 ms)\n[----------] 4 tests from UserTypeFilterTest (256 ms total)\n\n[----------] 2 tests from ChromeAutocompleteProviderClientTest\n[ RUN ] ChromeAutocompleteProviderClientTest.StartServiceWorker\n[ OK ] ChromeAutocompleteProviderClientTest.StartServiceWorker (135 ms)\n[ RUN ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x5624290ae2f8 by thread T14:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa89955a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa878c4c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa878c4c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #5 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #6 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x5624290ae2f8 by main thread:\n #0 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:80:20 (unit_tests+0xa8995e1)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374:3 (unit_tests+0x9a05f75)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x5624290ae2f8 (unit_tests+0x000012b8a2f8)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/task_scheduler.cc:85:10 in base::TaskScheduler::GetInstance()\n==================\n==================\nWARNING: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) (pid=29198)\n Read of size 8 at 0x7b640001d100 by thread T14:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c77)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #3 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #4 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d100 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) base/task/post_task.cc:86:9 in base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b640001d238 by thread T14:\n #0 __tsan_atomic8_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524:3 (unit_tests+0x3a9ac8c)\n #1 __cxx_atomic_load<unsigned char> buildtools/third_party/libc++/trunk/include/atomic:970:12 (unit_tests+0xa89a6fb)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1487 (unit_tests+0xa89a6fb)\n #3 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa89a6fb)\n #4 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:338 (unit_tests+0xa89a6fb)\n #5 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:161 (unit_tests+0xa89a6fb)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #9 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #10 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d238 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:970:12 in __cxx_atomic_load<unsigned char>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d118 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa89ae53)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257 (unit_tests+0xa89ae53)\n #2 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #6 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #7 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d118 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b5c00000e10 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa8adc13)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa8adc13)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc13)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #4 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #8 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #9 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 4 at 0x7b040002ef00 by thread T14:\n #0 __tsan_atomic32_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534:3 (unit_tests+0x3a9af8c)\n #1 __cxx_atomic_load<int> buildtools/third_party/libc++/trunk/include/atomic:964:12 (unit_tests+0xa8adc92)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1483 (unit_tests+0xa8adc92)\n #3 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa8adc92)\n #4 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:185 (unit_tests+0xa8adc92)\n #5 BeforePostTask base/task/task_scheduler/task_tracker.cc:788 (unit_tests+0xa8adc92)\n #6 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc92)\n #7 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #8 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #9 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #10 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #11 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #12 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #13 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #14 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #15 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #16 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #17 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #18 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #19 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b040002ef00 by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 4 at 0x7b040002ef00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:964:12 in __cxx_atomic_load<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T14:\n #0 __tsan_atomic32_fetch_add /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615:3 (unit_tests+0x3a9cf09)\n #1 __cxx_atomic_fetch_add<int> buildtools/third_party/libc++/trunk/include/atomic:1009:12 (unit_tests+0xa8adcc0)\n #2 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1572 (unit_tests+0xa8adcc0)\n #3 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa8adcc0)\n #4 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:439 (unit_tests+0xa8adcc0)\n #5 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #6 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #7 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #8 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #9 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #10 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #11 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #12 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #13 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #14 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #15 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #16 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1009:12 in __cxx_atomic_fetch_add<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 1 at 0x7b640001d240 by thread T14 (mutexes: write M1010067645346699240):\n #0 value base/optional.h:604:5 (unit_tests+0xa89b4a4)\n #1 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:333 (unit_tests+0xa89b4a4)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:5 (unit_tests+0xa89b08c)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d240 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:604:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d2b8 by thread T14 (mutexes: write M1010067645346699240):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa89e06a)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92 (unit_tests+0xa89e06a)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d2b8 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T14 (mutexes: write M1010067645346699240):\n #0 pthread_mutex_lock /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4112:3 (unit_tests+0x3a6f1d6)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa9153dd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa8add55)\n #3 BasicAutoLock base/synchronization/lock_impl.h:84 (unit_tests+0xa8add55)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:453 (unit_tests+0xa8add55)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92:24 (unit_tests+0xa89e079)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #7 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #11 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #12 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled (2297 ms)\n[----------] 2 tests from ChromeAutocompleteProviderClientTest (2437 ms total)\n\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.NormalSearch\n[ OK ] ChromeAutocompleteSchemeClassifierTest.NormalSearch (37 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.HttpUrl\n[ OK ] ChromeAutocompleteSchemeClassifierTest.HttpUrl (50 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme\n[ OK ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme (54 ms)\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest (150 ms total)\n\n[----------] 1 test from SearchProviderTest\n[ RUN ] SearchProviderTest.QueryDefaultProvider\n[ OK ] SearchProviderTest.QueryDefaultProvider (353 ms)\n[----------] 1 test from SearchProviderTest (355 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 4 test suites ran. (3203 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[53/4713] UserTypeFilterTest.UnmanagedUser (48 ms)\n[ RUN ] UserTypeFilterTest.EmptyFilter\n[ OK ] UserTypeFilterTest.EmptyFilter (41 ms)\n[----------] 4 tests from UserTypeFilterTest (256 ms total)\n\n[----------] 2 tests from ChromeAutocompleteProviderClientTest\n[ RUN ] ChromeAutocompleteProviderClientTest.StartServiceWorker\n[ OK ] ChromeAutocompleteProviderClientTest.StartServiceWorker (135 ms)\n[ RUN ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x5624290ae2f8 by thread T14:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa89955a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa878c4c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa878c4c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #5 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #6 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x5624290ae2f8 by main thread:\n #0 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:80:20 (unit_tests+0xa8995e1)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374:3 (unit_tests+0x9a05f75)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x5624290ae2f8 (unit_tests+0x000012b8a2f8)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/task_scheduler.cc:85:10 in base::TaskScheduler::GetInstance()\n==================\n==================\nWARNING: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) (pid=29198)\n Read of size 8 at 0x7b640001d100 by thread T14:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c77)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #3 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #4 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d100 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) base/task/post_task.cc:86:9 in base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b640001d238 by thread T14:\n #0 __tsan_atomic8_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524:3 (unit_tests+0x3a9ac8c)\n #1 __cxx_atomic_load<unsigned char> buildtools/third_party/libc++/trunk/include/atomic:970:12 (unit_tests+0xa89a6fb)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1487 (unit_tests+0xa89a6fb)\n #3 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa89a6fb)\n #4 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:338 (unit_tests+0xa89a6fb)\n #5 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:161 (unit_tests+0xa89a6fb)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #9 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #10 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d238 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:970:12 in __cxx_atomic_load<unsigned char>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d118 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa89ae53)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257 (unit_tests+0xa89ae53)\n #2 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #6 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #7 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d118 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b5c00000e10 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa8adc13)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa8adc13)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc13)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #4 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #8 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #9 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 4 at 0x7b040002ef00 by thread T14:\n #0 __tsan_atomic32_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534:3 (unit_tests+0x3a9af8c)\n #1 __cxx_atomic_load<int> buildtools/third_party/libc++/trunk/include/atomic:964:12 (unit_tests+0xa8adc92)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1483 (unit_tests+0xa8adc92)\n #3 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa8adc92)\n #4 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:185 (unit_tests+0xa8adc92)\n #5 BeforePostTask base/task/task_scheduler/task_tracker.cc:788 (unit_tests+0xa8adc92)\n #6 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc92)\n #7 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #8 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #9 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #10 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #11 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #12 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #13 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #14 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #15 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #16 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #17 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #18 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #19 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b040002ef00 by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 4 at 0x7b040002ef00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:964:12 in __cxx_atomic_load<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T14:\n #0 __tsan_atomic32_fetch_add /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615:3 (unit_tests+0x3a9cf09)\n #1 __cxx_atomic_fetch_add<int> buildtools/third_party/libc++/trunk/include/atomic:1009:12 (unit_tests+0xa8adcc0)\n #2 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1572 (unit_tests+0xa8adcc0)\n #3 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa8adcc0)\n #4 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:439 (unit_tests+0xa8adcc0)\n #5 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #6 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #7 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #8 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #9 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #10 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #11 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #12 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #13 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #14 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #15 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #16 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1009:12 in __cxx_atomic_fetch_add<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 1 at 0x7b640001d240 by thread T14 (mutexes: write M1010067645346699240):\n #0 value base/optional.h:604:5 (unit_tests+0xa89b4a4)\n #1 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:333 (unit_tests+0xa89b4a4)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:5 (unit_tests+0xa89b08c)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d240 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:604:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d2b8 by thread T14 (mutexes: write M1010067645346699240):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa89e06a)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92 (unit_tests+0xa89e06a)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d2b8 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T14 (mutexes: write M1010067645346699240):\n #0 pthread_mutex_lock /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4112:3 (unit_tests+0x3a6f1d6)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa9153dd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa8add55)\n #3 BasicAutoLock base/synchronization/lock_impl.h:84 (unit_tests+0xa8add55)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:453 (unit_tests+0xa8add55)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92:24 (unit_tests+0xa89e079)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #7 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #11 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #12 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled (2297 ms)\n[----------] 2 tests from ChromeAutocompleteProviderClientTest (2437 ms total)\n\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.NormalSearch\n[ OK ] ChromeAutocompleteSchemeClassifierTest.NormalSearch (37 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.HttpUrl\n[ OK ] ChromeAutocompleteSchemeClassifierTest.HttpUrl (50 ms)\n[ RUN ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme\n[ OK ] ChromeAutocompleteSchemeClassifierTest.BlockedScheme (54 ms)\n[----------] 3 tests from ChromeAutocompleteSchemeClassifierTest (150 ms total)\n\n[----------] 1 test from SearchProviderTest\n[ RUN ] SearchProviderTest.QueryDefaultProvider\n[ OK ] SearchProviderTest.QueryDefaultProvider (353 ms)\n[----------] 1 test from SearchProviderTest (355 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 4 test suites ran. (3203 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[54/4713] UserTypeFilterTest.EmptyFilter (41 ms)\n[ RUN ] ChromeAutocompleteProviderClientTest.StartServiceWorker\n[ OK ] ChromeAutocompleteProviderClientTest.StartServiceWorker (135 ms)\n[ RUN ] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x5624290ae2f8 by thread T14:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa89955a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa878c4c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa878c4c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #5 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #6 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x5624290ae2f8 by main thread:\n #0 base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) base/task/task_scheduler/task_scheduler.cc:80:20 (unit_tests+0xa8995e1)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374:3 (unit_tests+0x9a05f75)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x5624290ae2f8 (unit_tests+0x000012b8a2f8)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/task_scheduler.cc:85:10 in base::TaskScheduler::GetInstance()\n==================\n==================\nWARNING: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) (pid=29198)\n Read of size 8 at 0x7b640001d100 by thread T14:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c77)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #3 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #4 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d100 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) base/task/post_task.cc:86:9 in base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b640001d238 by thread T14:\n #0 __tsan_atomic8_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524:3 (unit_tests+0x3a9ac8c)\n #1 __cxx_atomic_load<unsigned char> buildtools/third_party/libc++/trunk/include/atomic:970:12 (unit_tests+0xa89a6fb)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1487 (unit_tests+0xa89a6fb)\n #3 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa89a6fb)\n #4 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:338 (unit_tests+0xa89a6fb)\n #5 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:161 (unit_tests+0xa89a6fb)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #9 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #10 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d238 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:970:12 in __cxx_atomic_load<unsigned char>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d118 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa89ae53)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257 (unit_tests+0xa89ae53)\n #2 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #6 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #7 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d118 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b5c00000e10 by thread T14:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa8adc13)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa8adc13)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc13)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #4 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #8 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #9 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 4 at 0x7b040002ef00 by thread T14:\n #0 __tsan_atomic32_load /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534:3 (unit_tests+0x3a9af8c)\n #1 __cxx_atomic_load<int> buildtools/third_party/libc++/trunk/include/atomic:964:12 (unit_tests+0xa8adc92)\n #2 load buildtools/third_party/libc++/trunk/include/atomic:1483 (unit_tests+0xa8adc92)\n #3 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa8adc92)\n #4 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:185 (unit_tests+0xa8adc92)\n #5 BeforePostTask base/task/task_scheduler/task_tracker.cc:788 (unit_tests+0xa8adc92)\n #6 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:434 (unit_tests+0xa8adc92)\n #7 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #8 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #9 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #10 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #11 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #12 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #13 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #14 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #15 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #16 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #17 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #18 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #19 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b040002ef00 by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 4 at 0x7b040002ef00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, int) base/task/task_scheduler/task_tracker.cc:287:14 (unit_tests+0xa8abf55)\n #2 base::internal::TaskTracker::TaskTracker(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker.cc:282:7 (unit_tests+0xa8abee1)\n #3 base::internal::TaskTrackerPosix::TaskTrackerPosix(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/task_scheduler/task_tracker_posix.cc:15:56 (unit_tests+0xa9192f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:623:7 (unit_tests+0x9a05a2d)\n #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331 (unit_tests+0x9a05a2d)\n #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #8 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #9 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #10 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #23 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x99fce78)\n #24 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:964:12 in __cxx_atomic_load<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T14:\n #0 __tsan_atomic32_fetch_add /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615:3 (unit_tests+0x3a9cf09)\n #1 __cxx_atomic_fetch_add<int> buildtools/third_party/libc++/trunk/include/atomic:1009:12 (unit_tests+0xa8adcc0)\n #2 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1572 (unit_tests+0xa8adcc0)\n #3 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa8adcc0)\n #4 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:439 (unit_tests+0xa8adcc0)\n #5 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:257:23 (unit_tests+0xa89ae7a)\n #6 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #7 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #8 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #9 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #10 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #11 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #12 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #13 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #14 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #15 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #16 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1009:12 in __cxx_atomic_fetch_add<int>\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 1 at 0x7b640001d240 by thread T14 (mutexes: write M1010067645346699240):\n #0 value base/optional.h:604:5 (unit_tests+0xa89b4a4)\n #1 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:333 (unit_tests+0xa89b4a4)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:5 (unit_tests+0xa89b08c)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d240 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:604:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Read of size 8 at 0x7b640001d2b8 by thread T14 (mutexes: write M1010067645346699240):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa89e06a)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92 (unit_tests+0xa89e06a)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #3 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #7 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #8 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b640001d2b8 by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 1280 at 0x7b640001d100 allocated by main thread:\n #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+0x3ac0a8b)\n #1 make_unique<base::internal::TaskSchedulerImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > buildtools/third_party/libc++/trunk/include/memory:3131:28 (unit_tests+0x9a05f11)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:374 (unit_tests+0x9a05f11)\n #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #5 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #6 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #7 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #15 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #20 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+0x99fce78)\n #21 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:254:5 (unit_tests+0xcb6a493)\n #9 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:239:29 (unit_tests+0x78b3ba3)\n #10 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7b19d55)\n #11 Invoke<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:499:12 (unit_tests+0x7b1d933)\n #12 MakeItSo<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), content::StoragePartitionImpl::NetworkContextOwner *, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> > base/bind_internal.h:599 (unit_tests+0x7b1d933)\n #13 RunImpl<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), std::__1::tuple<base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, 0, 1, 2> base/bind_internal.h:672 (unit_tests+0x7b1d933)\n #14 base::internal::Invoker<base::internal::BindState<void (content::StoragePartitionImpl::NetworkContextOwner::*)(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>), base::internal::UnretainedWrapper<content::StoragePartitionImpl::NetworkContextOwner>, mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7b1d933)\n #15 Run base/callback.h:97:12 (unit_tests+0xa878001)\n #16 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (unit_tests+0xa878001)\n #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (unit_tests+0xa892b85)\n #18 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (unit_tests+0xa89305d)\n #19 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa89305d)\n #20 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa820eb7)\n #21 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa820eb7)\n #22 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #23 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (unit_tests+0xa893540)\n #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa893540)\n #25 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa850eee)\n #26 RunThisRunLoop content/public/test/test_utils.cc:126:13 (unit_tests+0x9b4ebd3)\n #27 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:155 (unit_tests+0x9b4ebd3)\n #28 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:553:5 (unit_tests+0x99f63bf)\n #29 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:528:35 (unit_tests+0x99f6699)\n #30 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (unit_tests+0x3adca97)\n #31 reset buildtools/third_party/libc++/trunk/include/memory:2651 (unit_tests+0x3adca97)\n #32 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (unit_tests+0x3adca97)\n #33 ~ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42 (unit_tests+0x3adca97)\n #34 ChromeAutocompleteProviderClientTest_StartServiceWorker_Test::~ChromeAutocompleteProviderClientTest_StartServiceWorker_Test() chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:71 (unit_tests+0x3adca97)\n #35 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x630512e)\n #36 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x630512e)\n #37 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #38 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #39 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #40 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #41 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #42 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #43 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #44 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #45 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #46 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #47 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+0x99fce78)\n #48 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #49 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #50 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #51 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=29198)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T14 (mutexes: write M1010067645346699240):\n #0 pthread_mutex_lock /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4112:3 (unit_tests+0x3a6f1d6)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa9153dd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa8add55)\n #3 BasicAutoLock base/synchronization/lock_impl.h:84 (unit_tests+0xa8add55)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:453 (unit_tests+0xa8add55)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:92:24 (unit_tests+0xa89e079)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:264:37 (unit_tests+0xa89b0c8)\n #7 base::internal::TaskSchedulerImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/task_scheduler/task_scheduler_impl.cc:162:10 (unit_tests+0xa89a7fe)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa878c91)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa87924e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa87924e)\n #11 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (unit_tests+0xa8bd9e2)\n #12 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:94:55 (unit_tests+0xa878d89)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6675bd6)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:408:19 (unit_tests+0x6676445)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6645e7d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9c10060)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa8c1559)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa919fd4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #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+0x3ac0a8b)\n #1 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:331:21 (unit_tests+0x9a05a16)\n #2 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType, void>(base::test::ScopedTaskEnvironment::SubclassCreatesDefaultTaskRunner, base::test::ScopedTaskEnvironment::MainThreadType) base/test/scoped_task_environment.h:143:9 (unit_tests+0x3acf5fd)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3acf597)\n #4 ChromeAutocompleteProviderClientTest chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:42:7 (unit_tests+0x3add132)\n #5 ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc:89 (unit_tests+0x3add132)\n #6 testing::internal::TestFactoryImpl<ChromeAutocompleteProviderClientTest_DontStartServiceWorkerIfSuggestDisabled_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461 (unit_tests+0x3add132)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6304eef)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x6304eef)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x6305c76)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x63174f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6316cd9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x6316cd9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9a0c192)\n #14 base::TestSuite::Run() base/test/test_suite.cc:316 (unit_tests+0x9a0c192)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9b53912)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x99fce78)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x99fce78)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x99fce78)\n #19 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+0x99fce78)\n #20 Run base/callback.h:97:12 (unit_tests+0x9a0f49d)\n #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x9a0f49d)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9a0f300)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x99fcda4)\n\n Mutex M1010067645346699240 is already destroyed.\n\n Thread T14 'NetworkChangeNotifier' (tid=29288, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (unit_tests+0x3a5104b)\n #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+0xa919a67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa919965)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa8c0dc0)\n #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9c101cf)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (unit_tests+0x9c05b17)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xcb6aafa)\n #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:294 (unit_tests+0xcb6aafa)\n #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistry