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

Test 'NavigationPredictorPreconnectPrefetchDisabledTest.ActionTaken_SameOrigin_Prefetch_BelowThreshold' completed with the following status(es): 'CRASH','SUCCESS' Test 'NavigationPredictorPreconnectPrefetchDisabledTest.ActionTaken_SameOrigin_Prefetch_BelowThreshold' had the following logs when run: ================================================================================ [ RUN ] NavigationPredictorPreconnectPrefetchDisabledTest.ActionTaken_SameOrigin_Prefetch_BelowThreshold ================================================================= ==2751==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c000055927 at pc 0x557a1c263236 bp 0x7fffaee259b0 sp 0x7fffaee259a8 READ of size 1 at 0x60c000055927 thread T0 #0 0x557a1c263235 in __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 #1 0x557a1c263235 in __get_pointer buildtools/third_party/libc++/trunk/include/string:1520:0 #2 0x557a1c263235 in data buildtools/third_party/libc++/trunk/include/string:1248:0 #3 0x557a1c263235 in append buildtools/third_party/libc++/trunk/include/string:2547:0 #4 0x557a1c263235 in base::FeatureList::GetFeatureOverridesImpl(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> >*, bool) base/feature_list.cc:414:0 #5 0x557a1a31b0c3 in base::test::ScopedFeatureList::InitWithFeaturesAndFieldTrials(std::__1::vector<base::Feature, std::__1::allocator<base::Feature> > const&, std::__1::vector<base::FieldTrial*, std::__1::allocator<base::FieldTrial*> > const&, std::__1::vector<base::Feature, std::__1::allocator<base::Feature> > const&) base/test/scoped_feature_list.cc:172:33 #6 0x557a1a31e9ec in base::test::ScopedFeatureList::InitWithFeaturesAndParameters(std::__1::vector<base::test::ScopedFeatureList::FeatureAndParams, std::__1::allocator<base::test::ScopedFeatureList::FeatureAndParams> > const&, std::__1::vector<base::Feature, std::__1::allocator<base::Feature> > const&) base/test/scoped_feature_list.cc:244:3 #7 0x557a1a31dd7c in base::test::ScopedFeatureList::InitAndEnableFeatureWithParameters(base::Feature const&, std::__1::map<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::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&) base/test/scoped_feature_list.cc:205:3 #8 0x557a0c536737 in (anonymous namespace)::NavigationPredictorTest::SetupFieldTrial(base::Optional<int>, base::Optional<int>) chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:124:25 #9 0x557a0c536e1e in NavigationPredictorPreconnectPrefetchDisabledTest::NavigationPredictorPreconnectPrefetchDisabledTest() chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:581:5 #10 0x557a0c536c1a in NavigationPredictorPreconnectPrefetchDisabledTest_ActionTaken_SameOrigin_Prefetch_BelowThreshold_Test chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:594:1 #11 0x557a0c536c1a in testing::internal::TestFactoryImpl<NavigationPredictorPreconnectPrefetchDisabledTest_ActionTaken_SameOrigin_Prefetch_BelowThreshold_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461:0 #12 0x557a11cd805d in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x557a11cd805d in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665:0 #14 0x557a11cd97e6 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #15 0x557a11d022b6 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #16 0x557a11d013a1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x557a11d013a1 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #18 0x557a1a32e616 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #19 0x557a1a32e616 in base::TestSuite::Run() base/test/test_suite.cc:314:0 #20 0x557a1a62a93e in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #21 0x557a1a3355fd in Run base/callback.h:97:12 #22 0x557a1a3355fd in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #23 0x557a1a3351b9 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #24 0x557a1a30b999 in main chrome/test/base/run_all_unittests.cc:30:10 #25 0x7f62ec2aef44 in __libc_start_main ??:0:0 0x60c000055927 is located 39 bytes inside of 120-byte region [0x60c000055900,0x60c000055978) freed by thread T0 here: #0 0x557a0b93c528 in operator delete(void*) _asan_rtl_:0 #1 0x557a1a31a424 in DeleteInternal<base::FieldTrial> base/memory/ref_counted.h:352:5 #2 0x557a1a31a424 in Destruct base/memory/ref_counted.h:318:0 #3 0x557a1a31a424 in Release base/memory/ref_counted.h:341:0 #4 0x557a1a31a424 in Release base/memory/scoped_refptr.h:297:0 #5 0x557a1a31a424 in ~scoped_refptr base/memory/scoped_refptr.h:209:0 #6 0x557a1a31a424 in destroy buildtools/third_party/libc++/trunk/include/memory:1880:0 #7 0x557a1a31a424 in __destroy<scoped_refptr<base::FieldTrial> > buildtools/third_party/libc++/trunk/include/memory:1742:0 #8 0x557a1a31a424 in destroy<scoped_refptr<base::FieldTrial> > buildtools/third_party/libc++/trunk/include/memory:1595:0 #9 0x557a1a31a424 in __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:426:0 #10 0x557a1a31a424 in clear buildtools/third_party/libc++/trunk/include/vector:369:0 #11 0x557a1a31a424 in ~__vector_base buildtools/third_party/libc++/trunk/include/vector:463:0 #12 0x557a1a31a424 in ~vector buildtools/third_party/libc++/trunk/include/vector:555:0 #13 0x557a1a31a424 in base::test::ScopedFeatureList::~ScopedFeatureList() base/test/scoped_feature_list.cc:106:0 #14 0x557a0c532ba2 in ~NavigationPredictorTest chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:69:47 #15 0x557a0c532ba2 in NavigationPredictorPrefetchDisabledTest_ActionTaken_PreconnectHighScoreIsCrossOrigin_Test::~NavigationPredictorPrefetchDisabledTest_ActionTaken_PreconnectHighScoreIsCrossOrigin_Test() chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:540:0 #16 0x557a11cd83d3 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x557a11cd83d3 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681:0 #18 0x557a11cd97e6 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #19 0x557a11d022b6 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #20 0x557a11d013a1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #21 0x557a11d013a1 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #22 0x557a1a32e616 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #23 0x557a1a32e616 in base::TestSuite::Run() base/test/test_suite.cc:314:0 #24 0x557a1a62a93e in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #25 0x557a1a3355fd in Run base/callback.h:97:12 #26 0x557a1a3355fd in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #27 0x557a1a3351b9 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #28 0x557a1a30b999 in main chrome/test/base/run_all_unittests.cc:30:10 #29 0x7f62ec2aef44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x557a0b93bb08 in operator new(unsigned long) _asan_rtl_:0 #1 0x557a1c2c85fa in base::FieldTrialList::CreateFieldTrial(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) base/metrics/field_trial.cc:968:17 #2 0x557a1a31e385 in base::test::ScopedFeatureList::InitWithFeaturesAndParameters(std::__1::vector<base::test::ScopedFeatureList::FeatureAndParams, std::__1::allocator<base::test::ScopedFeatureList::FeatureAndParams> > const&, std::__1::vector<base::Feature, std::__1::allocator<base::Feature> > const&) base/test/scoped_feature_list.cc:235:9 #3 0x557a1a31dd7c in base::test::ScopedFeatureList::InitAndEnableFeatureWithParameters(base::Feature const&, std::__1::map<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::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&) base/test/scoped_feature_list.cc:205:3 #4 0x557a0c536737 in (anonymous namespace)::NavigationPredictorTest::SetupFieldTrial(base::Optional<int>, base::Optional<int>) chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:124:25 #5 0x557a0c535b70 in NavigationPredictorPrefetchDisabledTest::NavigationPredictorPrefetchDisabledTest() chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:485:5 #6 0x557a0c536bba in NavigationPredictorPrefetchDisabledTest_ActionTaken_PreconnectHighScoreIsCrossOrigin_Test chrome/browser/navigation_predictor/navigation_predictor_unittest.cc:540:1 #7 0x557a0c536bba in testing::internal::TestFactoryImpl<NavigationPredictorPrefetchDisabledTest_ActionTaken_PreconnectHighScoreIsCrossOrigin_Test>::CreateTest() third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:461:0 #8 0x557a11cd805d in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x557a11cd805d in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2665:0 #10 0x557a11cd97e6 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x557a11d022b6 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x557a11d013a1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x557a11d013a1 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x557a1a32e616 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #15 0x557a1a32e616 in base::TestSuite::Run() base/test/test_suite.cc:314:0 #16 0x557a1a62a93e in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x557a1a3355fd in Run base/callback.h:97:12 #18 0x557a1a3355fd in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #19 0x557a1a3351b9 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x557a1a30b999 in main chrome/test/base/run_all_unittests.cc:30:10 #21 0x7f62ec2aef44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/unit_tests+0x1b7ac235) Shadow bytes around the buggy address: 0x0c1880002ad0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c1880002ae0: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa 0x0c1880002af0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1880002b00: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c1880002b10: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa =>0x0c1880002b20: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fa 0x0c1880002b30: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c1880002b40: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa 0x0c1880002b50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa 0x0c1880002b60: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c1880002b70: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa 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 ==2751==ABORTING [ RUN ] NavigationPredictorPreconnectPrefetchDisabledTest.ActionTaken_SameOrigin_Prefetch_BelowThreshold [ OK ] NavigationPredictorPreconnectPrefetchDisabledTest.ActionTaken_SameOrigin_Prefetch_BelowThreshold (55 ms) ================================================================================