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 ================================================================= ==23038==ERROR: AddressSanitizer: stack-use-after-return on address 0x7fa753bf5820 at pc 0x561ef738e40f bp 0x7fff3e948db0 sp 0x7fff3e948da8 READ of size 8 at 0x7fa753bf5820 thread T0 #0 0x561ef738e40e in policy::BrowserPolicyConnectorBase::GetPolicyService() ./../../components/policy/core/browser/browser_policy_connector_base.cc:84:25 #1 0x561ef738adc3 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 0x561f02963687 in policy::ChromeBrowserPolicyConnector::Init(PrefService*, scoped_refptr<network::SharedURLLoaderFactory>) ./../../chrome/browser/policy/chrome_browser_policy_connector.cc:106:3 #3 0x561eeeee7b05 in policy::(anonymous namespace)::UserPolicySigninServiceTest::SetUp() ./../../chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc:147:52 #4 0x561ef43dcf9b in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #5 0x561ef43dcf9b in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2494:0 #6 0x561ef43df649 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #7 0x561ef43e0b66 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #8 0x561ef4409616 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #9 0x561ef4408721 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x561ef4408721 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #11 0x561eff3741c6 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #12 0x561eff3741c6 in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #13 0x561eff69693e in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x561eff37d5fc in Run ./../../base/callback.h:97:12 #15 0x561eff37d5fc 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 0x561eff37d09d in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x561eff348072 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #18 0x7fa75b4a0f44 in __libc_start_main ??:0:0 Address 0x7fa753bf5820 is located in stack of thread T0 at offset 32 in frame #0 0x561f04a0965f 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+0x1b21640e) Shadow bytes around the buggy address: 0x0ff56a776ab0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776ac0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776ad0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776ae0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776af0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 =>0x0ff56a776b00: f5 f5 f5 f5[f5]f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776b10: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776b20: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776b30: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776b40: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x0ff56a776b50: 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 ==23038==ABORTING [ RUN ] UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain [ OK ] UserPolicySigninServiceTest.RegisterPolicyClientNonHostedDomain (75 ms) ================================================================================