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": [ "chrome-trusty-us-east1-b-948-dzu9" ] }, { "key": "image", "value": [ "chrome-trusty-19041600-95c8804d634" ] }, { "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": [ "4267-53b17d5" ] }, { "key": "zone", "value": [ "us", "us-east", "us-east1", "us-east1-b" ] } ], "bot_id": "chrome-trusty-us-east1-b-948-dzu9", "bot_version": "bd68e04e43fc4d1b7b5b65890a29c5d5bae55ab1423851733f92abd7e13dda14", "cipd_pins": { "client_package": { "package_name": "infra/tools/cipd/linux-amd64", "version": "nFftZl2kFquaI2EUmPGwzbc5sIbCocl9L55UeASqlLsC" }, "packages": [ { "package_name": "infra/python/cpython/linux-amd64", "path": ".swarming_module", "version": "46c0c897ca0f053799ee41fd148bb7a47232df47" }, { "package_name": "infra/tools/luci/logdog/butler/linux-amd64", "path": ".swarming_module", "version": "2737ea8ed9b958f4d5aa9ffe106115a649ada241" }, { "package_name": "infra/tools/luci/vpython-native/linux-amd64", "path": ".swarming_module", "version": "tfTmX4aGCfFtfQucj_nEfwiNisK0RmpKrITkZMBBq3cC" }, { "package_name": "infra/tools/luci/vpython/linux-amd64", "path": ".swarming_module", "version": "bmnYyAg9mbM_538s1dIP1hZZmOtc8C7ssF41ztN2cr0C" } ] }, "completed_ts": "2019-04-22T16:01:58.964859", "costs_usd": [ 0.021315943841434662 ], "created_ts": "2019-04-22T15:58:54.213529", "duration": 166.61684703826904, "modified_ts": "2019-04-22T16:01:58.964859", "name": "services_unittests/Ubuntu-14.04/e3462e4436/ToTLinuxTSan/1550", "output": "/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:354: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\nInitializing built-in extension Generic Event Extension\nInitializing built-in extension SHAPE\nInitializing built-in extension MIT-SHM\nInitializing built-in extension XInputExtension\nInitializing built-in extension XTEST\nInitializing built-in extension BIG-REQUESTS\nInitializing built-in extension SYNC\nInitializing built-in extension XKEYBOARD\nInitializing built-in extension XC-MISC\nInitializing built-in extension SECURITY\nInitializing built-in extension XINERAMA\nInitializing built-in extension XFIXES\nInitializing built-in extension RENDER\nInitializing built-in extension RANDR\nInitializing built-in extension COMPOSITE\nInitializing built-in extension DAMAGE\nInitializing built-in extension MIT-SCREEN-SAVER\nInitializing built-in extension DOUBLE-BUFFER\nInitializing built-in extension RECORD\nInitializing built-in extension DPMS\nInitializing built-in extension Present\nInitializing built-in extension DRI3\nInitializing built-in extension X-Resource\nInitializing built-in extension XVideo\nInitializing built-in extension XVideo-MotionCompensation\nInitializing built-in extension SELinux\nInitializing built-in extension GLX\n[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!\nAdditional test environment:\n CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox\n CHROME_HEADLESS=1\n G_SLICE=always-malloc\n LANG=en_US.UTF-8\n NSS_DISABLE_ARENA_FREE_LIST=1\n NSS_DISABLE_UNLOAD=1\n TSAN_OPTIONS=symbolize=1 external_symbolizer_path=/b/s/w/ir/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer handle_abort=1\nCommand: ./services_unittests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/ioSY0BoL/output.json --no-sandbox\n\nObt-Message: Xinerama extension is not present on the server\nObt-Message: XRandR extension is not present on the server\nOpenbox-Message: Unable to find a valid menu file \"/var/lib/openbox/debian-menu.xml\"\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/3090] AccessTokenFetcherTest.RefreshTokenRevoked (2 ms)\n[2/3090] AccessTokenFetcherTest.FailedAccessTokenRequest (1 ms)\n[3/3090] AccessTokenFetcherTest.MultipleRequestsForSameAccountFulfilled (1 ms)\n[4/3090] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsFulfilled (2 ms)\n[5/3090] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsCanceledAndFulfilled (1 ms)\n[6/3090] AccessTokenFetcherTest.FetcherWithCustomURLLoaderFactory (2 ms)\n[7/3090] IdentityManagerTest.PrimaryAccountInfoAtStartup (1 ms)\n[8/3090] IdentityManagerTest.PrimaryAccountInfoAfterSignin (1 ms)\n[9/3090] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndSignout (1 ms)\n[10/3090] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndAccountRemoval (2 ms)\n[11/3090] IdentityManagerTest.HasPrimaryAccount (3 ms)\n[12/3090] IdentityManagerTest.GetAccountsInteractionWithPrimaryAccount (1 ms)\n[13/3090] IdentityManagerTest.QueryingOfRefreshTokensInteractionWithPrimaryAccount (1 ms)\n[14/3090] IdentityManagerTest.QueryingOfRefreshTokensReflectsEmptyInitialState (1 ms)\n[15/3090] IdentityManagerTest.GetAccountsInteractionWithSecondaryAccounts (2 ms)\n[16/3090] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionWithSecondaryAccounts (1 ms)\n[17/3090] IdentityManagerTest.HasAccountWithRefreshTokenInteractionWithSecondaryAccounts (2 ms)\n[18/3090] IdentityManagerTest.GetAccountsInteractionBetweenPrimaryAndSecondaryAccounts (2 ms)\n[19/3090] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts (2 ms)\n[20/3090] IdentityManagerTest.HasAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[21/3090] IdentityManagerTest.CallbackSentOnSuccessfulAdditionOfAccountToCookie (2 ms)\n[22/3090] IdentityManagerTest.CallbackSentOnFailureAdditionOfAccountToCookie (1 ms)\n[23/3090] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Success (1 ms)\n[24/3090] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Failure (1 ms)\n[25/3090] IdentityManagerTest.CallbackSentOnAccountsCookieDeletedByUserAction (5 ms)\n[26/3090] IdentityManagerTest.OnNetworkInitialized (6 ms)\n[27/3090] IdentityManagerTest.BatchChangeObserversAreNotifiedOnCredentialsUpdate (1 ms)\n[28/3090] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByAccountId (2 ms)\n[29/3090] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByEmailAddress (1 ms)\n[30/3090] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByGaiaId (2 ms)\n[31/3090] IdentityAccessorImplTest.GetAccessTokenNotSignedIn (13 ms)\n[32/3090] IdentityAccessorImplTest.GetAccessTokenSignedIn (9 ms)\n[33/3090] AccessTokenFetcherTest.OneShotShouldCallBackOnFulfilledRequest (1 ms)\n[34/3090] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequest (1 ms)\n[35/3090] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequestAfterTokenAvailable (1 ms)\n[36/3090] AccessTokenFetcherTest.WaitUntilAvailableShouldIgnoreRefreshTokenForDifferentAccount (1 ms)\n[37/3090] AccessTokenFetcherTest.ShouldNotReplyIfDestroyed (1 ms)\n[38/3090] AccessTokenFetcherTest.ReturnsErrorWhenAccountIsUnknown (1 ms)\n[39/3090] AccessTokenFetcherTest.ReturnsErrorWhenAccountHasNoRefreshToken (0 ms)\n[40/3090] AccessTokenFetcherTest.CanceledAccessTokenRequest (0 ms)\n[41/3090] IdentityManagerTest.CallbackSentOnUpdateToErrorStateOfRefreshTokenForAccount (2 ms)\n[42/3090] IdentityManagerTest.GetErrorStateOfRefreshTokenForAccount (3 ms)\n[43/3090] IdentityManagerTest.RemoveAccessTokenFromCache (2 ms)\n[44/3090] IdentityManagerTest.CreateAccessTokenFetcher (1 ms)\n[45/3090] IdentityManagerTest.CreateAccessTokenFetcherWithCustomURLLoaderFactory (2 ms)\n[46/3090] IdentityManagerTest.ObserveAccessTokenFetch (1 ms)\n[47/3090] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithoutRefreshToken (2 ms)\n[48/3090] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithRefreshToken (2 ms)\n[49/3090] IdentityManagerTest.ObserveAccessTokenRequestCompletionAfterRevokingRefreshToken (2 ms)\n[50/3090] IdentityManagerTest.GetAccountsCookieMutator (1 ms)\n[51/3090] IdentityManagerTest.DeprecatedLoadCredentialsForSupervisedUser (2 ms)\n[52/3090] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithValidToken (1 ms)\n[53/3090] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithInvalidToken (1 ms)\n[54/3090] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenRemoval (2 ms)\n[55/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidToken (2 ms)\n[56/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidToken (3 ms)\n[57/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemoval (2 ms)\n[58/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidTokenWhenNoPrimaryAccount (2 ms)\n[59/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidTokenWhenNoPrimaryAccount (2 ms)\n[60/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemovalWhenNoPrimaryAccount (2 ms)\n[61/3090] IdentityManagerTest.CallbackSentOnRefreshTokenRemovalOfUnknownAccount (1 ms)\n[62/3090] IdentityManagerTest.IdentityManagerGetsTokensLoadedEvent (1 ms)\n[63/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithNoAccounts (9 ms)\n[64/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithOneAccount (6 ms)\n[65/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithTwoAccounts (6 ms)\n[66/3090] IdentityManagerTest.CallbackSentOnUpdateToSignOutAccountsInCookie (19 ms)\n[67/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithStaleAccounts (5 ms)\n[68/3090] IdentityManagerTest.GetAccountsInCookieJarWithNoAccounts (6 ms)\n[69/3090] IdentityManagerTest.GetAccountsInCookieJarWithOneAccount (6 ms)\n[70/3090] IdentityManagerTest.GetAccountsInCookieJarWithTwoAccounts (6 ms)\n[71/3090] ContentServiceTest.NavigableContentsCreation (13 ms)\n[72/3090] IdentityAccessorImplTest.GetPrimaryAccountInfoNotSignedIn (14 ms)\n[73/3090] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInNoRefreshToken (34 ms)\n[74/3090] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInRefreshToken (11 ms)\n[75/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignedIn (16 ms)\n[76/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignInLater (14 ms)\n[77/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableTokenAvailableLater (14 ms)\n[78/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableAuthenticationAvailableLater (13 ms)\n[79/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableOverlappingCalls (11 ms)\n[80/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableRefreshTokenHasAuthError (10 ms)\n[81/3090] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenSignedOut (2 ms)\n[82/3090] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenNoRefreshToken (2 ms)\n[83/3090] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryNoCallbackWhenSignedOut (1 ms)\n[84/3090] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForSignIn (2 ms)\n[85/3090] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForRefreshToken (1 ms)\n[86/3090] PrimaryAccountAccessTokenFetcherTest.ShouldIgnoreRefreshTokensForOtherAccounts (3 ms)\n[87/3090] PrimaryAccountAccessTokenFetcherTest.OneShotCanceledAccessTokenRequest (1 ms)\n[88/3090] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryCanceledAccessTokenRequest (2 ms)\n[89/3090] PrimaryAccountAccessTokenFetcherTest.ShouldRetryCanceledAccessTokenRequestOnlyOnce (2 ms)\n[90/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfSignedOut (3 ms)\n[91/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfRefreshTokenRevoked (3 ms)\n[92/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryFailedAccessTokenRequest (1 ms)\n[93/3090] MetricsUtilsTest.GetLinearBucketMin (0 ms)\n[94/3090] MetricsUtilsTest.GetExponentialBucketMinForUserTiming (0 ms)\n[95/3090] UkmSourceIdTest.AssignSourceIds (0 ms)\n[96/3090] UkmSourceIdTest.ConvertToSourceId (0 ms)\n[97/3090] ChunkedDataPipeUploadDataStreamTest.ReadBeforeDataReady (21 ms)\n[98/3090] ChunkedDataPipeUploadDataStreamTest.ReadAfterDataReady (20 ms)\n[99/3090] ChunkedDataPipeUploadDataStreamTest.MultipleReadThrough (5 ms)\n[100/3090] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughWithKnownSize (11 ms)\n[101/3090] IdentityManagerTest.AreRefreshTokensLoaded (2 ms)\n[102/3090] IdentityManagerTest.AccountIdMigration_DoneOnInitialization (2 ms)\n[103/3090] IdentityManagerTest.ObserveOnAccountUpdated (3 ms)\n[104/3090] IdentityManagerTest.TestOnAccountRemovedWithInfoCallback (2 ms)\n[105/3090] IdentityManagerTest.TestPickAccountIdForAccount (2 ms)\n[106/3090] IdentityManagerTest.FindExtendedAccountInfoForAccount (1 ms)\n[107/3090] IdentityTestEnvironmentTest.IdentityTestEnvironmentCancelsPendingRequestsOnDestruction (20 ms)\n[108/3090] PrimaryAccountAccessTokenFetcherTest.OneShotShouldReturnAccessToken (2 ms)\n[109/3090] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryShouldReturnAccessToken (3 ms)\n[110/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotReplyIfDestroyed (2 ms)\n[111/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation3 (4 ms)\n[112/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure1 (2 ms)\n[113/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure2 (3 ms)\n[114/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure3 (3 ms)\n[115/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter1 (2 ms)\n[116/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter2 (2 ms)\n[117/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter3 (3 ms)\n[118/3090] ChunkedDataPipeUploadDataStreamTest.ExtraBytes1 (2 ms)\n[119/3090] ChunkedDataPipeUploadDataStreamTest.ExtraBytes2 (3 ms)\n[120/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterBeforeInit (3 ms)\n[121/3090] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughSizeNotKnown (12 ms)\n[122/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsBeforeInit (5 ms)\n[123/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsAfterReset (3 ms)\n[124/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsBeforeInit (3 ms)\n[125/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsAfterReset (3 ms)\n[126/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess1 (2 ms)\n[127/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess2 (3 ms)\n[128/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess3 (2 ms)\n[129/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation1 (3 ms)\n[130/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation2 (2 ms)\n[131/3090] CookieManagerTest.ConfirmSecureSetFails (21 ms)\n[132/3090] CookieManagerTest.ConfirmHttpOnlySetFails (5 ms)\n[133/3090] CookieManagerTest.ConfirmSecureOverwriteFails (6 ms)\n[134/3090] CookieManagerTest.ConfirmHttpOnlyOverwriteFails (5 ms)\n[135/3090] CookieManagerTest.DeleteEverything (5 ms)\n[136/3090] CookieManagerTest.DeleteByTime (6 ms)\n[137/3090] CookieManagerTest.DeleteByExcludingDomains (5 ms)\n[138/3090] CookieManagerTest.DeleteByIncludingDomains (6 ms)\n[139/3090] CookieManagerTest.DeleteDetails_eTLD (18 ms)\n[140/3090] CookieManagerTest.DeleteDetails_HostDomain (28 ms)\n[141/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackNoPendingRead (3 ms)\n[142/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackPendingRead (3 ms)\n[143/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterAfterCallingGetSizeCallback (3 ms)\n[144/3090] CookieManagerTest.GetAllCookies (21 ms)\n[145/3090] CookieManagerTest.GetCookieList (18 ms)\n[146/3090] CookieManagerTest.GetCookieListHttpOnly (35 ms)\n[147/3090] CookieManagerTest.GetCookieListSameSite (10 ms)\n[148/3090] CookieManagerTest.GetCookieListAccessTime (6 ms)\n[149/3090] CookieManagerTest.DeleteCanonicalCookie (7 ms)\n[150/3090] CookieManagerTest.DeleteThroughSet (6 ms)\n[151/3090] CookieManagerTest.DeleteDetails_eTLDvsPrivateRegistry (11 ms)\n[152/3090] CookieManagerTest.DeleteDetails_PrivateRegistry (6 ms)\n[153/3090] CookieManagerTest.DeleteDetails_IgnoredFields (15 ms)\n[154/3090] CookieManagerTest.DeleteDetails_Consumer (46 ms)\n[155/3090] CookieManagerTest.DeleteByName (20 ms)\n[156/3090] CookieManagerTest.DeleteByURL (16 ms)\n[157/3090] CookieManagerTest.DeleteBySessionStatus (7 ms)\n[158/3090] CookieManagerTest.DeleteByAll (7 ms)\n[159/3090] CookieManagerTest.AddCookieChangeListener (23 ms)\n[160/3090] CookieManagerTest.AddGlobalChangeListener (45 ms)\n[161/3090] CookieManagerTest.ListenerDestroyed (11 ms)\n[162/3090] CookieManagerTest.ServiceDestructVisible (11 ms)\n[163/3090] CookieManagerTest.CloningAndClientDestructVisible (7 ms)\n[164/3090] CookieManagerTest.BlockThirdPartyCookies (4 ms)\n[165/3090] FlushableCookieManagerTest.FlushCookieStore (11 ms)\n[166/3090] FlushableCookieManagerTest.DeletionFilterToInfo (12 ms)\n[167/3090] SessionCleanupCookieManagerTest.PersistSessionCookies (111 ms)\n[168/3090] SessionCleanupCookieManagerTest.DeleteSessionCookies (69 ms)\n[169/3090] SessionCleanupCookieManagerTest.SettingMustMatchDomain (60 ms)\n[170/3090] SessionCleanupCookieManagerTest.FirstSettingTakesPrecedence (41 ms)\n[171/3090] SessionCleanupCookieManagerTest.ForceKeepSessionState (96 ms)\n[172/3090] SessionCleanupCookieManagerTest.HttpCookieAllowedOnHttps (82 ms)\n[173/3090] CookieSettingsTest.GetCookieSettingDefault (1 ms)\n[174/3090] CookieSettingsTest.GetCookieSetting (0 ms)\n[175/3090] CookieSettingsTest.GetCookieSettingMustMatchBothPatterns (0 ms)\n[176/3090] CookieSettingsTest.GetCookieSettingGetsFirstSetting (0 ms)\n[177/3090] CookieSettingsTest.GetCookieSettingDontBlockThirdParty (0 ms)\n[178/3090] CookieSettingsTest.GetCookieSettingBlockThirdParty (1 ms)\n[179/3090] CookieSettingsTest.GetCookieSettingDontBlockThirdPartyWithException (0 ms)\n[180/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSettings (0 ms)\n[181/3090] CrossOriginReadBlockingTest.SniffForHTML (1 ms)\n[182/3090] CrossOriginReadBlockingTest.SniffForXML (0 ms)\n[183/3090] CrossOriginReadBlockingTest.SniffForJSON (0 ms)\n[184/3090] CrossOriginReadBlockingTest.GetCanonicalMimeType (1 ms)\n[185/3090] CrossOriginResourcePolicyTest.ParseHeader (1 ms)\n[186/3090] CrossOriginResourcePolicyTest.ShouldAllowSameSite (1 ms)\n[187/3090] DataPipeElementReaderTest.InitInterruptsInit (4 ms)\n[188/3090] DataPipeElementReaderTest.InitInterruptsRead (5 ms)\n[189/3090] DnsConfigChangeManagerTest.Notification (9 ms)\n[190/3090] DnsConfigChangeManagerTest.Notification_InitialRead (4 ms)\n[191/3090] DnsConfigChangeManagerTest.MultipleNotification (8 ms)\n[192/3090] DnsConfigChangeManagerTest.MultipleClients (7 ms)\n[193/3090] HostResolverTest.Sync (4 ms)\n[194/3090] HostResolverTest.Async (5 ms)\n[195/3090] HostResolverTest.DnsQueryType (4 ms)\n[196/3090] HostResolverTest.InitialPriority (3 ms)\n[197/3090] HostResolverTest.Source (7 ms)\n[198/3090] HostResolverTest.SeparateCacheBySource (7 ms)\n[199/3090] HostResolverTest.CacheDisabled (8 ms)\n[200/3090] HostResolverTest.CacheDisabled_ErrorResults (6 ms)\n[201/3090] HostResolverTest.IncludeCanonicalName (7 ms)\n[202/3090] HostResolverTest.LoopbackOnly (4 ms)\n[203/3090] HostResolverTest.Failure_Sync (4 ms)\n[204/3090] HostResolverTest.Failure_Async (5 ms)\n[205/3090] HostResolverTest.NoOptionalParameters (5 ms)\n[206/3090] HostResolverTest.NoControlHandle (5 ms)\n[207/3090] HostResolverTest.CloseControlHandle (4 ms)\n[208/3090] HostResolverTest.Cancellation (4 ms)\n[209/3090] HostResolverTest.Cancellation_SubsequentRequest (5 ms)\n[210/3090] HostResolverTest.DestroyResolver (4 ms)\n[211/3090] HostResolverTest.CloseClient (9 ms)\n[212/3090] HostResolverTest.CloseClient_SubsequentRequest (5 ms)\n[213/3090] HostResolverTest.Binding (6 ms)\n[214/3090] HostResolverTest.CloseBinding (6 ms)\n[215/3090] HostResolverTest.CloseBinding_SubsequentRequest (6 ms)\n[216/3090] HostResolverTest.IsSpeculative (4 ms)\n[217/3090] HostResolverTest.TextResults (5 ms)\n[218/3090] HostResolverTest.HostResults (4 ms)\n[219/3090] HostResolverTest.MdnsListener_AddressResult (3 ms)\n[220/3090] HostResolverTest.MdnsListener_TextResult (3 ms)\n[221/3090] CorsURLLoaderTest.304ForSimpleGet (28 ms)\n[222/3090] CorsURLLoaderTest.200ForSimpleRevalidation (31 ms)\n[223/3090] CorsURLLoaderTest.RevalidationAndPreflight (33 ms)\n[224/3090] CorsURLLoaderTaintingTest.CalculateResponseTainting (0 ms)\n[225/3090] PreflightControllerCreatePreflightRequestTest.LexicographicalOrder (1 ms)\n[226/3090] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleHeaders (0 ms)\n[227/3090] PreflightControllerCreatePreflightRequestTest.Credentials (0 ms)\n[228/3090] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleContentTypeHeader (0 ms)\n[229/3090] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleHeader (1 ms)\n[230/3090] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleContentTypeHeader (0 ms)\n[231/3090] CorsURLLoaderTest.NavigateWithoutInitiator (39 ms)\n[232/3090] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther1 (24 ms)\n[233/3090] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther2 (14 ms)\n[234/3090] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther3 (41 ms)\n[235/3090] CorsURLLoaderTest.SameOriginRequest (21 ms)\n[236/3090] CorsURLLoaderTest.CrossOriginRequestWithNoCorsMode (30 ms)\n[237/3090] CorsURLLoaderTest.CrossOriginRequestWithNoCorsModeAndPatchMethod (19 ms)\n[238/3090] CorsURLLoaderTest.CrossOriginRequestFetchRequestModeSameOrigin (17 ms)\n[239/3090] CorsURLLoaderTest.CrossOriginRequestWithCorsModeButMissingCorsHeader (30 ms)\n[240/3090] CorsURLLoaderTest.CrossOriginRequestWithCorsMode (23 ms)\n[241/3090] CorsURLLoaderTest.CrossOriginRequestFetchRequestWithCorsModeButMismatchedCorsHeader (47 ms)\n[242/3090] CorsURLLoaderTest.StripUsernameAndPassword (24 ms)\n[243/3090] CorsURLLoaderTest.CorsCheckPassOnRedirect (26 ms)\n[244/3090] CorsURLLoaderTest.CorsCheckFailOnRedirect (55 ms)\n[245/3090] CorsURLLoaderTest.NetworkLoaderErrorDuringRedirect (32 ms)\n[246/3090] CorsURLLoaderTest.SameOriginToSameOriginRedirect (29 ms)\n[247/3090] CorsURLLoaderTest.SameOriginToCrossOriginRedirect (17 ms)\n[248/3090] CorsURLLoaderTest.CrossOriginToCrossOriginRedirect (16 ms)\n[249/3090] CorsURLLoaderTest.CrossOriginToOriginalOriginRedirect (34 ms)\n[250/3090] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirect (34 ms)\n[251/3090] PreflightControllerCreatePreflightRequestTest.ExcludeForbiddenHeaders (1 ms)\n[252/3090] PreflightControllerCreatePreflightRequestTest.Tainted (0 ms)\n[253/3090] PreflightControllerCreatePreflightRequestTest.FetchWindowId (1 ms)\n[254/3090] PreflightControllerCreatePreflightRequestTest.RenderFrameId (0 ms)\n[255/3090] PreflightControllerTest.CheckInvalidRequest (50 ms)\n[256/3090] PreflightControllerTest.CheckValidRequest (55 ms)\n[257/3090] PreflightControllerTest.CheckTaintedRequest (25 ms)\n[258/3090] PreflightControllerTest.CheckResponseWithNullHeaders (15 ms)\n[259/3090] CrossOriginReadBlockingTest.IsBlockableScheme (0 ms)\n[260/3090] CrossOriginReadBlockingTest.IsValidCorsHeaderSet (0 ms)\n[261/3090] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirectWithPreflight (39 ms)\n[262/3090] CorsURLLoaderTest.RedirectInfoShouldBeUsed (34 ms)\n[263/3090] CorsURLLoaderTest.TooManyRedirects (43 ms)\n[264/3090] CorsURLLoaderTest.FollowErrorRedirect (27 ms)\n[265/3090] CorsURLLoaderTest.OriginAccessList_Allowed (26 ms)\n[266/3090] CorsURLLoaderTest.OriginAccessList_Blocked (19 ms)\n[267/3090] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryList (25 ms)\n[268/3090] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryListButBlocked (22 ms)\n[269/3090] CorsURLLoaderTest.OriginAccessList_NoCors (19 ms)\n[270/3090] CorsURLLoaderTest.304ForSimpleRevalidation (20 ms)\n[271/3090] IgnoreErrorsCertVerifierTest.TestMatch (5 ms)\n[272/3090] InitiatorLockCompatibilityTest.VerifyRequestInitiatorSiteLock (1 ms)\n[273/3090] KeepaliveStatisticsRecorderTest.InitialState (0 ms)\n[274/3090] KeepaliveStatisticsRecorderTest.Register (1 ms)\n[275/3090] KeepaliveStatisticsRecorderTest.Unregister (0 ms)\n[276/3090] KeepaliveStatisticsRecorderTest.MultipleRegistration (0 ms)\n[277/3090] KeepaliveStatisticsRecorderTest.IssueOneRequest (0 ms)\n[278/3090] KeepaliveStatisticsRecorderTest.IssueRequests (0 ms)\n[279/3090] KeepaliveStatisticsRecorderTest.ProcessReuse (0 ms)\n[280/3090] MojoHostResolverImplTest.Resolve (6 ms)\n[281/3090] MojoHostResolverImplTest.ResolveSynchronous (9 ms)\n[282/3090] MojoHostResolverImplTest.ResolveMultiple (8 ms)\n[283/3090] MojoHostResolverImplTest.ResolveDuplicate (5 ms)\n[284/3090] MojoHostResolverImplTest.ResolveFailure (5 ms)\n[285/3090] MojoHostResolverImplTest.ResolveEx (4 ms)\n[286/3090] MojoHostResolverImplTest.DestroyClient (4 ms)\n[287/3090] NetworkChangeManagerTest.ClientNotified (5 ms)\n[288/3090] NetworkChangeManagerTest.OneClientPipeBroken (9 ms)\n[289/3090] NetworkChangeManagerTest.NewClientReceivesCurrentType (9 ms)\n[290/3090] NetworkChangeConnectionTypeTest.ConnectionTypeEnumMatch (0 ms)\n[291/3090] NetworkContextTest.DestroyContextWithLiveRequest (25 ms)\n[292/3090] NetworkContextTest.DisableQuic (10 ms)\n[293/3090] NetworkContextTest.UserAgentAndLanguage (8 ms)\n[294/3090] NetworkContextTest.EnableBrotli (8 ms)\n[295/3090] NetworkContextTest.ContextName (12 ms)\n[296/3090] NetworkContextTest.QuicUserAgentId (8 ms)\n[297/3090] NetworkContextTest.DataUrlSupportEnabled (7 ms)\n[298/3090] NetworkContextTest.FileUrlSupportDisabled (15 ms)\n[299/3090] NetworkContextTest.DisableFtpUrlSupport (6 ms)\n[300/3090] NetworkContextTest.EnableFtpUrlSupport (7 ms)\n[301/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSessionOnly (0 ms)\n[302/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateSessionOnly (1 ms)\n[303/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateAllow (0 ms)\n[304/3090] CookieSettingsTest.GetCookieSettingSecureOriginCookiesAllowed (0 ms)\n[305/3090] CookieSettingsTest.GetCookieSettingWithThirdPartyCookiesAllowedScheme (0 ms)\n[306/3090] CookieSettingsTest.GetCookieSettingMatchingSchemeCookiesAllowed (0 ms)\n[307/3090] CorsURLLoaderFactoryTest.DestructionOrder (65 ms)\n[308/3090] CorsURLLoaderTest.SameOriginWithoutInitiator (27 ms)\n[309/3090] CorsURLLoaderTest.NoCorsWithoutInitiator (26 ms)\n[310/3090] CorsURLLoaderTest.CorsWithoutInitiator (862 ms)\n[311/3090] NetworkContextTest.DisableReporting (13 ms)\n[312/3090] NetworkContextTest.EnableReporting (8 ms)\n[313/3090] NetworkContextTest.DisableNetworkErrorLogging (8 ms)\n[314/3090] NetworkContextTest.EnableNetworkErrorLogging (8 ms)\n[315/3090] NetworkContextTest.Http09Disabled (7 ms)\n[316/3090] NetworkContextTest.Http09Enabled (8 ms)\n[317/3090] NetworkContextTest.DefaultHttpNetworkSessionParams (6 ms)\n[318/3090] NetworkContextTest.FixedHttpPort (6 ms)\n[319/3090] NetworkContextTest.NoCache (5 ms)\n[320/3090] NetworkContextTest.MemoryCache (5 ms)\n[321/3090] NetworkContextTest.ClearHttpCache (22 ms)\n[322/3090] NetworkContextTest.MultipleClearHttpCacheCalls (11 ms)\n[323/3090] NetworkContextTest.NotifyExternalCacheHit (7 ms)\n[324/3090] NetworkContextTest.NotifyExternalCacheHit_Split (6 ms)\n[325/3090] NetworkContextTest.CountHttpCache (8 ms)\n[326/3090] NetworkContextTest.ClearHostCache (11 ms)\n[327/3090] NetworkContextTest.ClearHttpAuthCache (10 ms)\n[328/3090] NetworkContextTest.ClearAllHttpAuthCache (5 ms)\n[329/3090] NetworkContextTest.ClearEmptyHttpAuthCache (10 ms)\n[330/3090] NetworkContextTest.LookupBasicAuthCredentials (5 ms)\n[331/3090] NetworkContextTest.ClearReportingCacheReports (11 ms)\n[332/3090] NetworkContextTest.ClearReportingCacheReportsWithFilter (8 ms)\n[333/3090] NetworkContextTest.ClearReportingCacheReportsWithNonRegisterableFilter (7 ms)\n[334/3090] NetworkContextTest.ClearEmptyReportingCacheReports (6 ms)\n[335/3090] NetworkContextTest.ClearReportingCacheReportsWithNoService (7 ms)\n[336/3090] NetworkContextTest.ClearReportingCacheClients (7 ms)\n[337/3090] NetworkContextTest.ClearReportingCacheClientsWithFilter (7 ms)\n[338/3090] NetworkContextTest.ClearEmptyReportingCacheClients (7 ms)\n[339/3090] NetworkContextTest.ClearReportingCacheClientsWithNoService (5 ms)\n[340/3090] NetworkContextTest.ClearNetworkErrorLogging (5 ms)\n[341/3090] NetworkContextTest.ClearNetworkErrorLoggingWithFilter (12 ms)\n[342/3090] NetworkContextTest.ClearEmptyNetworkErrorLogging (7 ms)\n[343/3090] NetworkContextTest.ClearEmptyNetworkErrorLoggingWithNoService (6 ms)\n[344/3090] NetworkContextTest.CookieManager (8 ms)\n[345/3090] NetworkContextTest.ProxyConfig (64 ms)\n[346/3090] NetworkContextTest.StaticProxyConfig (9 ms)\n[347/3090] NetworkContextTest.NoInitialProxyConfig (12 ms)\n[348/3090] NetworkContextTest.DestroyedWithoutProxyConfig (10 ms)\n[349/3090] NetworkContextTest.CancelPendingProxyLookup (13 ms)\n[350/3090] NetworkContextTest.PacQuickCheck (11 ms)\n[351/3090] NetworkContextTest.DiskCache (17 ms)\n[352/3090] NetworkContextTest.SimpleCache (7 ms)\n[353/3090] NetworkContextTest.HttpServerPropertiesToDisk (20 ms)\n[354/3090] NetworkContextTest.ClearHttpServerPropertiesInMemory (7 ms)\n[355/3090] NetworkContextTest.ClearingNetworkingHistoryClearNetworkQualityPrefs (8 ms)\n[356/3090] NetworkContextTest.TransportSecurityStatePersisted (22 ms)\n[357/3090] NetworkContextTest.CertReporting (313 ms)\n[358/3090] NetworkContextTest.Referrers (53 ms)\n[359/3090] NetworkContextTest.HttpRequestCompletionErrorCodes (137 ms)\n[360/3090] NetworkContextTest.ClearHttpCacheWithNoCache (7 ms)\n[361/3090] NetworkContextTest.ResolveHost_CloseControlHandle (15 ms)\n[362/3090] NetworkContextTest.ResolveHost_Cancellation (9 ms)\n[363/3090] NetworkContextTest.ResolveHost_DestroyContext (9 ms)\n[364/3090] NetworkContextTest.ResolveHost_CloseClient (10 ms)\n[365/3090] NetworkContextTest.CreateHostResolver (8 ms)\n[366/3090] NetworkContextTest.CreateHostResolver_CloseResolver (10 ms)\n[367/3090] NetworkContextTest.CreateHostResolver_CloseContext (10 ms)\n[368/3090] NetworkContextTest.CreateHostResolverWithConfigOverrides (11 ms)\n[369/3090] NetworkContextTest.PrivacyModeDisabledByDefault (6 ms)\n[370/3090] NetworkContextTest.PrivacyModeEnabledIfCookiesBlocked (6 ms)\n[371/3090] HostResolverTest.MdnsListener_HostnameResult (7 ms)\n[372/3090] HostResolverTest.MdnsListener_UnhandledResult (4 ms)\n[373/3090] HttpCacheDataCounterTest.Basic (26 ms)\n[374/3090] HttpCacheDataCounterTestNoCache.BeSensible (9 ms)\n[375/3090] HttpCacheDataRemoverTest.ClearAll (11 ms)\n[376/3090] HttpCacheDataRemoverTest.FilterDeleteByDomain (10 ms)\n[377/3090] HttpCacheDataRemoverTest.FilterKeepByDomain (9 ms)\n[378/3090] HttpCacheDataRemoverTest.FilterDeleteByOrigin (10 ms)\n[379/3090] HttpCacheDataRemoverTest.FilterKeepByOrigin (9 ms)\n[380/3090] HttpCacheDataRemoverTest.FilterDeleteByDomainAndOrigin (11 ms)\n[381/3090] NetworkContextTest.CreateUDPSocket (18 ms)\n[382/3090] NetworkContextTest.CreateNetLogExporter (49 ms)\n[383/3090] NetworkContextTest.CreateNetLogExporterUnbounded (61 ms)\n[384/3090] NetworkContextTest.CreateNetLogExporterErrors (41 ms)\n[385/3090] NetworkContextTest.DestroyNetLogExporterWhileCreatingScratchDir (9 ms)\n[386/3090] NetworkContextTest.ResolveHost_Sync (7 ms)\n[387/3090] NetworkContextTest.ResolveHost_Async (9 ms)\n[388/3090] NetworkContextTest.ResolveHost_Failure_Sync (11 ms)\n[389/3090] NetworkContextTest.ResolveHost_Failure_Async (10 ms)\n[390/3090] NetworkContextTest.ResolveHost_NoControlHandle (9 ms)\n[391/3090] HttpCacheDataRemoverTest.FilterKeepByDomainAndOrigin (17 ms)\n[392/3090] HttpCacheDataRemoverTest.FilterByDateFromUnbounded (11 ms)\n[393/3090] HttpCacheDataRemoverTest.FilterByDateToUnbounded (10 ms)\n[394/3090] HttpCacheDataRemoverTest.FilterByDateRange (10 ms)\n[395/3090] HttpCacheDataRemoverTest.FilterDeleteByDomainAndDate (10 ms)\n[396/3090] HttpCacheDataRemoverTest.FilterKeepByDomainAndDate (10 ms)\n[397/3090] HttpCacheDataRemoverTest.DeleteHttpRemover (10 ms)\n[398/3090] HttpCacheDataRemoverTest.TestDelayedBackend (10 ms)\n[399/3090] IgnoreErrorsCertVerifierTest.TestNoMatchCertOk (3 ms)\n[400/3090] IgnoreErrorsCertVerifierTest.TestNoMatchCertError (3 ms)\n[401/3090] NetworkContextTest.PrivacyModeDisabledIfCookiesAllowed (15 ms)\n[402/3090] NetworkContextTest.PrivacyModeDisabledIfCookiesSettingForOtherURL (5 ms)\n[403/3090] NetworkContextTest.PrivacyModeEnabledIfThirdPartyCookiesBlocked (6 ms)\n[404/3090] NetworkContextTest.CanSetCookieFalseIfCookiesBlocked (6 ms)\n[405/3090] NetworkContextTest.CanSetCookieTrueIfCookiesAllowed (6 ms)\n[406/3090] NetworkContextTest.CanGetCookiesFalseIfCookiesBlocked (10 ms)\n[407/3090] NetworkContextTest.CanGetCookiesTrueIfCookiesAllowed (5 ms)\n[408/3090] NetworkContextTest.PreconnectOne (8 ms)\n[409/3090] NetworkContextTest.PreconnectHSTS (186 ms)\n[410/3090] NetworkContextTest.PreconnectZero (22 ms)\n[411/3090] NetworkContextTest.PreconnectTwo (25 ms)\n[412/3090] NetworkContextTest.PreconnectFour (48 ms)\n[413/3090] NetworkContextTest.PreconnectMax (22 ms)\n[414/3090] NetworkContextTest.CloseConnections (62 ms)\n[415/3090] NetworkContextTest.ExpectCT (7 ms)\n[416/3090] NetworkContextTest.SetExpectCTTestReport (11 ms)\n[417/3090] NetworkContextTest.QueryHSTS (7 ms)\n[418/3090] NetworkContextTest.GetHSTSState (13 ms)\n[419/3090] NetworkContextTest.ForceReloadProxyConfig (66 ms)\n[420/3090] NetworkContextTest.ClearBadProxiesCache (12 ms)\n[421/3090] NetworkQualityEstimatorManagerTest.NewClientReceivesCurrentEffectiveType (24 ms)\n[422/3090] NetworkServiceProxyDelegateTest.NullConfigDoesNotCrash (32 ms)\n[423/3090] NetworkServiceProxyDelegateTest.AddsHeadersBeforeCache (14 ms)\n[424/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersBeforeCacheWithEmptyConfig (31 ms)\n[425/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersBeforeCacheForHttps (27 ms)\n[426/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersBeforeCacheForWebSocket (9 ms)\n[427/3090] NetworkServiceProxyDelegateTest.AddsHeadersAfterCache (10 ms)\n[428/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersAfterCacheForProxyNotInConfig (20 ms)\n[429/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersAfterCacheForDirect (7 ms)\n[430/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersAfterCacheForHttps (8 ms)\n[431/3090] NetworkContextTest.ProxyErrorClientNotifiedOfProxyConnection (37 ms)\n[432/3090] NetworkContextTest.ProxyErrorClientNotNotifiedOfUnreachableError (24 ms)\n[433/3090] NetworkContextTest.ProxyErrorClientNotifiedOfPacError (24 ms)\n[434/3090] NetworkContextTest.EnsureProperProxyServerIsUsed (57 ms)\n[435/3090] NetworkContextTest.HeaderClientModifiesHeaders (76 ms)\n[436/3090] NetworkContextTest.HeaderClientFailsRequest (50 ms)\n[437/3090] NetworkContextTest.HangingHeaderClientModifiesHeadersAsynchronously (35 ms)\n[438/3090] NetworkContextTest.HangingHeaderClientAbortDuringOnBeforeSendHeaders (36 ms)\n[439/3090] NetworkContextTest.HangingHeaderClientAbortDuringOnHeadersReceived (29 ms)\n[440/3090] NetworkContextTest.HangingHeaderClientSuspendDuringOnBeforeSendHeadersThenCallback (24 ms)\n[441/3090] NetworkServiceProxyDelegateTest.DoesNotAddHeadersIfProxyIsBypassed (12 ms)\n[442/3090] NetworkServiceProxyDelegateTest.RemovesPreCacheHeadersWhenProxyNotInConfig (29 ms)\n[443/3090] NetworkServiceProxyDelegateTest.DoesNotRemoveHeaderForHttpsIfAlreadyExists (24 ms)\n[444/3090] NetworkServiceProxyDelegateTest.KeepsPreCacheHeadersWhenProxyInConfig (23 ms)\n[445/3090] NetworkServiceProxyDelegateTest.KeepsHeadersWhenConfigUpdated (8 ms)\n[446/3090] NetworkServiceProxyDelegateTest.RemovesPreCacheHeadersWhenConfigUpdatedToBeEmpty (26 ms)\n[447/3090] NetworkServiceProxyDelegateTest.AddsHeadersToTunnelRequest (6 ms)\n[448/3090] NetworkServiceProxyDelegateTest.OnResolveProxySuccessHttpProxy (6 ms)\n[449/3090] NetworkServiceProxyDelegateTest.OnResolveProxySuccessHttpsProxy (6 ms)\n[450/3090] NetworkServiceProxyDelegateTest.OnResolveProxySuccessHttpsProxyNoQuic (22 ms)\n[451/3090] NetworkServiceProxyDelegateTest.OnResolveProxySuccessHttpsUrl (28 ms)\n[452/3090] NetworkServiceProxyDelegateTest.OnResolveProxySuccessWebSocketUrl (22 ms)\n[453/3090] NetworkServiceProxyDelegateTest.OnResolveProxyNoRuleForHttpsUrl (14 ms)\n[454/3090] NetworkServiceProxyDelegateTest.OnResolveProxyLocalhost (6 ms)\n[455/3090] NetworkServiceProxyDelegateTest.OnResolveProxyEmptyConfig (7 ms)\n[456/3090] NetworkServiceProxyDelegateTest.OnResolveProxyNonIdempotentMethod (29 ms)\n[457/3090] NetworkServiceProxyDelegateTest.OnResolveProxyNonIdempotentMethodAllowed (7 ms)\n[458/3090] NetworkServiceProxyDelegateTest.OnResolveProxyBypassForWebSocketScheme (6 ms)\n[459/3090] NetworkServiceProxyDelegateTest.OnResolveProxyDoesNotOverrideExisting (7 ms)\n[460/3090] NetworkServiceProxyDelegateTest.OnResolveProxyOverridesExisting (31 ms)\n[461/3090] NetworkContextMockHostTest.CustomProxyHeadersAreMerged (41 ms)\n[462/3090] NetworkContextMockHostTest.CustomProxyConfigHeadersAddedBeforeCache (70 ms)\n[463/3090] NetworkContextMockHostTest.CustomProxyRequestHeadersAddedBeforeCache (104 ms)\n[464/3090] NetworkContextMockHostTest.CustomProxyDoesNotAddHeadersWhenNoProxyUsed (31 ms)\n[465/3090] NetworkContextMockHostTest.CustomProxyDoesNotAddHeadersWhenOtherProxyUsed (27 ms)\n[466/3090] NetworkContextMockHostTest.CustomProxyUsesSpecifiedProxyList (29 ms)\n[467/3090] NetworkQualitiesPrefDelegateTest.WritingReadingToPrefsEnabled (23 ms)\n[468/3090] NetworkQualityEstimatorManagerTest.ClientNotified (6 ms)\n[469/3090] NetworkQualityEstimatorManagerTest.ClientNotifiedUnknownNetworkQuality (6 ms)\n[470/3090] NetworkQualityEstimatorManagerTest.OneClientPipeBroken (11 ms)\n[471/3090] NetworkUsageAccumulatorTest.SameRouteDifferentProcesses (0 ms)\n[472/3090] NetworkUsageAccumulatorTest.ClearAfterTermination (0 ms)\n[473/3090] NetworkUsageAccumulatorTest.MultipleWavesMixedData (0 ms)\n[474/3090] P2PSocketTcpServerTest.Accept (10 ms)\n[475/3090] P2PSocketTcpServerTest.Accept2 (11 ms)\n[476/3090] P2PSocketTcpTest.SendStunNoAuth (21 ms)\n[477/3090] P2PSocketTcpTest.ReceiveStun (17 ms)\n[478/3090] P2PSocketTcpTest.SendDataNoAuth (23 ms)\n[479/3090] P2PSocketTcpTest.SendAfterStunRequest (9 ms)\n[480/3090] P2PSocketTcpTest.AsyncWrites (28 ms)\n[481/3090] P2PSocketTcpTest.PacketIdIsPropagated (22 ms)\n[482/3090] P2PSocketTcpTest.SendDataWithPacketOptions (26 ms)\n[483/3090] P2PSocketStunTcpTest.SendStunNoAuth (16 ms)\n[484/3090] P2PSocketStunTcpTest.ReceiveStun (15 ms)\n[485/3090] P2PSocketStunTcpTest.SendDataNoAuth (12 ms)\n[486/3090] P2PSocketStunTcpTest.AsyncWrites (6 ms)\n[487/3090] P2PSocketTcpWithPseudoTlsTest.Basic (9 ms)\n[488/3090] P2PSocketUdpTest.SendStunNoAuth (29 ms)\n[489/3090] P2PSocketUdpTest.SendDataNoAuth (32 ms)\n[490/3090] P2PSocketUdpTest.SendAfterStunRequest (9 ms)\n[491/3090] P2PSocketUdpTest.SendAfterStunResponse (14 ms)\n[492/3090] P2PSocketUdpTest.SendAfterStunResponseDifferentHost (19 ms)\n[493/3090] P2PSocketUdpTest.ThrottleAfterLimit (22 ms)\n[494/3090] P2PSocketUdpTest.ThrottleAfterLimitAfterReceive (25 ms)\n[495/3090] P2PSocketUdpTest.ThrottlingStopsAtExpectedTimes (10 ms)\n[496/3090] P2PSocketUdpTest.PortRangeImplicitPort (29 ms)\n[497/3090] P2PSocketUdpTest.PortRangeExplictValidPort (20 ms)\n[498/3090] P2PSocketUdpTest.PortRangeExplictInvalidPort (15 ms)\n[499/3090] PendingCallbackChainTest.SingleSyncResultOk (0 ms)\n[500/3090] PendingCallbackChainTest.SingleSyncResultError (0 ms)\n[501/3090] PendingCallbackChainTest.SingleAsyncResultOk (0 ms)\n[502/3090] PendingCallbackChainTest.SingleAsyncResultError (0 ms)\n[503/3090] PendingCallbackChainTest.MultipleSyncResultOk (0 ms)\n[504/3090] PendingCallbackChainTest.MultipleSyncResultError (0 ms)\n[505/3090] PendingCallbackChainTest.MultipleSyncSameError (0 ms)\n[506/3090] PendingCallbackChainTest.MultipleSyncResultDifferentError (0 ms)\n[507/3090] PendingCallbackChainTest.SyncAndAsyncResultOk (0 ms)\n[508/3090] PendingCallbackChainTest.MultipleAsyncResultOk (0 ms)\n[509/3090] PendingCallbackChainTest.MultipleAsyncResultError (0 ms)\n[510/3090] ProxyConfigServiceMojoTest.ObserveProxyChanges (8 ms)\n[511/3090] ResourceSchedulerParamsManagerTest.ReadValidConfigTest3 (1 ms)\n[512/3090] ResourceSchedulerParamsManagerTest.ThrottleDelayableDisabled (0 ms)\n[513/3090] ResourceSchedulerParamsManagerTest.MaxDelayableRequestsAndNonDelayableWeightSet (1 ms)\n[514/3090] ResourceSchedulerTest.OneIsolatedLowRequest (4 ms)\n[515/3090] ResourceSchedulerTest.OneLowLoadsUntilCriticalComplete (4 ms)\n[516/3090] ResourceSchedulerTest.MaxRequestsPerHostForSpdyWhenNotDelayable (4 ms)\n[517/3090] ResourceSchedulerTest.BackgroundRequestStartsImmediately (3 ms)\n[518/3090] ResourceSchedulerTest.CancelOtherRequestsWhileResuming (4 ms)\n[519/3090] ResourceSchedulerTest.LimitedNumberOfDelayableRequestsInFlight (5 ms)\n[520/3090] ResourceSchedulerTest.RaisePriorityAndStart (3 ms)\n[521/3090] ResourceSchedulerTest.RaisePriorityInQueue (9 ms)\n[522/3090] ResourceSchedulerTest.LowerPriority (5 ms)\n[523/3090] ResourceSchedulerTest.ReprioritizedRequestGoesToBackOfQueue (3 ms)\n[524/3090] ResourceSchedulerTest.HigherIntraPriorityGoesToFrontOfQueue (7 ms)\n[525/3090] ResourceSchedulerTest.NonHTTPSchedulesImmediately (3 ms)\n[526/3090] ResourceSchedulerTest.SpdyProxySchedulesImmediately (3 ms)\n[527/3090] ResourceSchedulerTest.NewSpdyHostInDelayableRequests (5 ms)\n[528/3090] ResourceSchedulerTest.NewDelayableSpdyHostInDelayableRequestsSlowConnection (5 ms)\n[529/3090] ResourceSchedulerTest.RequestStartedAfterClientDeleted (3 ms)\n[530/3090] ResourceSchedulerTest.RequestStartedAfterClientDeletedManyDelayable (4 ms)\n[531/3090] ResourceSchedulerTest.RequestLimitOverrideEnabled (5 ms)\n[532/3090] ResourceSchedulerTest.RequestLimitOverrideDisabled (2 ms)\n[533/3090] ResourceSchedulerTest.RequestLimitOverrideOutsideECTRange (5 ms)\n[534/3090] ResourceSchedulerTest.RequestLimitOverrideFixedForPageLoad (2 ms)\n[535/3090] ResourceSchedulerTest.RequestLimitReducedAcrossPageLoads (2 ms)\n[536/3090] ResourceSchedulerTest.ThrottleDelayableDisabled (3 ms)\n[537/3090] ResourceSchedulerTest.NonDelayableThrottlesDelayableOutsideECT (3 ms)\n[538/3090] ResourceSchedulerTest.NonDelayableThrottlesDelayableVaryNonDelayable (11 ms)\n[539/3090] ResourceSchedulerTest.NonDelayableThrottlesDelayableWeight1 (3 ms)\n[540/3090] ResourceSchedulerTest.NonDelayableThrottlesDelayableWeight3 (2 ms)\n[541/3090] NetworkServiceTest.AuthServerWhitelist (88 ms)\n[542/3090] NetworkServiceTest.AuthDelegateWhitelist (92 ms)\n[543/3090] NetworkServiceTest.DelegateByKdcPolicy (23 ms)\n[544/3090] NetworkServiceTest.AuthNegotiateCnameLookup (30 ms)\n[545/3090] NetworkServiceTest.AuthEnableNegotiatePort (30 ms)\n[546/3090] NetworkServiceTest.DnsClientEnableDisable (13 ms)\n[547/3090] NetworkServiceTest.DnsOverHttpsEnableDisable (13 ms)\n[548/3090] NetworkServiceTest.AuthNtlmV2Enabled (17 ms)\n[549/3090] NetworkServiceTestWithService.Basic (59 ms)\n[550/3090] NetworkServiceTestWithService.StartsNetLog (159 ms)\n[551/3090] ResourceSchedulerTest.NumDelayableAtStartOfNonDelayableUMA (7 ms)\n[552/3090] ResourceSchedulerTest.SchedulerEnabled (3 ms)\n[553/3090] ResourceSchedulerTest.SchedulerDisabled (3 ms)\n[554/3090] ResourceSchedulerTest.MultipleInstances_1 (3 ms)\n[555/3090] ResourceSchedulerTest.MultipleInstances_2 (4 ms)\n[556/3090] ResourceSchedulerTest.MaxRequestsPerHostForSpdyWhenDelayableSlowConnections (3 ms)\n[557/3090] ResourceSchedulerTest.MaxRequestsPerHostForSpdyWhenDelayableFastConnections (5 ms)\n[558/3090] ResourceSchedulerTest.MaxRequestsPerHostForNonSpdyWhenDelayableSlowConnections (3 ms)\n[559/3090] ResourceSchedulerTest.DelayableRequestLimitSpdyDelayableSlowConnections (3 ms)\n[560/3090] ResourceSchedulerTest.MaxQueuingDelaySet (6 ms)\n[561/3090] ResourceSchedulerTest.MaxQueuingDelayNotSet (8 ms)\n[562/3090] ResourceSchedulerTest.MaxQueuingDelayTimerFires (6 ms)\n[563/3090] ResourceSchedulerTest.MaxQueuingDelayTimerNotFired (4 ms)\n[564/3090] ResourceSchedulerTest.MaxQueuingDelayTimerRunsOnRequestSchedule (10 ms)\n[565/3090] ResourceSchedulerTest.NonDelayableRequestArrivesAfterDelayableStarts (4 ms)\n[566/3090] ResourceSchedulerTest.NonDelayableToNonDelayableMetrics (5 ms)\n[567/3090] RestrictedCookieManagerTest.GetAllForUrlBlankFilter (4 ms)\n[568/3090] RestrictedCookieManagerTest.GetAllForUrlEmptyFilter (3 ms)\n[569/3090] RestrictedCookieManagerTest.GetAllForUrlEqualsMatch (2 ms)\n[570/3090] RestrictedCookieManagerTest.GetAllForUrlStartsWithMatch (2 ms)\n[571/3090] NetworkServiceTestWithService.GetDnsConfigChangeManager (54 ms)\n[572/3090] NetworkServiceTestWithService.GetNetworkList (56 ms)\n[573/3090] NetworkServiceTestWithResolverMap.RawRequestAccessControlWithRedirect (89 ms)\n[574/3090] NetworkChangeTest.NetworkChangeManagerRequest (10 ms)\n[575/3090] NetworkServiceNetworkChangeTest.NetworkChangeManagerRequest (13 ms)\n[576/3090] NetworkServiceNetworkDelegateTest.ClearSiteDataNetworkServiceCient (238 ms)\n[577/3090] NetworkServiceNetworkDelegateTest.HandleClearSiteDataHeaders (234 ms)\n[578/3090] NetworkUsageAccumulatorTest.ChildRouteData (0 ms)\n[579/3090] NetworkUsageAccumulatorTest.TwoChildRouteData (0 ms)\n[580/3090] NetworkUsageAccumulatorTest.TwoSameChildRouteData (0 ms)\n[581/3090] ProxyConfigServiceMojoTest.LargePacUrlNotTruncated (1051 ms)\n[582/3090] ProxyResolvingSocketMojoTest.ConnectWithFakeTLSHandshake (16 ms)\n[583/3090] ProxyResolvingSocketMojoTest.SocketDestroyedBeforeConnectCompletes (20 ms)\n[584/3090] ProxyResolvingSocketMojoTest.SocketObserver (11 ms)\n[585/3090] ResourceSchedulerParamsManagerTest.VerifyAllDefaultParams (1 ms)\n[586/3090] ResourceSchedulerParamsManagerTest.DelayRequestsOnMultiplexedConnections (0 ms)\n[587/3090] ResourceSchedulerParamsManagerTest.MaxQueuingTime (0 ms)\n[588/3090] ResourceSchedulerParamsManagerTest.MultipleFieldTrialsEnabled (1 ms)\n[589/3090] ResourceSchedulerParamsManagerTest.ReadInvalidConfigTest (0 ms)\n[590/3090] ResourceSchedulerParamsManagerTest.ReadValidConfigTest2 (1 ms)\n[591/3090] NetworkContextTest.HangingHeaderClientSuspendDuringOnHeadersReceivedThenCallback (51 ms)\n[592/3090] NetworkContextTest.WebSocketHangingHeaderClientSuspendDuringOnOnBeforeSendHeaders (1434 ms)\n[593/3090] NetworkContextTest.WebSocketHangingHeaderClientSuspendDuringOnHeadersReceived (969 ms)\n[594/3090] NetworkContextTest.MaximumCount (41 ms)\n[595/3090] NetworkContextTest.AllowAllCookies (48 ms)\n[596/3090] NetworkContextTest.BlockThirdPartyCookies (37 ms)\n[597/3090] NetworkContextTest.BlockAllCookies (27 ms)\n[598/3090] NetworkContextMockHostTest.CustomProxyAddsHeaders (25 ms)\n[599/3090] NetworkContextMockHostTest.CanUseProxyOnHttpSelfRedirect (28 ms)\n[600/3090] NetworkContextMockHostTest.CanUseProxyOnHttpRedirectCycles (68 ms)\n[601/3090] RestrictedCookieManagerTest.GetAllForUrlFromWrongOrigin (4 ms)\n[602/3090] RestrictedCookieManagerTest.GetAllForUrlPolicy (3 ms)\n[603/3090] RestrictedCookieManagerTest.SetCanonicalCookie (4 ms)\n[604/3090] RestrictedCookieManagerTest.SetCanonicalCookieFromWrongOrigin (2 ms)\n[605/3090] RestrictedCookieManagerTest.SetCanonicalCookiePolicy (5 ms)\n[606/3090] RestrictedCookieManagerTest.ChangeDispatch (4 ms)\n[607/3090] RestrictedCookieManagerTest.AddChangeListenerFromWrongOrigin (6 ms)\n[608/3090] SessionCleanupCookieStoreTest.TestPersistence (81 ms)\n[609/3090] SessionCleanupCookieStoreTest.TestNetLogIncludeCookies (40 ms)\n[610/3090] SessionCleanupCookieStoreTest.TestNetLogDoNotIncludeCookies (63 ms)\n[611/3090] TCPSocketTest.ReadAndWrite (40 ms)\n[612/3090] TCPSocketTest.CannotConnectToWrongInterface (8 ms)\n[613/3090] TCPSocketTest.ServerReceivesMultipleAccept (88 ms)\n[614/3090] TCPSocketTest.AcceptedSocketCantUpgradeToTLS (24 ms)\n[615/3090] TCPSocketTest.SocketClosed (18 ms)\n[616/3090] TCPSocketTest.ReadPipeClosed (15 ms)\n[617/3090] TCPSocketTest.WritePipeClosed (14 ms)\n[618/3090] TCPSocketTest.ServerSocketClosedAcceptedSocketAlive (16 ms)\n[619/3090] TCPSocketWithMockSocketTest.SetNoDelayAndKeepAlive (8 ms)\n[620/3090] TCPSocketWithMockSocketTest.SetNoDelayFails (8 ms)\n[621/3090] TCPSocketWithMockSocketTest.SetBufferSizes/0 (12 ms)\n[622/3090] TCPSocketWithMockSocketTest.SetBufferSizes/1 (8 ms)\n[623/3090] TCPSocketWithMockSocketTest.SetBufferSizesFails/0 (6 ms)\n[624/3090] TCPSocketWithMockSocketTest.SetBufferSizesFails/1 (7 ms)\n[625/3090] TCPServerSocketTest.GetLocalAddressFailedInListen (3 ms)\n[626/3090] TestURLLoaderFactoryTest.Simple (8 ms)\n[627/3090] TestURLLoaderFactoryTest.AddResponseAdvanced (5 ms)\n[628/3090] TestURLLoaderFactoryTest.AddResponse404 (5 ms)\n[629/3090] TestURLLoaderFactoryTest.MultipleSameURL (5 ms)\n[630/3090] TestURLLoaderFactoryTest.MultipleSameURL2 (7 ms)\n[631/3090] TCPSocketWithMockSocketTest.SetOptionsAfterTLSUpgrade (16 ms)\n[632/3090] TCPSocketWithMockSocketTest.SocketDestroyedBeforeConnectCompletes (6 ms)\n[633/3090] TCPSocketWithMockSocketTest.ServerAcceptClientConnectionWithMockSocket/0 (32 ms)\n[634/3090] TCPSocketWithMockSocketTest.ServerAcceptClientConnectionWithMockSocket/1 (31 ms)\n[635/3090] TCPSocketWithMockSocketTest.ServerAcceptWithObserverReadError/0 (9 ms)\n[636/3090] TCPSocketWithMockSocketTest.ServerAcceptWithObserverReadError/1 (8 ms)\n[637/3090] TCPSocketWithMockSocketTest.ServerAcceptWithObserverWriteError/0 (8 ms)\n[638/3090] TCPSocketWithMockSocketTest.ServerAcceptWithObserverWriteError/1 (8 ms)\n[639/3090] TCPSocketWithMockSocketTest.ReadAndWriteMultiple/0 (13 ms)\n[640/3090] TCPSocketWithMockSocketTest.ReadAndWriteMultiple/1 (16 ms)\n[641/3090] TCPSocketWithMockSocketTest.PartialStreamSocketWrite/0 (12 ms)\n[642/3090] TCPSocketWithMockSocketTest.PartialStreamSocketWrite/1 (13 ms)\n[643/3090] TCPSocketWithMockSocketTest.ReadError/0 (7 ms)\n[644/3090] TCPSocketWithMockSocketTest.ReadError/1 (7 ms)\n[645/3090] TCPSocketWithMockSocketTest.WriteError/0 (7 ms)\n[646/3090] TCPSocketWithMockSocketTest.WriteError/1 (7 ms)\n[647/3090] TCPSocketWithMockSocketTest.InitialTCPConnectedSocketOptions/0 (140 ms)\n[648/3090] TCPSocketWithMockSocketTest.InitialTCPConnectedSocketOptions/1 (81 ms)\n[649/3090] TCPSocketWithMockSocketTest.InitialTCPConnectedSocketOptionsFails/0 (6 ms)\n[650/3090] TCPSocketWithMockSocketTest.InitialTCPConnectedSocketOptionsFails/1 (4 ms)\n[651/3090] TestURLLoaderFactoryTest.Redirects (11 ms)\n[652/3090] TestURLLoaderFactoryTest.IsPending (9 ms)\n[653/3090] TestURLLoaderFactoryTest.IsPendingLoadFlags (10 ms)\n[654/3090] TestURLLoaderFactoryTest.NumPending (8 ms)\n[655/3090] TestURLLoaderFactoryTest.NumPending2 (10 ms)\n[656/3090] TestURLLoaderFactoryTest.SimulateResponse (7 ms)\n[657/3090] TestURLLoaderFactoryTest.SimulateResponseMultipleRequests (10 ms)\n[658/3090] TestURLLoaderFactoryTest.SimulateResponseUrlMatch (7 ms)\n[659/3090] TestURLLoaderFactoryTest.SimulateResponseMostRecentMatch (10 ms)\n[660/3090] TestURLLoaderFactoryTest.SimulateResponseNoRawHeadersByDefault (5 ms)\n[ RUN ] NetworkServiceProxyDelegateTest.OnResolveProxyDeprioritizesBadProxies\n[ OK ] NetworkServiceProxyDelegateTest.OnResolveProxyDeprioritizesBadProxies (12 ms)\n[ RUN ] NetworkServiceProxyDelegateTest.OnResolveProxyAllProxiesBad\n[ OK ] NetworkServiceProxyDelegateTest.OnResolveProxyAllProxiesBad (7 ms)\n[ RUN ] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy\n[ OK ] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy (4 ms)\n[----------] 3 tests from NetworkServiceProxyDelegateTest (25 ms total)\n\n[----------] 7 tests from NetworkServiceTest\n[ RUN ] NetworkServiceTest.CreateAndDestroyContext\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071d8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4eaf400)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf400)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf400)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #18 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #19 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #32 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071d8 by thread T10:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4eae69b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae69b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #15 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #21 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 96 at 0x7b18000071a0 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 (services_unittests+0x1b5fb88)\n #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:10 (services_unittests+0x4eac37f)\n #2 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f43e93)\n #3 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f43e93)\n #4 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f43843)\n #5 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f44e64)\n #6 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f44d75)\n #7 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f44cc4)\n #8 NetworkServiceTest services/network/network_service_unittest.cc:86:18 (services_unittests+0x1d5e693)\n #9 NetworkServiceTest_CreateAndDestroyContext_Test services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e693)\n #10 testing::internal::TestFactoryImpl<network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (services_unittests+0x1d5e693)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decdaf)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2678 (services_unittests+0x2decdaf)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #19 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #20 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #21 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #22 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #23 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #24 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #25 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #26 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 8 at 0x7b3000000668 by main thread:\n #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (services_unittests+0x29dad7d)\n #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dad7d)\n #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dad7d)\n #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #13 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #18 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #20 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #21 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #22 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #23 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #24 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #25 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #32 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #33 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #34 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #35 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #36 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #37 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #38 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #39 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #40 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000668 by thread T10 (mutexes: write M220530352853091840):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (services_unittests+0x29dcaa9)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29dcaa9)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #14 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #23 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #29 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 184 at 0x7b3000000600 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 (services_unittests+0x1b5fb88)\n #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:643:22 (services_unittests+0x4eae1df)\n #2 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:92:7 (services_unittests+0x4eb66ac)\n #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (services_unittests+0x4eac3a7)\n #4 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f43e93)\n #5 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f43e93)\n #6 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f43843)\n #7 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f44e64)\n #8 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f44d75)\n #9 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f44cc4)\n #10 NetworkServiceTest services/network/network_service_unittest.cc:86:18 (services_unittests+0x1d5e693)\n #11 NetworkServiceTest_CreateAndDestroyContext_Test services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e693)\n #12 testing::internal::TestFactoryImpl<network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (services_unittests+0x1d5e693)\n #13 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decdaf)\n #14 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2678 (services_unittests+0x2decdaf)\n #15 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #16 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #17 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #18 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #19 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #20 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #21 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #22 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #23 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #24 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #25 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #28 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 8 at 0x7b140001c930 by main thread:\n #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (services_unittests+0x29dad97)\n #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dad97)\n #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dad97)\n #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dad97)\n #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #15 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #16 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #17 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #18 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #20 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #21 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #22 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #23 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #24 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #25 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #26 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #27 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #28 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #29 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #30 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #31 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #32 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #33 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #34 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #35 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #36 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #37 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #38 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #41 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b140001c930 by thread T10 (mutexes: write M220530352853091840):\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 72 at 0x7b140001c930 allocated by thread T10:\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 1 at 0x7b140001c957 by main thread:\n #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (services_unittests+0x29dadac)\n #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (services_unittests+0x29dadac)\n #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29dadac)\n #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29dadac)\n #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (services_unittests+0x29dadac)\n #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (services_unittests+0x29dadac)\n #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (services_unittests+0x29dadac)\n #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadac)\n #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadac)\n #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadac)\n #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #20 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #22 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #23 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #24 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #25 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #27 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #28 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #29 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #30 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #31 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #32 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #33 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #34 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #35 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #36 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #37 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #38 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #39 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #40 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #41 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #42 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #43 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #44 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #45 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #46 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #47 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b140001c950 by thread T10 (mutexes: write M220530352853091840):\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 72 at 0x7b140001c930 allocated by thread T10:\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c940 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c945 by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc90e)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc90e)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc90e)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc90e)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c948 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c94a by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc977)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc977)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc977)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc977)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c8f0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c8f4 by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc8f6)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc8f6)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc8f6)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc8f6)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c800 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash\n<truncated (837715 bytes)>\n2853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000650 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000650 by thread T10 (mutexes: write M220530352853091840):\n #0 __vallocate buildtools/third_party/libc++/trunk/include/vector:982:23 (services_unittests+0x1bee406)\n #1 std::__1::enable_if<(__is_forward_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>::value) && (is_constructible<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::iterator_traits<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>::reference>::value), void>::type std::__1::vector<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> > > >::assign<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) buildtools/third_party/libc++/trunk/include/vector:1458 (services_unittests+0x1bee406)\n #2 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29daf6e)\n #3 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29daf6e)\n #4 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #5 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #6 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #7 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #8 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #9 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #10 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #11 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #12 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #13 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #14 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #15 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #16 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #17 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #18 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #19 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #20 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #21 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #22 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #23 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #24 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #25 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #26 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #27 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #28 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #29 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #30 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #31 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #32 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #33 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #34 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #35 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000660 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000660 by thread T10 (mutexes: write M220530352853091840):\n #0 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table:2406:41 (services_unittests+0x1f7496c)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table (services_unittests+0x1f747ff)\n #2 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi_prepare(unsigned long, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>&) buildtools/third_party/libc++/trunk/include/__hash_table:1968:9 (services_unittests+0x29dcc99)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2041:27 (services_unittests+0x29dc9c6)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000670 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000670 by thread T10 (mutexes: write M220530352853091840):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (services_unittests+0x29dcb58)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29dcb58)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #14 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #23 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #29 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000678 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 4 at 0x7b3000000678 by thread T10 (mutexes: write M220530352853091840):\n #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (services_unittests+0x29daf88)\n #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29daf88)\n #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29daf88)\n #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #9 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #18 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #24 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #31 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #32 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #33 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #34 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000680 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000680 by thread T10 (mutexes: write M220530352853091840):\n #0 memcpy /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801 (services_unittests+0x1ae28f7)\n #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (services_unittests+0x29dafb5)\n #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #8 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #17 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #23 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000698 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b3000000698 by thread T10 (mutexes: write M220530352853091840):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (services_unittests+0x29dcf76)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29dcf76)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29dcf76)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006a0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b30000006a0 by thread T10 (mutexes: write M220530352853091840):\n #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (services_unittests+0x29dd124)\n #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (services_unittests+0x29dd124)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (services_unittests+0x29dd124)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006a8 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b30000006a8 by thread T10 (mutexes: write M220530352853091840):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (services_unittests+0x29dcf6a)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29dcf6a)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29dcf6a)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006b0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 1 at 0x7b30000006b0 by thread T10 (mutexes: write M220530352853091840):\n #0 SetDnsConfig net/base/network_change_notifier.cc:79:10 (services_unittests+0x4eae6c6)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6c6)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #15 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #21 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071b8 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6941)\n #2 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #3 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #4 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #5 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #6 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #10 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #11 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #15 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #16 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #17 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #18 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #19 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #20 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #21 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #22 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #23 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #24 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #25 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #26 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #27 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #28 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #29 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #30 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #31 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #32 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071b8 by thread T10:\n #0 operator-> base/memory/scoped_refptr.h:221:12 (services_unittests+0x4eae765)\n #1 NotifyObserversOfInitialDNSConfigReadImpl net/base/network_change_notifier.cc:798 (services_unittests+0x4eae765)\n #2 NotifyObserversOfInitialDNSConfigRead net/base/network_change_notifier.cc:744 (services_unittests+0x4eae765)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:766 (services_unittests+0x4eae765)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #8 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #17 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #23 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n[ OK ] NetworkServiceTest.CreateAndDestroyContext (1901 ms)\n[ RUN ] NetworkServiceTest.DestroyingServiceDestroysContext\n[ OK ] NetworkServiceTest.DestroyingServiceDestroysContext (31 ms)\n[ RUN ] NetworkServiceTest.CreateContextWithoutChannelID\n[ OK ] NetworkServiceTest.CreateContextWithoutChannelID (24 ms)\n[ RUN ] NetworkServiceTest.AuthDefaultParams\n[ OK ] NetworkServiceTest.AuthDefaultParams (16 ms)\n[ RUN ] NetworkServiceTest.AuthSchemesDigestAndNtlmOnly\n[ OK ] NetworkServiceTest.AuthSchemesDigestAndNtlmOnly (23 ms)\n[ RUN ] NetworkServiceTest.AuthSchemesNone\n[ OK ] NetworkServiceTest.AuthSchemesNone (12 ms)\n[ RUN ] NetworkServiceTest.AuthGssapiLibraryName\n[ OK ] NetworkServiceTest.AuthGssapiLibraryName (11 ms)\n[----------] 7 tests from NetworkServiceTest (2019 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 2 test suites ran. (2044 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 43 warnings\nThreadSanitizer: Matched 2 suppressions (pid=2212):\n2 race:net::(anonymous namespace)::g_network_change_notifier\n\n[661/3090] NetworkServiceProxyDelegateTest.OnResolveProxyDeprioritizesBadProxies (12 ms)\n[ RUN ] NetworkServiceProxyDelegateTest.OnResolveProxyAllProxiesBad\n[ OK ] NetworkServiceProxyDelegateTest.OnResolveProxyAllProxiesBad (7 ms)\n[ RUN ] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy\n[ OK ] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy (4 ms)\n[----------] 3 tests from NetworkServiceProxyDelegateTest (25 ms total)\n\n[----------] 7 tests from NetworkServiceTest\n[ RUN ] NetworkServiceTest.CreateAndDestroyContext\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071d8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4eaf400)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf400)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf400)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #18 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #19 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #32 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071d8 by thread T10:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4eae69b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae69b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #15 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #21 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 96 at 0x7b18000071a0 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 (services_unittests+0x1b5fb88)\n #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:10 (services_unittests+0x4eac37f)\n #2 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f43e93)\n #3 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f43e93)\n #4 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f43843)\n #5 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f44e64)\n #6 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f44d75)\n #7 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f44cc4)\n #8 NetworkServiceTest services/network/network_service_unittest.cc:86:18 (services_unittests+0x1d5e693)\n #9 NetworkServiceTest_CreateAndDestroyContext_Test services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e693)\n #10 testing::internal::TestFactoryImpl<network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (services_unittests+0x1d5e693)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decdaf)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2678 (services_unittests+0x2decdaf)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #19 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #20 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #21 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #22 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #23 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #24 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #25 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #26 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 8 at 0x7b3000000668 by main thread:\n #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (services_unittests+0x29dad7d)\n #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dad7d)\n #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dad7d)\n #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #13 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #18 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #20 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #21 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #22 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #23 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #24 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #25 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #32 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #33 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #34 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #35 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #36 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #37 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #38 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #39 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #40 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000668 by thread T10 (mutexes: write M220530352853091840):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (services_unittests+0x29dcaa9)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29dcaa9)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #14 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #23 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #29 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 184 at 0x7b3000000600 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 (services_unittests+0x1b5fb88)\n #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:643:22 (services_unittests+0x4eae1df)\n #2 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:92:7 (services_unittests+0x4eb66ac)\n #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (services_unittests+0x4eac3a7)\n #4 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f43e93)\n #5 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f43e93)\n #6 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f43843)\n #7 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f44e64)\n #8 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f44d75)\n #9 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f44cc4)\n #10 NetworkServiceTest services/network/network_service_unittest.cc:86:18 (services_unittests+0x1d5e693)\n #11 NetworkServiceTest_CreateAndDestroyContext_Test services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e693)\n #12 testing::internal::TestFactoryImpl<network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (services_unittests+0x1d5e693)\n #13 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decdaf)\n #14 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2678 (services_unittests+0x2decdaf)\n #15 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #16 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #17 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #18 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #19 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #20 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #21 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #22 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #23 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #24 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #25 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #28 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 8 at 0x7b140001c930 by main thread:\n #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (services_unittests+0x29dad97)\n #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dad97)\n #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dad97)\n #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dad97)\n #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #15 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #16 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #17 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #18 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #20 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #21 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #22 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #23 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #24 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #25 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #26 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #27 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #28 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #29 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #30 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #31 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #32 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #33 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #34 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #35 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #36 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #37 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #38 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #41 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b140001c930 by thread T10 (mutexes: write M220530352853091840):\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 72 at 0x7b140001c930 allocated by thread T10:\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 1 at 0x7b140001c957 by main thread:\n #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (services_unittests+0x29dadac)\n #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (services_unittests+0x29dadac)\n #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29dadac)\n #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29dadac)\n #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (services_unittests+0x29dadac)\n #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (services_unittests+0x29dadac)\n #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (services_unittests+0x29dadac)\n #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadac)\n #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadac)\n #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadac)\n #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #20 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #22 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #23 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #24 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #25 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #27 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #28 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #29 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #30 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #31 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #32 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #33 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #34 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #35 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #36 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #37 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #38 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #39 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #40 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #41 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #42 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #43 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #44 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #45 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #46 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #47 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b140001c950 by thread T10 (mutexes: write M220530352853091840):\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 72 at 0x7b140001c930 allocated by thread T10:\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c940 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c945 by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc90e)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc90e)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc90e)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc90e)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c948 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c94a by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc977)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc977)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc977)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc977)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c8f0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c8f4 by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc8f6)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc8f6)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc8f6)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc8f6)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c800 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::Dns\n<truncated (837541 bytes)>\n2853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000650 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000650 by thread T10 (mutexes: write M220530352853091840):\n #0 __vallocate buildtools/third_party/libc++/trunk/include/vector:982:23 (services_unittests+0x1bee406)\n #1 std::__1::enable_if<(__is_forward_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>::value) && (is_constructible<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::iterator_traits<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>::reference>::value), void>::type std::__1::vector<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> > > >::assign<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) buildtools/third_party/libc++/trunk/include/vector:1458 (services_unittests+0x1bee406)\n #2 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29daf6e)\n #3 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29daf6e)\n #4 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #5 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #6 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #7 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #8 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #9 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #10 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #11 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #12 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #13 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #14 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #15 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #16 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #17 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #18 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #19 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #20 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #21 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #22 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #23 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #24 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #25 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #26 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #27 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #28 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #29 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #30 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #31 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #32 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #33 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #34 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #35 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000660 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000660 by thread T10 (mutexes: write M220530352853091840):\n #0 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table:2406:41 (services_unittests+0x1f7496c)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table (services_unittests+0x1f747ff)\n #2 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi_prepare(unsigned long, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>&) buildtools/third_party/libc++/trunk/include/__hash_table:1968:9 (services_unittests+0x29dcc99)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2041:27 (services_unittests+0x29dc9c6)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000670 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000670 by thread T10 (mutexes: write M220530352853091840):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (services_unittests+0x29dcb58)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29dcb58)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #14 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #23 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #29 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000678 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 4 at 0x7b3000000678 by thread T10 (mutexes: write M220530352853091840):\n #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (services_unittests+0x29daf88)\n #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29daf88)\n #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29daf88)\n #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #9 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #18 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #24 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #31 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #32 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #33 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #34 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000680 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000680 by thread T10 (mutexes: write M220530352853091840):\n #0 memcpy /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801 (services_unittests+0x1ae28f7)\n #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (services_unittests+0x29dafb5)\n #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #8 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #17 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #23 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000698 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b3000000698 by thread T10 (mutexes: write M220530352853091840):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (services_unittests+0x29dcf76)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29dcf76)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29dcf76)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006a0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b30000006a0 by thread T10 (mutexes: write M220530352853091840):\n #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (services_unittests+0x29dd124)\n #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (services_unittests+0x29dd124)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (services_unittests+0x29dd124)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006a8 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b30000006a8 by thread T10 (mutexes: write M220530352853091840):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (services_unittests+0x29dcf6a)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29dcf6a)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29dcf6a)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006b0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 1 at 0x7b30000006b0 by thread T10 (mutexes: write M220530352853091840):\n #0 SetDnsConfig net/base/network_change_notifier.cc:79:10 (services_unittests+0x4eae6c6)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6c6)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #15 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #21 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071b8 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6941)\n #2 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #3 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #4 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #5 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #6 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #10 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #11 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #15 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #16 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #17 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #18 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #19 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #20 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #21 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #22 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #23 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #24 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #25 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #26 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #27 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #28 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #29 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #30 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #31 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #32 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071b8 by thread T10:\n #0 operator-> base/memory/scoped_refptr.h:221:12 (services_unittests+0x4eae765)\n #1 NotifyObserversOfInitialDNSConfigReadImpl net/base/network_change_notifier.cc:798 (services_unittests+0x4eae765)\n #2 NotifyObserversOfInitialDNSConfigRead net/base/network_change_notifier.cc:744 (services_unittests+0x4eae765)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:766 (services_unittests+0x4eae765)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #8 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #17 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #23 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n[ OK ] NetworkServiceTest.CreateAndDestroyContext (1901 ms)\n[ RUN ] NetworkServiceTest.DestroyingServiceDestroysContext\n[ OK ] NetworkServiceTest.DestroyingServiceDestroysContext (31 ms)\n[ RUN ] NetworkServiceTest.CreateContextWithoutChannelID\n[ OK ] NetworkServiceTest.CreateContextWithoutChannelID (24 ms)\n[ RUN ] NetworkServiceTest.AuthDefaultParams\n[ OK ] NetworkServiceTest.AuthDefaultParams (16 ms)\n[ RUN ] NetworkServiceTest.AuthSchemesDigestAndNtlmOnly\n[ OK ] NetworkServiceTest.AuthSchemesDigestAndNtlmOnly (23 ms)\n[ RUN ] NetworkServiceTest.AuthSchemesNone\n[ OK ] NetworkServiceTest.AuthSchemesNone (12 ms)\n[ RUN ] NetworkServiceTest.AuthGssapiLibraryName\n[ OK ] NetworkServiceTest.AuthGssapiLibraryName (11 ms)\n[----------] 7 tests from NetworkServiceTest (2019 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 2 test suites ran. (2044 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 43 warnings\nThreadSanitizer: Matched 2 suppressions (pid=2212):\n2 race:net::(anonymous namespace)::g_network_change_notifier\n\n[662/3090] NetworkServiceProxyDelegateTest.OnResolveProxyAllProxiesBad (7 ms)\n[ RUN ] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy\n[ OK ] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy (4 ms)\n[----------] 3 tests from NetworkServiceProxyDelegateTest (25 ms total)\n\n[----------] 7 tests from NetworkServiceTest\n[ RUN ] NetworkServiceTest.CreateAndDestroyContext\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071d8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4eaf400)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf400)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf400)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #18 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #19 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #32 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071d8 by thread T10:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4eae69b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae69b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #15 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #21 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 96 at 0x7b18000071a0 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 (services_unittests+0x1b5fb88)\n #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:10 (services_unittests+0x4eac37f)\n #2 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f43e93)\n #3 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f43e93)\n #4 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f43843)\n #5 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f44e64)\n #6 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f44d75)\n #7 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f44cc4)\n #8 NetworkServiceTest services/network/network_service_unittest.cc:86:18 (services_unittests+0x1d5e693)\n #9 NetworkServiceTest_CreateAndDestroyContext_Test services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e693)\n #10 testing::internal::TestFactoryImpl<network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (services_unittests+0x1d5e693)\n #11 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decdaf)\n #12 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2678 (services_unittests+0x2decdaf)\n #13 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #14 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #15 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #16 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #17 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #18 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #19 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #20 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #21 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #22 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #23 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #24 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #25 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #26 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 8 at 0x7b3000000668 by main thread:\n #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (services_unittests+0x29dad7d)\n #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dad7d)\n #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dad7d)\n #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #13 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #18 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #20 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #21 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #22 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #23 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #24 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #25 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #32 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #33 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #34 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #35 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #36 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #37 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #38 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #39 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #40 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000668 by thread T10 (mutexes: write M220530352853091840):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (services_unittests+0x29dcaa9)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29dcaa9)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #14 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #23 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #29 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 184 at 0x7b3000000600 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 (services_unittests+0x1b5fb88)\n #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:643:22 (services_unittests+0x4eae1df)\n #2 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:92:7 (services_unittests+0x4eb66ac)\n #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (services_unittests+0x4eac3a7)\n #4 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f43e93)\n #5 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f43e93)\n #6 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f43843)\n #7 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f44e64)\n #8 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f44d75)\n #9 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f44cc4)\n #10 NetworkServiceTest services/network/network_service_unittest.cc:86:18 (services_unittests+0x1d5e693)\n #11 NetworkServiceTest_CreateAndDestroyContext_Test services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e693)\n #12 testing::internal::TestFactoryImpl<network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460 (services_unittests+0x1d5e693)\n #13 HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decdaf)\n #14 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2678 (services_unittests+0x2decdaf)\n #15 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #16 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #17 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #18 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #19 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #20 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #21 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #22 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #23 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #24 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #25 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #26 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #27 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #28 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 8 at 0x7b140001c930 by main thread:\n #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (services_unittests+0x29dad97)\n #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dad97)\n #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dad97)\n #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dad97)\n #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #15 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #16 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #17 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #18 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #20 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #21 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #22 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #23 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #24 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #25 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #26 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #27 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #28 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #29 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #30 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #31 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #32 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #33 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #34 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #35 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #36 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #37 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #38 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #41 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b140001c930 by thread T10 (mutexes: write M220530352853091840):\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 72 at 0x7b140001c930 allocated by thread T10:\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Read of size 1 at 0x7b140001c957 by main thread:\n #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (services_unittests+0x29dadac)\n #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (services_unittests+0x29dadac)\n #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29dadac)\n #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29dadac)\n #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (services_unittests+0x29dadac)\n #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (services_unittests+0x29dadac)\n #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (services_unittests+0x29dadac)\n #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadac)\n #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadac)\n #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadac)\n #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #20 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #22 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #23 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #24 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #25 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #27 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #28 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #29 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #30 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #31 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #32 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #33 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #34 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #35 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #36 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #37 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #38 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #39 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #40 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #41 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #42 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #43 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #44 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #45 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #46 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #47 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b140001c950 by thread T10 (mutexes: write M220530352853091840):\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Location is heap block of size 72 at 0x7b140001c930 allocated by thread T10:\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 (services_unittests+0x1b5fb88)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29dc611)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29dc611)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29dc611)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29dc611)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29dc611)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc611)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc611)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #17 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #26 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #32 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c940 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c945 by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc90e)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc90e)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc90e)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc90e)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c948 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c94a by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc977)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc977)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc977)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc977)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c8f0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4eaf416)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4eaf416)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf416)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf416)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf416)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #31 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #32 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #45 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 1 at 0x7b140001c8f4 by thread T10 (mutexes: write M220530352853091840):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29dc8f6)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29dc8f6)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29dc8f6)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29dc8f6)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b140001c800 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29dadce)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29dadce)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29dadce)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29dadce)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29dadce)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29dadce)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29dadce)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29dadce)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29dadce)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29dadce)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_un\n<truncated (837388 bytes)>\n2853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000650 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000650 by thread T10 (mutexes: write M220530352853091840):\n #0 __vallocate buildtools/third_party/libc++/trunk/include/vector:982:23 (services_unittests+0x1bee406)\n #1 std::__1::enable_if<(__is_forward_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>::value) && (is_constructible<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::iterator_traits<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>::reference>::value), void>::type std::__1::vector<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> > > >::assign<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) buildtools/third_party/libc++/trunk/include/vector:1458 (services_unittests+0x1bee406)\n #2 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29daf6e)\n #3 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29daf6e)\n #4 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #5 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #6 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #7 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #8 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #9 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #10 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #11 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #12 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #13 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #14 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #15 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #16 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #17 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #18 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #19 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #20 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #21 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #22 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #23 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #24 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #25 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #26 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #27 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #28 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #29 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #30 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #31 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #32 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #33 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #34 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #35 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000660 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000660 by thread T10 (mutexes: write M220530352853091840):\n #0 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table:2406:41 (services_unittests+0x1f7496c)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::rehash(unsigned long) buildtools/third_party/libc++/trunk/include/__hash_table (services_unittests+0x1f747ff)\n #2 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi_prepare(unsigned long, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>&) buildtools/third_party/libc++/trunk/include/__hash_table:1968:9 (services_unittests+0x29dcc99)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2041:27 (services_unittests+0x29dc9c6)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #16 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #25 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #31 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000670 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000670 by thread T10 (mutexes: write M220530352853091840):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (services_unittests+0x29dcb58)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29dcb58)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29dc5ee)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29dc5ee)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29dc5ee)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29dafa3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29dafa3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafa3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #14 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #23 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #29 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000678 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 4 at 0x7b3000000678 by thread T10 (mutexes: write M220530352853091840):\n #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (services_unittests+0x29daf88)\n #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29daf88)\n #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29daf88)\n #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #9 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #18 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #24 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #31 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #32 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #33 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #34 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000680 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b3000000680 by thread T10 (mutexes: write M220530352853091840):\n #0 memcpy /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801 (services_unittests+0x1ae28f7)\n #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (services_unittests+0x29dafb5)\n #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #8 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #17 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #23 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b3000000698 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b3000000698 by thread T10 (mutexes: write M220530352853091840):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (services_unittests+0x29dcf76)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29dcf76)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29dcf76)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006a0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 8 at 0x7b30000006a0 by thread T10 (mutexes: write M220530352853091840):\n #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (services_unittests+0x29dd124)\n #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (services_unittests+0x29dd124)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (services_unittests+0x29dd124)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006a8 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b30000006a8 by thread T10 (mutexes: write M220530352853091840):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (services_unittests+0x29dcf6a)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29dcf6a)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29dcf6a)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29dafde)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29dafde)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4eae6b3)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6b3)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #11 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #20 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #26 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b30000006b0 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4eaf426)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4eaf426)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf426)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf426)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #20 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #21 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #34 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous write of size 1 at 0x7b30000006b0 by thread T10 (mutexes: write M220530352853091840):\n #0 SetDnsConfig net/base/network_change_notifier.cc:79:10 (services_unittests+0x4eae6c6)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae6c6)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #15 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #21 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Mutex M220530352853091840 is already destroyed.\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071b8 by main thread:\n #0 operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 (services_unittests+0x1b5f299)\n #1 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6941)\n #2 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #3 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #4 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #5 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #6 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #10 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #11 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #15 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #16 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #17 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #18 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #19 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #20 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #21 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #22 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #23 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #24 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #25 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #26 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #27 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #28 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #29 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #30 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #31 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #32 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071b8 by thread T10:\n #0 operator-> base/memory/scoped_refptr.h:221:12 (services_unittests+0x4eae765)\n #1 NotifyObserversOfInitialDNSConfigReadImpl net/base/network_change_notifier.cc:798 (services_unittests+0x4eae765)\n #2 NotifyObserversOfInitialDNSConfigRead net/base/network_change_notifier.cc:744 (services_unittests+0x4eae765)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:766 (services_unittests+0x4eae765)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #8 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x2a121da)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x2a121da)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x2a121da)\n #17 Run base/callback.h:97:12 (services_unittests+0x4498598)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x4498598)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x4498687)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x4498687)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x4498687)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x4498687)\n #23 Run base/callback.h:97:12 (services_unittests+0x4458c2a)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x4458c2a)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x447b1d1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x447ae17)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x447ae17)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44eed9f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5def988)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x447a5d7)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x4488010)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\n Thread T10 'ThreadPoolForeg' (tid=2508, running) created by thread T9 at:\n #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (services_unittests+0x1ae1b29)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44ef2f7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44ef1f5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x448764d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x448616b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x448616b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x448616b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::Flush(base::internal::SchedulerLock*) base/task/thread_pool/scheduler_worker_pool_impl.cc:123:5 (services_unittests+0x4483dee)\n #8 base::internal::SchedulerWorkerPoolImpl::SchedulerWorkerDelegateImpl::GetWork(base::internal::SchedulerWorker*) base/task/thread_pool/scheduler_worker_pool_impl.cc:611:12 (services_unittests+0x4483af9)\n #9 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:328:51 (services_unittests+0x4487fde)\n #10 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x4487c41)\n #11 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x4487aaf)\n #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44ef804)\n\nSUMMARY: ThreadSanitizer: data race /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126 in operator delete(void*)\n==================\n[ OK ] NetworkServiceTest.CreateAndDestroyContext (1901 ms)\n[ RUN ] NetworkServiceTest.DestroyingServiceDestroysContext\n[ OK ] NetworkServiceTest.DestroyingServiceDestroysContext (31 ms)\n[ RUN ] NetworkServiceTest.CreateContextWithoutChannelID\n[ OK ] NetworkServiceTest.CreateContextWithoutChannelID (24 ms)\n[ RUN ] NetworkServiceTest.AuthDefaultParams\n[ OK ] NetworkServiceTest.AuthDefaultParams (16 ms)\n[ RUN ] NetworkServiceTest.AuthSchemesDigestAndNtlmOnly\n[ OK ] NetworkServiceTest.AuthSchemesDigestAndNtlmOnly (23 ms)\n[ RUN ] NetworkServiceTest.AuthSchemesNone\n[ OK ] NetworkServiceTest.AuthSchemesNone (12 ms)\n[ RUN ] NetworkServiceTest.AuthGssapiLibraryName\n[ OK ] NetworkServiceTest.AuthGssapiLibraryName (11 ms)\n[----------] 7 tests from NetworkServiceTest (2019 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 2 test suites ran. (2044 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 43 warnings\nThreadSanitizer: Matched 2 suppressions (pid=2212):\n2 race:net::(anonymous namespace)::g_network_change_notifier\n\n[663/3090] NetworkServiceProxyDelegateTest.InitialConfigUsedForProxy (4 ms)\n[ RUN ] NetworkServiceTest.CreateAndDestroyContext\n==================\nWARNING: ThreadSanitizer: data race (pid=2212)\n Write of size 8 at 0x7b18000071d8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4eaf400)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4eaf400)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4eaf400)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6904)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4eb6939)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f09218)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f09218)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f09218)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5f09218)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5f09279)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f44681)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f44681)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f44681)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f44681)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f44a99)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1d5e71b)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1d5e71b)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1d5e71b)\n #18 ~NetworkServiceTest services/network/network_service_unittest.cc:87 (services_unittests+0x1d5e71b)\n #19 network::(anonymous namespace)::NetworkServiceTest_CreateAndDestroyContext_Test::~NetworkServiceTest_CreateAndDestroyContext_Test() services/network/network_service_unittest.cc:100 (services_unittests+0x1d5e71b)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2decfee)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2decfee)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dedb36)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2dfffb6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dff419)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2dff419)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5df42e2)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5df42e2)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1ff7708)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1ff7708)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1ff7708)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1ff7708)\n #32 Run base/callback.h:97:12 (services_unittests+0x5dfd8ab)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5dfd8ab)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5dfd710)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1ff733f)\n\n Previous read of size 8 at 0x7b18000071d8 by thread T10:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4eae69b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4eae69b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4eb6aa4)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4eb6aa4)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4eb6aa4)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4eb6aa4)\n #6 Run base/callback.h:136:12 (services_unittests+0x29e03c3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29e03c3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29e03c3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x2a1425c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x2a11f2b)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x2a121da)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker