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-west1-a-v1h7" ] }, { "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": [ "4120-35fcaef" ] }, { "key": "zone", "value": [ "us", "us-west", "us-west1", "us-west1-a" ] } ], "bot_id": "gce-trusty-e833d7b0-us-west1-a-v1h7", "bot_version": "a2700c9ff2d34d10a630c8f28219ec5c0dd7154694274eb9070d5f970cfed06f", "cipd_pins": { "client_package": { "package_name": "infra/tools/cipd/linux-amd64", "version": "a2dqpK39PjGpFdcdw62OAE0JOJJ9n8J_AXpJHmH0QCIC" }, "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-02-22T22:44:31.065596", "costs_usd": [ 0.055054281476636484 ], "created_ts": "2019-02-22T22:36:31.081376", "duration": 452.20905590057373, "modified_ts": "2019-02-22T22:44:31.065596", "name": "unit_tests/Ubuntu-14.04/f24a121b48/ToTLinuxTSan/840", "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\nCommand: ./unit_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/io0eDe3v/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/1\nUsing 8 parallel jobs.\n[1/9486] ShouldRecordActiveUse.TryChromeAgainCommand (0 ms)\n[2/9486] AfterStartupTaskTest.IsStartupComplete (11 ms)\n[3/9486] AfterStartupTaskTest.PostTask (12 ms)\n[4/9486] AfterStartupTaskTest.AfterStartupTaskUtilsRunner (11 ms)\n[5/9486] UserTypeFilterTest.ChildUser (50 ms)\n[6/9486] UserTypeFilterTest.GuestUser (34 ms)\n[7/9486] UserTypeFilterTest.ManagedUser (34 ms)\n[8/9486] UserTypeFilterTest.SupervisedUser (33 ms)\n[9/9486] UserTypeFilterTest.UnmanagedUser (32 ms)\n[10/9486] UserTypeFilterTest.EmptyFilter (32 ms)\n[11/9486] FrameNodeImplDeathTest.AddChildFrameOnCyclicReference (10 ms)\n[12/9486] IncognitoModePrefsDeathTest.GetAvailabilityBadValue (0 ms)\n[13/9486] CastInternalMessageUtilDeathTest.CastInternalMessageFromAppMessageString (0 ms)\n[14/9486] CastInternalMessageUtilDeathTest.CastInternalMessageFromV2MessageString (1 ms)\n[15/9486] CastInternalMessageUtilDeathTest.CastInternalMessageFromClientConnectString (0 ms)\n[16/9486] AboutFlagsTest.NoSeparators (2 ms)\n[17/9486] AboutFlagsTest.EveryFlagHasMetadata (44 ms)\n[18/9486] AboutFlagsHistogramTest.CheckHistograms (1534 ms)\n[19/9486] ShouldRecordActiveUse.OrdinaryCommand (0 ms)\n[20/9486] ShouldRecordActiveUse.FakeTryChromeAgainCommand (0 ms)\n[21/9486] UserTypeFilterTest.DefaultFilter (148 ms)\n[22/9486] ChromeAutocompleteProviderClientTest.StartServiceWorker (73 ms)\n[23/9486] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerInIncognito (72 ms)\n[24/9486] ChromeAutocompleteProviderClientTest.DontStartServiceWorkerIfSuggestDisabled (75 ms)\n[25/9486] ChromeAutocompleteProviderClientTest.TestStrippedURLsAreEqual (66 ms)\n[26/9486] ChromeAutocompleteSchemeClassifierTest.NormalSearch (73 ms)\n[27/9486] ChromeAutocompleteSchemeClassifierTest.HttpUrl (276 ms)\n[28/9486] ChromeAutocompleteSchemeClassifierTest.BlockedScheme (72 ms)\n[29/9486] SearchProviderTest.QueryDefaultProvider (732 ms)\n[30/9486] SearchProviderTest.HasQueryWhatYouTypedIfDefaultKeywordChanges (269 ms)\n[31/9486] BackgroundFetchDelegateImplTest.HistoryServiceIntegrationUrlVsOrigin (293 ms)\n[32/9486] BackgroundFetchDelegateImplTest.RecordUkmEvent (64 ms)\n[33/9486] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithFrame (319 ms)\n[34/9486] BackgroundFetchPermissionContextTest.TestOutcomeAllowWithoutFrame (121 ms)\n[35/9486] BackgroundFetchPermissionContextTest.TestOutcomeDenyWithoutFrame (116 ms)\n[36/9486] BackgroundFetchPermissionContextTest.TestOutcomePromptWithoutFrame (88 ms)\n[37/9486] BackgroundSyncControllerImplTest.RapporTest (35 ms)\n[38/9486] BackgroundSyncControllerImplTest.NoRapporWhenOffTheRecord (48 ms)\n[39/9486] BackgroundSyncControllerImplTest.NoFieldTrial (34 ms)\n[40/9486] BackgroundSyncControllerImplTest.SomeParamsSet (41 ms)\n[41/9486] SearchProviderTest.TestDeleteHistoryQueryMatch (334 ms)\n[42/9486] SearchProviderTest.CheckDuplicateMatchesSaved (749 ms)\n[43/9486] SearchProviderTest.SuggestQueryUsesToken (666 ms)\n[44/9486] SearchProviderTest.SessionToken (236 ms)\n[45/9486] SearchProviderTest.AnswersCache (255 ms)\n[46/9486] SearchProviderTest.RemoveExtraAnswers (230 ms)\n[47/9486] SearchProviderTest.DoesNotProvideOnFocus (283 ms)\n[48/9486] InvalidSearchProviderTest.DoesNotSendSuggestRequests (253 ms)\n[49/9486] ShortcutsProviderExtensionTest.Extension (201 ms)\n[50/9486] BackgroundFetchDelegateImplTest.HistoryServiceIntegration (228 ms)\n[51/9486] BackgroundSyncControllerImplTest.AllParamsSet (47 ms)\n[52/9486] BackgroundSyncPermissionContextTest.TestSecureRequestingUrl (202 ms)\n[53/9486] BackgroundSyncPermissionContextTest.TestInsecureRequestingUrl (189 ms)\n[54/9486] BackgroundSyncPermissionContextTest.TestBlockOrigin (183 ms)\n[55/9486] AppBannerSettingsHelperTest.SingleEvents (128 ms)\n[56/9486] AppBannerSettingsHelperTest.ShouldShowFromEngagement (74 ms)\n[57/9486] AppBannerSettingsHelperTest.ReportsWhetherBannerWasRecentlyBlocked (112 ms)\n[58/9486] AppBannerSettingsHelperTest.ReportsWhetherBannerWasRecentlyIgnored (121 ms)\n[59/9486] AppBannerSettingsHelperTest.ReportsWhetherSiteWasEverAdded (103 ms)\n[60/9486] AppBannerSettingsHelperTest.OperatesOnOrigins (104 ms)\n[61/9486] AppBannerSettingsHelperTest.ShouldShowWithHigherTotal (95 ms)\n[62/9486] AppBannerSettingsHelperTest.WasLaunchedRecently (130 ms)\n[63/9486] BitmapFetcherServiceTest.RequestInvalidUrl (51 ms)\n[64/9486] BitmapFetcherServiceTest.CancelInvalidRequest (48 ms)\n[65/9486] BitmapFetcherServiceTest.OnlyFirstRequestCreatesFetcher (47 ms)\n[66/9486] BitmapFetcherServiceTest.CompletedFetchNotifiesAllObservers (33 ms)\n[67/9486] BitmapFetcherServiceTest.CancelRequest (29 ms)\n[68/9486] BitmapFetcherServiceTest.FailedNullRequestsAreHandled (33 ms)\n[69/9486] BitmapFetcherServiceTest.FailedRequestsDontEnterCache (47 ms)\n[70/9486] ManagedBookmarkServiceNoPolicyTest.EmptyManagedNode (52 ms)\n[71/9486] SearchProviderTest.DontTrimHttpSchemeIfInputHasScheme (1022 ms)\n[72/9486] SearchProviderTest.DontTrimHttpsSchemeIfInputHasScheme (239 ms)\n[73/9486] SearchProviderTest.DoTrimHttpsScheme (251 ms)\n[74/9486] SearchProviderTest.ParseEntitySuggestion (238 ms)\n[75/9486] SearchProviderTest.PrefetchMetadataParsing (283 ms)\n[76/9486] SearchProviderTest.XSSIGuardedJSONParsing_InvalidResponse (212 ms)\n[77/9486] SearchProviderTest.XSSIGuardedJSONParsing_ValidResponses (263 ms)\n[78/9486] SearchProviderTest.ParseDeletionUrl (257 ms)\n[79/9486] SearchProviderTest.CanSendURL (234 ms)\n[80/9486] SearchProviderTest.TestDeleteMatch (233 ms)\n[81/9486] SearchProviderTest.HonorPreventInlineAutocomplete (1276 ms)\n[82/9486] SearchProviderTest.QueryKeywordProvider (279 ms)\n[83/9486] SearchProviderTest.SendDataToSuggestAtAppropriateTimes (437 ms)\n[84/9486] SearchProviderTest.DontAutocompleteURLLikeTerms (265 ms)\n[85/9486] SearchProviderTest.DontAutocompleteUntilMultipleWordsTyped (255 ms)\n[86/9486] SearchProviderTest.AutocompleteMultipleVisitsImmediately (230 ms)\n[87/9486] SearchProviderTest.AutocompleteAfterSpace (255 ms)\n[88/9486] SearchProviderTest.ScoreNewerSearchesHigher (263 ms)\n[89/9486] SearchProviderTest.ResetResultsBetweenRuns (300 ms)\n[90/9486] SearchProviderTest.DontReplacePreviousAutocompletion (261 ms)\n[91/9486] SearchProviderTest.DontInlineAutocompleteAsynchronously (841 ms)\n[92/9486] SearchProviderTest.DontCacheCalculatorSuggestions (256 ms)\n[93/9486] SearchProviderTest.LocalAndRemoteRelevances (347 ms)\n[94/9486] SearchProviderTest.DefaultProviderSuggestRelevanceScoringUrlInput (390 ms)\n[95/9486] SearchProviderTest.FieldTrialTriggeredParsing (227 ms)\n[96/9486] SearchProviderTest.SpecificTypeIdentifierParsing (291 ms)\n[97/9486] SearchProviderTest.NavigationInline (593 ms)\n[98/9486] SearchProviderTest.NavigationInlineSchemeSubstring (227 ms)\n[99/9486] SearchProviderTest.NavigationInlineDomainClassify (182 ms)\n[100/9486] SearchProviderTest.DoTrimHttpScheme (193 ms)\n[101/9486] SearchProviderTest.DontCrowdOutSingleWords (338 ms)\n[102/9486] SearchProviderTest.InlineMixedCaseMatches (1254 ms)\n[103/9486] SearchProviderTest.KeywordOrderingAndDescriptions (278 ms)\n[104/9486] SearchProviderTest.KeywordVerbatim (346 ms)\n[105/9486] SearchProviderTest.CommandLineOverrides (244 ms)\n[106/9486] SearchProviderTest.NavSuggestNoSuggestedRelevanceScores (240 ms)\n[107/9486] SearchProviderTest.SuggestRelevance (246 ms)\n[108/9486] SearchProviderTest.DefaultProviderNoSuggestRelevanceInKeywordMode (359 ms)\n[109/9486] SearchProviderTest.DefaultFetcherSuggestRelevance (686 ms)\n[110/9486] SearchProviderTest.KeywordFetcherSuggestRelevance (1168 ms)\n[111/9486] ManagedBookmarkServiceTest.LoadInitial (77 ms)\n[112/9486] ManagedBookmarkServiceTest.SwapNodes (54 ms)\n[113/9486] ManagedBookmarkServiceTest.RemoveNode (57 ms)\n[114/9486] ManagedBookmarkServiceTest.CreateNewNodes (56 ms)\n[115/9486] ManagedBookmarkServiceTest.RemoveAllUserBookmarks (48 ms)\n[116/9486] ManagedBookmarkServiceTest.IsDescendantOfManagedNode (53 ms)\n[117/9486] ManagedBookmarkServiceTest.RemoveAllDoesntRemoveManaged (48 ms)\n[118/9486] ManagedBookmarkServiceTest.HasDescendantsOfManagedNode (43 ms)\n[119/9486] ManagedBookmarkServiceTest.GetManagedBookmarksDomain (54 ms)\n[120/9486] BrowserAboutHandlerTest.WillHandleBrowserAboutURL (52 ms)\n[121/9486] BrowserAboutHandlerTest.WillHandleBrowserAboutURLForMDSettings (67 ms)\n[122/9486] BrowserAboutHandlerTest.WillHandleBrowserAboutURLForHistory (50 ms)\n[123/9486] BrowserAboutHandlerTest.NoVirtualURLForFixup (44 ms)\n[124/9486] CannedBrowsingDataAppCacheHelperTest.SetInfo (108 ms)\n[125/9486] CannedBrowsingDataAppCacheHelperTest.Unique (90 ms)\n[126/9486] CannedBrowsingDataAppCacheHelperTest.Empty (97 ms)\n[127/9486] CannedBrowsingDataAppCacheHelperTest.Delete (125 ms)\n[128/9486] CannedBrowsingDataAppCacheHelperTest.IgnoreExtensionsAndDevTools (93 ms)\n[129/9486] CannedBrowsingDataCacheStorageHelperTest.Empty (80 ms)\n[130/9486] CannedBrowsingDataCacheStorageHelperTest.Delete (69 ms)\n[131/9486] CannedBrowsingDataCacheStorageHelperTest.IgnoreExtensionsAndDevTools (101 ms)\n[132/9486] BrowsingDataCookieHelperTest.FetchData (79 ms)\n[133/9486] BrowsingDataCookieHelperTest.DomainCookie (81 ms)\n[134/9486] BrowsingDataCookieHelperTest.DeleteCookie (56 ms)\n[135/9486] BrowsingDataCookieHelperTest.CannedDeleteCookie (204 ms)\n[136/9486] BrowsingDataCookieHelperTest.CannedDomainCookie (184 ms)\n[137/9486] BrowsingDataCookieHelperTest.CannedUnique (73 ms)\n[138/9486] BrowsingDataCookieHelperTest.CannedReplaceCookie (65 ms)\n[139/9486] BrowsingDataCookieHelperTest.CannedEmpty (49 ms)\n[140/9486] BrowsingDataCookieHelperTest.CannedDifferentFrames (418 ms)\n[ RUN ] BrowsingDataHelperTest.ChromeSchemesAreNotWebSchemes\n[ OK ] BrowsingDataHelperTest.ChromeSchemesAreNotWebSchemes (0 ms)\n[ RUN ] BrowsingDataHelperTest.WebStorageSchemesAreNotExtensions\n[ OK ] BrowsingDataHelperTest.WebStorageSchemesAreNotExtensions (0 ms)\n[ RUN ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension\n[ OK ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension (1 ms)\n[ RUN ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything\n[ OK ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything (0 ms)\n[----------] 4 tests from BrowsingDataHelperTest (10 ms total)\n\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Empty\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Empty (91 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Delete\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x560d501ae548 by thread T5:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa771e2a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa751d3c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa751d3c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x560d501ae548 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+0xa771eb1)\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:371:3 (unit_tests+0x99190fa)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x560d501ae548 (unit_tests+0x000012ad1548)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Read of size 8 at 0x7b6800001200 by thread T5:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d67)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001200 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Atomic read of size 1 at 0x7b6800001370 by thread T5:\n #0 __tsan_atomic8_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524 (unit_tests+0x3aa8636)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:925:17 (unit_tests+0xa772fbb)\n #2 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa772fbb)\n #3 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:342 (unit_tests+0xa772fbb)\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 (unit_tests+0xa772fbb)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001370 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:925:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001218 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa773843)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265 (unit_tests+0xa773843)\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:163:10 (unit_tests+0xa7730f6)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001218 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b5c00000e10 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa7864c3)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa7864c3)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa7864c3)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 4 at 0x7b040002fbb0 by thread T5:\n #0 __tsan_atomic32_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534 (unit_tests+0x3aa8b36)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:921:17 (unit_tests+0xa786542)\n #2 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa786542)\n #3 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:182 (unit_tests+0xa786542)\n #4 BeforePostTask base/task/task_scheduler/task_tracker.cc:770 (unit_tests+0xa786542)\n #5 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa786542)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b040002fbb0 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 4 at 0x7b040002fbb0 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:921:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T5:\n #0 __tsan_atomic32_fetch_add /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615 (unit_tests+0x3aaaff1)\n #1 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1013:17 (unit_tests+0xa786570)\n #2 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa786570)\n #3 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:436 (unit_tests+0xa786570)\n #4 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1013:17 in fetch_add\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 1 at 0x7b6800001378 by thread T5 (mutexes: write M624165417916579016):\n #0 value base/optional.h:607:5 (unit_tests+0xa773fc4)\n #1 GetWorkerPoolImplForTraits base/task/task_scheduler/task_scheduler_impl.cc:332 (unit_tests+0xa773fc4)\n #2 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:337 (unit_tests+0xa773fc4)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:5 (unit_tests+0xa7739f3)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001378 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:607:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001388 by thread T5 (mutexes: write M624165417916579016):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa776bbd)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70 (unit_tests+0xa776bbd)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001388 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T5 (mutexes: write M624165417916579016):\n #0 pthread_mutex_lock /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4073 (unit_tests+0x3a77f7f)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa7edadd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa786605)\n #3 AutoSchedulerLock base/task/task_scheduler/scheduler_lock.h:86 (unit_tests+0xa786605)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:449 (unit_tests+0xa786605)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70:24 (unit_tests+0xa776bcc)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Delete (2012 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools (66 ms)\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest (2173 ms total)\n\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest\n[ RUN ] CannedBrowsingDataLocalStorageTest.Empty\n[ OK ] CannedBrowsingDataLocalStorageTest.Empty (51 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.Delete\n[2813:3035:0222/143715.120942:61016326:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itu7H1tB/.org.chromium.Chromium.DqLEHD/Code Cache/js: No such file or directory (2)\n[2813:3035:0222/143715.286718:61182110:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk\n[ OK ] CannedBrowsingDataLocalStorageTest.Delete (443 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (369 ms)\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest (870 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 3 test suites ran. (3058 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[141/9486] BrowsingDataHelperTest.ChromeSchemesAreNotWebSchemes (0 ms)\n[ RUN ] BrowsingDataHelperTest.WebStorageSchemesAreNotExtensions\n[ OK ] BrowsingDataHelperTest.WebStorageSchemesAreNotExtensions (0 ms)\n[ RUN ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension\n[ OK ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension (1 ms)\n[ RUN ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything\n[ OK ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything (0 ms)\n[----------] 4 tests from BrowsingDataHelperTest (10 ms total)\n\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Empty\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Empty (91 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Delete\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x560d501ae548 by thread T5:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa771e2a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa751d3c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa751d3c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x560d501ae548 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+0xa771eb1)\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:371:3 (unit_tests+0x99190fa)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x560d501ae548 (unit_tests+0x000012ad1548)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Read of size 8 at 0x7b6800001200 by thread T5:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d67)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001200 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Atomic read of size 1 at 0x7b6800001370 by thread T5:\n #0 __tsan_atomic8_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524 (unit_tests+0x3aa8636)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:925:17 (unit_tests+0xa772fbb)\n #2 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa772fbb)\n #3 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:342 (unit_tests+0xa772fbb)\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 (unit_tests+0xa772fbb)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001370 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:925:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001218 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa773843)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265 (unit_tests+0xa773843)\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:163:10 (unit_tests+0xa7730f6)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001218 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b5c00000e10 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa7864c3)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa7864c3)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa7864c3)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 4 at 0x7b040002fbb0 by thread T5:\n #0 __tsan_atomic32_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534 (unit_tests+0x3aa8b36)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:921:17 (unit_tests+0xa786542)\n #2 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa786542)\n #3 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:182 (unit_tests+0xa786542)\n #4 BeforePostTask base/task/task_scheduler/task_tracker.cc:770 (unit_tests+0xa786542)\n #5 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa786542)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b040002fbb0 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 4 at 0x7b040002fbb0 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:921:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T5:\n #0 __tsan_atomic32_fetch_add /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615 (unit_tests+0x3aaaff1)\n #1 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1013:17 (unit_tests+0xa786570)\n #2 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa786570)\n #3 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:436 (unit_tests+0xa786570)\n #4 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1013:17 in fetch_add\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 1 at 0x7b6800001378 by thread T5 (mutexes: write M624165417916579016):\n #0 value base/optional.h:607:5 (unit_tests+0xa773fc4)\n #1 GetWorkerPoolImplForTraits base/task/task_scheduler/task_scheduler_impl.cc:332 (unit_tests+0xa773fc4)\n #2 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:337 (unit_tests+0xa773fc4)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:5 (unit_tests+0xa7739f3)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001378 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:607:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001388 by thread T5 (mutexes: write M624165417916579016):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa776bbd)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70 (unit_tests+0xa776bbd)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001388 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T5 (mutexes: write M624165417916579016):\n #0 pthread_mutex_lock /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4073 (unit_tests+0x3a77f7f)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa7edadd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa786605)\n #3 AutoSchedulerLock base/task/task_scheduler/scheduler_lock.h:86 (unit_tests+0xa786605)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:449 (unit_tests+0xa786605)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70:24 (unit_tests+0xa776bcc)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Delete (2012 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools (66 ms)\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest (2173 ms total)\n\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest\n[ RUN ] CannedBrowsingDataLocalStorageTest.Empty\n[ OK ] CannedBrowsingDataLocalStorageTest.Empty (51 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.Delete\n[2813:3035:0222/143715.120942:61016326:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itu7H1tB/.org.chromium.Chromium.DqLEHD/Code Cache/js: No such file or directory (2)\n[2813:3035:0222/143715.286718:61182110:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk\n[ OK ] CannedBrowsingDataLocalStorageTest.Delete (443 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (369 ms)\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest (870 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 3 test suites ran. (3058 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[142/9486] BrowsingDataHelperTest.WebStorageSchemesAreNotExtensions (0 ms)\n[ RUN ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension\n[ OK ] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension (1 ms)\n[ RUN ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything\n[ OK ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything (0 ms)\n[----------] 4 tests from BrowsingDataHelperTest (10 ms total)\n\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Empty\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Empty (91 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Delete\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x560d501ae548 by thread T5:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa771e2a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa751d3c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa751d3c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x560d501ae548 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+0xa771eb1)\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:371:3 (unit_tests+0x99190fa)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x560d501ae548 (unit_tests+0x000012ad1548)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Read of size 8 at 0x7b6800001200 by thread T5:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d67)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001200 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Atomic read of size 1 at 0x7b6800001370 by thread T5:\n #0 __tsan_atomic8_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524 (unit_tests+0x3aa8636)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:925:17 (unit_tests+0xa772fbb)\n #2 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa772fbb)\n #3 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:342 (unit_tests+0xa772fbb)\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 (unit_tests+0xa772fbb)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001370 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:925:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001218 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa773843)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265 (unit_tests+0xa773843)\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:163:10 (unit_tests+0xa7730f6)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001218 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b5c00000e10 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa7864c3)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa7864c3)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa7864c3)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 4 at 0x7b040002fbb0 by thread T5:\n #0 __tsan_atomic32_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534 (unit_tests+0x3aa8b36)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:921:17 (unit_tests+0xa786542)\n #2 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa786542)\n #3 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:182 (unit_tests+0xa786542)\n #4 BeforePostTask base/task/task_scheduler/task_tracker.cc:770 (unit_tests+0xa786542)\n #5 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa786542)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b040002fbb0 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 4 at 0x7b040002fbb0 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:921:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T5:\n #0 __tsan_atomic32_fetch_add /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615 (unit_tests+0x3aaaff1)\n #1 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1013:17 (unit_tests+0xa786570)\n #2 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa786570)\n #3 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:436 (unit_tests+0xa786570)\n #4 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1013:17 in fetch_add\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 1 at 0x7b6800001378 by thread T5 (mutexes: write M624165417916579016):\n #0 value base/optional.h:607:5 (unit_tests+0xa773fc4)\n #1 GetWorkerPoolImplForTraits base/task/task_scheduler/task_scheduler_impl.cc:332 (unit_tests+0xa773fc4)\n #2 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:337 (unit_tests+0xa773fc4)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:5 (unit_tests+0xa7739f3)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001378 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:607:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001388 by thread T5 (mutexes: write M624165417916579016):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa776bbd)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70 (unit_tests+0xa776bbd)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001388 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T5 (mutexes: write M624165417916579016):\n #0 pthread_mutex_lock /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4073 (unit_tests+0x3a77f7f)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa7edadd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa786605)\n #3 AutoSchedulerLock base/task/task_scheduler/scheduler_lock.h:86 (unit_tests+0xa786605)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:449 (unit_tests+0xa786605)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70:24 (unit_tests+0xa776bcc)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Delete (2012 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools (66 ms)\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest (2173 ms total)\n\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest\n[ RUN ] CannedBrowsingDataLocalStorageTest.Empty\n[ OK ] CannedBrowsingDataLocalStorageTest.Empty (51 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.Delete\n[2813:3035:0222/143715.120942:61016326:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itu7H1tB/.org.chromium.Chromium.DqLEHD/Code Cache/js: No such file or directory (2)\n[2813:3035:0222/143715.286718:61182110:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk\n[ OK ] CannedBrowsingDataLocalStorageTest.Delete (443 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (369 ms)\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest (870 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 3 test suites ran. (3058 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[143/9486] BrowsingDataHelperTest.ChromeSchemesAreNotAllExtension (1 ms)\n[ RUN ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything\n[ OK ] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything (0 ms)\n[----------] 4 tests from BrowsingDataHelperTest (10 ms total)\n\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Empty\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Empty (91 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Delete\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x560d501ae548 by thread T5:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa771e2a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa751d3c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa751d3c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x560d501ae548 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+0xa771eb1)\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:371:3 (unit_tests+0x99190fa)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x560d501ae548 (unit_tests+0x000012ad1548)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Read of size 8 at 0x7b6800001200 by thread T5:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d67)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001200 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Atomic read of size 1 at 0x7b6800001370 by thread T5:\n #0 __tsan_atomic8_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524 (unit_tests+0x3aa8636)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:925:17 (unit_tests+0xa772fbb)\n #2 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa772fbb)\n #3 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:342 (unit_tests+0xa772fbb)\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 (unit_tests+0xa772fbb)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001370 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:925:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001218 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa773843)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265 (unit_tests+0xa773843)\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:163:10 (unit_tests+0xa7730f6)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001218 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b5c00000e10 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa7864c3)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa7864c3)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa7864c3)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 4 at 0x7b040002fbb0 by thread T5:\n #0 __tsan_atomic32_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534 (unit_tests+0x3aa8b36)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:921:17 (unit_tests+0xa786542)\n #2 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa786542)\n #3 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:182 (unit_tests+0xa786542)\n #4 BeforePostTask base/task/task_scheduler/task_tracker.cc:770 (unit_tests+0xa786542)\n #5 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa786542)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b040002fbb0 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 4 at 0x7b040002fbb0 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:921:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T5:\n #0 __tsan_atomic32_fetch_add /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615 (unit_tests+0x3aaaff1)\n #1 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1013:17 (unit_tests+0xa786570)\n #2 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa786570)\n #3 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:436 (unit_tests+0xa786570)\n #4 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1013:17 in fetch_add\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 1 at 0x7b6800001378 by thread T5 (mutexes: write M624165417916579016):\n #0 value base/optional.h:607:5 (unit_tests+0xa773fc4)\n #1 GetWorkerPoolImplForTraits base/task/task_scheduler/task_scheduler_impl.cc:332 (unit_tests+0xa773fc4)\n #2 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:337 (unit_tests+0xa773fc4)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:5 (unit_tests+0xa7739f3)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001378 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:607:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001388 by thread T5 (mutexes: write M624165417916579016):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa776bbd)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70 (unit_tests+0xa776bbd)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001388 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T5 (mutexes: write M624165417916579016):\n #0 pthread_mutex_lock /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4073 (unit_tests+0x3a77f7f)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa7edadd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa786605)\n #3 AutoSchedulerLock base/task/task_scheduler/scheduler_lock.h:86 (unit_tests+0xa786605)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:449 (unit_tests+0xa786605)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70:24 (unit_tests+0xa776bcc)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Delete (2012 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools (66 ms)\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest (2173 ms total)\n\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest\n[ RUN ] CannedBrowsingDataLocalStorageTest.Empty\n[ OK ] CannedBrowsingDataLocalStorageTest.Empty (51 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.Delete\n[2813:3035:0222/143715.120942:61016326:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itu7H1tB/.org.chromium.Chromium.DqLEHD/Code Cache/js: No such file or directory (2)\n[2813:3035:0222/143715.286718:61182110:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk\n[ OK ] CannedBrowsingDataLocalStorageTest.Delete (443 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (369 ms)\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest (870 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 3 test suites ran. (3058 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[144/9486] BrowsingDataHelperTest.SchemesThatCantStoreDataDontMatchAnything (0 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Empty\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Empty (91 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Delete\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x560d501ae548 by thread T5:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa771e2a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa751d3c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa751d3c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x560d501ae548 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+0xa771eb1)\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:371:3 (unit_tests+0x99190fa)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x560d501ae548 (unit_tests+0x000012ad1548)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Read of size 8 at 0x7b6800001200 by thread T5:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d67)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001200 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Atomic read of size 1 at 0x7b6800001370 by thread T5:\n #0 __tsan_atomic8_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:524 (unit_tests+0x3aa8636)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:925:17 (unit_tests+0xa772fbb)\n #2 IsSet base/synchronization/atomic_flag.h:34 (unit_tests+0xa772fbb)\n #3 SetUserBlockingPriorityIfNeeded base/task/task_scheduler/task_scheduler_impl.cc:342 (unit_tests+0xa772fbb)\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 (unit_tests+0xa772fbb)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001370 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:925:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001218 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa773843)\n #1 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265 (unit_tests+0xa773843)\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:163:10 (unit_tests+0xa7730f6)\n #3 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #4 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #5 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #8 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #9 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #10 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #11 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #12 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #13 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001218 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b5c00000e10 by thread T5:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (unit_tests+0xa7864c3)\n #1 BeforePostTask base/task/task_scheduler/task_tracker.cc (unit_tests+0xa7864c3)\n #2 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa7864c3)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e10 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2620:19 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 4 at 0x7b040002fbb0 by thread T5:\n #0 __tsan_atomic32_load /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:534 (unit_tests+0x3aa8b36)\n #1 load buildtools/third_party/libc++/trunk/include/atomic:921:17 (unit_tests+0xa786542)\n #2 NoBarrier_Load base/atomicops_internals_portable.h:130 (unit_tests+0xa786542)\n #3 HasShutdownStarted base/task/task_scheduler/task_tracker.cc:182 (unit_tests+0xa786542)\n #4 BeforePostTask base/task/task_scheduler/task_tracker.cc:770 (unit_tests+0xa786542)\n #5 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:431 (unit_tests+0xa786542)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b040002fbb0 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 4 at 0x7b040002fbb0 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:284:14 (unit_tests+0xa784855)\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:279:7 (unit_tests+0xa7847e1)\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+0xa7f25f9)\n #4 TestTaskTracker base/test/scoped_task_environment.cc:621:7 (unit_tests+0x9918bcd)\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:327 (unit_tests+0x9918bcd)\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+0x3ae516d)\n #7 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #8 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #9 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #10 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #19 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #20 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #21 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #22 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #24 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #27 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:921:17 in load\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic write of size 4 at 0x7b5c00000e18 by thread T5:\n #0 __tsan_atomic32_fetch_add /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:615 (unit_tests+0x3aaaff1)\n #1 fetch_add buildtools/third_party/libc++/trunk/include/atomic:1013:17 (unit_tests+0xa786570)\n #2 NoBarrier_AtomicIncrement base/atomicops_internals_portable.h:86 (unit_tests+0xa786570)\n #3 base::internal::TaskTracker::WillPostTask(base::internal::Task*, base::TaskShutdownBehavior) base/task/task_scheduler/task_tracker.cc:436 (unit_tests+0xa786570)\n #4 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:265:23 (unit_tests+0xa77386a)\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:163:10 (unit_tests+0xa7730f6)\n #6 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #7 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #8 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #11 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #12 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #13 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #14 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #15 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000e18 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/atomic:1013:17 in fetch_add\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 1 at 0x7b6800001378 by thread T5 (mutexes: write M624165417916579016):\n #0 value base/optional.h:607:5 (unit_tests+0xa773fc4)\n #1 GetWorkerPoolImplForTraits base/task/task_scheduler/task_scheduler_impl.cc:332 (unit_tests+0xa773fc4)\n #2 base::internal::TaskSchedulerImpl::GetWorkerPoolForTraits(base::TaskTraits const&) base/task/task_scheduler/task_scheduler_impl.cc:337 (unit_tests+0xa773fc4)\n #3 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:5 (unit_tests+0xa7739f3)\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:163:10 (unit_tests+0xa7730f6)\n #5 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #6 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #7 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #10 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #11 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #12 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #13 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #14 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #15 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001378 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/optional.h:607:5 in value\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x7b6800001388 by thread T5 (mutexes: write M624165417916579016):\n #0 operator-> base/task/task_scheduler/tracked_ref.h:102:34 (unit_tests+0xa776bbd)\n #1 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70 (unit_tests+0xa776bbd)\n #2 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #4 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #5 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #6 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #9 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #10 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #11 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #12 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #13 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #14 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001388 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/task/task_scheduler/tracked_ref.h:102:34 in operator->\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Atomic read of size 1 at 0x7b5c00000fa8 by thread T5 (mutexes: write M624165417916579016):\n #0 pthread_mutex_lock /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4073 (unit_tests+0x3a77f7f)\n #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (unit_tests+0xa7edadd)\n #2 Acquire base/synchronization/lock.h:31:26 (unit_tests+0xa786605)\n #3 AutoSchedulerLock base/task/task_scheduler/scheduler_lock.h:86 (unit_tests+0xa786605)\n #4 base::internal::TaskTracker::WillScheduleSequence(base::internal::Sequence::Transaction const&, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:449 (unit_tests+0xa786605)\n #5 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/task_scheduler/scheduler_worker_pool.cc:70:24 (unit_tests+0xa776bcc)\n #6 base::internal::TaskSchedulerImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/task_scheduler/task_scheduler_impl.cc:272:37 (unit_tests+0xa773a2f)\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:163:10 (unit_tests+0xa7730f6)\n #8 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d81)\n #9 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #10 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #13 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #14 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #15 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #16 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #17 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #18 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b5c00000fa8 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 776 at 0x7b5c00000e00 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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:327:21 (unit_tests+0x9918bb6)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Mutex M624165417916579016 is already destroyed.\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\nSUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock()\n==================\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.Delete (2012 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataIndexedDBHelperTest.IgnoreExtensionsAndDevTools (66 ms)\n[----------] 3 tests from CannedBrowsingDataIndexedDBHelperTest (2173 ms total)\n\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest\n[ RUN ] CannedBrowsingDataLocalStorageTest.Empty\n[ OK ] CannedBrowsingDataLocalStorageTest.Empty (51 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.Delete\n[2813:3035:0222/143715.120942:61016326:ERROR:simple_index_file_posix.cc(36)] opendir /b/s/w/itu7H1tB/.org.chromium.Chromium.DqLEHD/Code Cache/js: No such file or directory (2)\n[2813:3035:0222/143715.286718:61182110:ERROR:simple_index_file.cc(612)] Could not reconstruct index from disk\n[ OK ] CannedBrowsingDataLocalStorageTest.Delete (443 ms)\n[ RUN ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools\n[ OK ] CannedBrowsingDataLocalStorageTest.IgnoreExtensionsAndDevTools (369 ms)\n[----------] 3 tests from CannedBrowsingDataLocalStorageTest (870 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 3 test suites ran. (3058 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 10 warnings\n[145/9486] CannedBrowsingDataIndexedDBHelperTest.Empty (91 ms)\n[ RUN ] CannedBrowsingDataIndexedDBHelperTest.Delete\n==================\nWARNING: ThreadSanitizer: data race (pid=2813)\n Read of size 8 at 0x560d501ae548 by thread T5:\n #0 base::TaskScheduler::GetInstance() base/task/task_scheduler/task_scheduler.cc:85:10 (unit_tests+0xa771e2a)\n #1 GetTaskExecutorForTraits base/task/post_task.cc:50:32 (unit_tests+0xa751d3c)\n #2 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:85 (unit_tests+0xa751d3c)\n #3 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #4 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #7 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #8 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #9 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #10 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #11 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x560d501ae548 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+0xa771eb1)\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:371:3 (unit_tests+0x99190fa)\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+0x3ae516d)\n #3 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #4 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #5 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #6 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #7 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #14 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #15 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #16 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #17 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #18 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #20 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #23 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is global 'base::(anonymous namespace)::g_task_scheduler' of size 8 at 0x560d501ae548 (unit_tests+0x000012ad1548)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 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>) services/network/network_service.cc:270 (unit_tests+0xc9bf3c1)\n #8 content::GetNetworkServiceImpl() content/browser/network_service_instance.cc:188:29 (unit_tests+0x784aa70)\n #9 content::StoragePartitionImpl::NetworkContextOwner::Initialize(mojo::InterfaceRequest<network::mojom::NetworkContext>, scoped_refptr<net::URLRequestContextGetter>) content/browser/storage_partition_impl.cc:288:9 (unit_tests+0x7abb8d5)\n #10 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:518:12 (unit_tests+0x7abf133)\n #11 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:618 (unit_tests+0x7abf133)\n #12 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:691 (unit_tests+0x7abf133)\n #13 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:660 (unit_tests+0x7abf133)\n #14 Run base/callback.h:99:12 (unit_tests+0xa76a07a)\n #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:104 (unit_tests+0xa76a07a)\n #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 (unit_tests+0xa76b362)\n #17 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252:7 (unit_tests+0xa76b8dd)\n #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76b8dd)\n #19 HandleDispatch base/message_loop/message_pump_glib.cc:263:25 (unit_tests+0xa6fbdc7)\n #20 base::(anonymous namespace)::WorkSourceDispatch(_GSource*, int (*)(void*), void*) base/message_loop/message_pump_glib.cc:109 (unit_tests+0xa6fbdc7)\n #21 g_main_context_dispatch <null> (libglib-2.0.so.0+0x48e13)\n #22 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 (unit_tests+0xa76bdc0)\n #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa76bdc0)\n #24 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa72bb9e)\n #25 RunThisRunLoop content/public/test/test_utils.cc:147:13 (unit_tests+0x9a5a193)\n #26 content::RunAllPendingInMessageLoop(content::BrowserThread::ID) content/public/test/test_utils.cc:176 (unit_tests+0x9a5a193)\n #27 TestingProfile::~TestingProfile() chrome/test/base/testing_profile.cc:543:5 (unit_tests+0x9909832)\n #28 ~CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b78c83)\n #29 (anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Empty_Test::~CannedBrowsingDataIndexedDBHelperTest_Empty_Test() chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:29 (unit_tests+0x3b78c83)\n #30 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f58ac)\n #31 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2680 (unit_tests+0x62f58ac)\n #32 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #33 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #34 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #35 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #36 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #37 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #38 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #39 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #40 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #41 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\n #42 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:673 (unit_tests+0x99101f8)\n #43 Run base/callback.h:99:12 (unit_tests+0x99226bd)\n #44 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x99226bd)\n #45 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #46 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\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=2813)\n Read of size 8 at 0x7b6800001200 by thread T5:\n #0 base::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/post_task.cc:86:9 (unit_tests+0xa751d67)\n #1 PostTaskWithTraits base/task/post_task.cc:76:10 (unit_tests+0xa75233e)\n #2 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27 (unit_tests+0xa75233e)\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+0xa7969d2)\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+0xa751e79)\n #5 net::SerialWorker::WorkNow() net/dns/serial_worker.cc:31:7 (unit_tests+0x6671446)\n #6 net::internal::DnsConfigServicePosix::ReadNow() net/dns/dns_config_service_posix.cc:407:19 (unit_tests+0x6671cb5)\n #7 net::DnsConfigService::WatchConfig(base::RepeatingCallback<void (net::DnsConfig const&)> const&) net/dns/dns_config_service.cc:39:3 (unit_tests+0x6640a8d)\n #8 net::NetworkChangeNotifierLinux::Thread::Init() net/base/network_change_notifier_linux.cc:69:24 (unit_tests+0x9b187e0)\n #9 base::Thread::ThreadMain() base/threading/thread.cc:301:3 (unit_tests+0xa79a5a9)\n #10 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa7f32d4)\n\n Previous write of size 8 at 0x7b6800001200 by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Location is heap block of size 1352 at 0x7b6800001200 allocated by main thread:\n #0 operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64 (unit_tests+0x3ad7b18)\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+0x9919096)\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:371 (unit_tests+0x9919096)\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+0x3ae516d)\n #4 content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() content/public/test/test_browser_thread_bundle.h:131:13 (unit_tests+0x3ae5107)\n #5 CannedBrowsingDataIndexedDBHelperTest chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:17:7 (unit_tests+0x3b79052)\n #6 CannedBrowsingDataIndexedDBHelperTest_Delete_Test chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc:41 (unit_tests+0x3b79052)\n #7 testing::internal::TestFactoryImpl<(anonymous namespace)::CannedBrowsingDataIndexedDBHelperTest_Delete_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:492 (unit_tests+0x3b79052)\n #8 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62f564f)\n #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665 (unit_tests+0x62f564f)\n #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2803:28 (unit_tests+0x62f60d6)\n #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5241:44 (unit_tests+0x63077f6)\n #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x6306fe9)\n #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4843 (unit_tests+0x6306fe9)\n #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2503:46 (unit_tests+0x991f3e2)\n #15 base::TestSuite::Run() base/test/test_suite.cc:294 (unit_tests+0x991f3e2)\n #16 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a5ef02)\n #17 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:518:12 (unit_tests+0x99101f8)\n #18 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:618 (unit_tests+0x99101f8)\n #19 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:691 (unit_tests+0x99101f8)\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:673 (unit_tests+0x99101f8)\n #21 Run base/callback.h:99:12 (unit_tests+0x99226bd)\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+0x99226bd)\n #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9922520)\n #24 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9910124)\n\n Thread T5 'NetworkChangeNotifier' (tid=2931, running) created by main thread at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (unit_tests+0x3a59d89)\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+0xa7f2d67)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa7f2c65)\n #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa799e10)\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+0x9b1894f)\n #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b0e247)\n #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:101:29 (unit_tests+0xc9bf3c1)\n #7 network::NetworkService::NetworkService(s