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

Test 'UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain' completed with the following status(es): 'CRASH','SUCCESS' Test 'UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain' had the following logs when run: ================================================================================ [ RUN ] UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain ================================================================= ==32431==ERROR: AddressSanitizer: stack-use-after-return on address 0x7f814cbab020 at pc 0x558b2ba8964f bp 0x7ffc8e7ab9d0 sp 0x7ffc8e7ab9c8 READ of size 8 at 0x7f814cbab020 thread T0 #0 0x558b2ba8964e in policy::BrowserPolicyConnectorBase::GetPolicyService() ./../../components/policy/core/browser/browser_policy_connector_base.cc:84:25 #1 0x558b2ba86003 in policy::BrowserPolicyConnector::InitInternal(PrefService*, std::__1::unique_ptr<policy::DeviceManagementService, std::__1::default_delete<policy::DeviceManagementService> >) ./../../components/policy/core/browser/browser_policy_connector.cc:119:7 #2 0x558b3705e7f7 in policy::ChromeBrowserPolicyConnector::Init(PrefService*, scoped_refptr<network::SharedURLLoaderFactory>) ./../../chrome/browser/policy/chrome_browser_policy_connector.cc:106:3 #3 0x558b235e0b05 in policy::(anonymous namespace)::UserPolicySigninServiceTest::SetUp() ./../../chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc:147:52 #4 0x558b28ad5f7b in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #5 0x558b28ad5f7b in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2494:0 #6 0x558b28ad8629 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #7 0x558b28ad9b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #8 0x558b28b025f6 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #9 0x558b28b01701 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x558b28b01701 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #11 0x558b33a6f476 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #12 0x558b33a6f476 in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #13 0x558b33d91bee in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x558b33a788ac in Run ./../../base/callback.h:97:12 #15 0x558b33a788ac in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #16 0x558b33a7834d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x558b33a43322 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #18 0x7f8154489f44 in __libc_start_main ??:0:0 Address 0x7f814cbab020 is located in stack of thread T0 at offset 32 in frame #0 0x558b39107eaf in PrefRegistry::RegisterPreference(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::Value, unsigned int) ./../../components/prefs/pref_registry.cc:60:0 This frame has 9 object(s): [32, 328) 'ref.tmp2.i107' <== Memory access at offset 32 is inside this variable [400, 696) 'ref.tmp2.i82' [768, 776) 'ref.tmp2.i' [800, 801) 'ref.tmp5.i' [816, 820) 'orig_type' (line 61) [832, 1128) 'ref.tmp3' (line 62) [1200, 1496) 'ref.tmp22' (line 65) [1568, 1864) 'ref.tmp44' (line 67) [1936, 1968) 'agg.tmp' HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-use-after-return (/b/s/w/ir/out/Release/unit_tests+0x1b21b64e) Shadow bytes around the buggy address: 0x0ff0a996d5b0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d5c0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d5d0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d5e0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d5f0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 =>0x0ff0a996d600: f5 f5 f5 f5[f5]f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d610: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d620: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d630: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d640: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff0a996d650: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==32431==ABORTING [ RUN ] UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain [ OK ] UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain (66 ms) ================================================================================