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

Test 'SyncedPrintersManagerTest.UpdatedPrinterConfiguration' completed with the following status(es): 'CRASH','SUCCESS' Test 'SyncedPrintersManagerTest.UpdatedPrinterConfiguration' had the following logs when run: ================================================================================ [ RUN ] SyncedPrintersManagerTest.UpdatedPrinterConfiguration ================================================================= ==28909==ERROR: AddressSanitizer: heap-use-after-free on address 0x61c000009890 at pc 0x559d1ae924f0 bp 0x7ffd270f6490 sp 0x7ffd270f6488 READ of size 8 at 0x61c000009890 thread T0 #0 0x559d1ae924ef in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ./../../base/task/thread_pool/scheduler_sequenced_task_runner.cc:32:43 #1 0x559d1ae98f24 in PostTask ./../../base/task_runner.cc:44:10 #2 0x559d1ae98f24 in base::(anonymous namespace)::PostTaskAndReplyTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:38:0 #3 0x559d1aeab101 in base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) ./../../base/threading/post_task_and_reply_impl.cc:138:34 #4 0x559d1ae98ba2 in base::TaskRunner::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) ./../../base/task_runner.cc:50:43 #5 0x559d1347ac88 in bool base::PostTaskAndReplyWithResult<std::__1::unique_ptr<chromeos::(anonymous namespace)::TaskDataInternal, std::__1::default_delete<chromeos::(anonymous namespace)::TaskDataInternal> >, std::__1::unique_ptr<chromeos::(anonymous namespace)::TaskDataInternal, std::__1::default_delete<chromeos::(anonymous namespace)::TaskDataInternal> > >(base::TaskRunner*, base::Location const&, base::OnceCallback<std::__1::unique_ptr<chromeos::(anonymous namespace)::TaskDataInternal, std::__1::default_delete<chromeos::(anonymous namespace)::TaskDataInternal> > ()>, base::OnceCallback<void (std::__1::unique_ptr<chromeos::(anonymous namespace)::TaskDataInternal, std::__1::default_delete<chromeos::(anonymous namespace)::TaskDataInternal> >)>) ./../../base/task_runner_util.h:43:23 #6 0x559d13477df5 in chromeos::(anonymous namespace)::BulkPrintersCalculatorImpl::SetAccessMode(chromeos::BulkPrintersCalculator::AccessMode) ./../../chrome/browser/chromeos/printing/bulk_printers_calculator.cc:282:5 #7 0x559d13488a4d in chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl::UpdateDeviceAccessMode() ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:101:23 #8 0x559d13488479 in chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl::BindSettings(char const*, void (chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl::*)()) ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:145:5 #9 0x559d134878de in CalculatorsPoliciesBinderImpl ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:64:7 #10 0x559d134878de in make_unique<chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl, chromeos::CrosSettings *&, Profile *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:0 #11 0x559d134878de in chromeos::CalculatorsPoliciesBinder::Create(chromeos::CrosSettings*, Profile*) ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:192:0 #12 0x559d134ac749 in EnterprisePrintersProviderImpl ./../../chrome/browser/chromeos/printing/enterprise_printers_provider.cc:52:26 #13 0x559d134ac749 in make_unique<chromeos::(anonymous namespace)::EnterprisePrintersProviderImpl, chromeos::CrosSettings *&, Profile *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:0 #14 0x559d134ac749 in chromeos::EnterprisePrintersProvider::Create(chromeos::CrosSettings*, Profile*) ./../../chrome/browser/chromeos/printing/enterprise_printers_provider.cc:252:0 #15 0x559d134dfb5f in SyncedPrintersManagerImpl ./../../chrome/browser/chromeos/printing/synced_printers_manager.cc:50:9 #16 0x559d134dfb5f in make_unique<chromeos::(anonymous namespace)::SyncedPrintersManagerImpl, Profile *&, std::__1::unique_ptr<chromeos::PrintersSyncBridge, std::__1::default_delete<chromeos::PrintersSyncBridge> > > ./../../buildtools/third_party/libc++/trunk/include/memory:3131:0 #17 0x559d134dfb5f in chromeos::SyncedPrintersManager::Create(Profile*, std::__1::unique_ptr<chromeos::PrintersSyncBridge, std::__1::default_delete<chromeos::PrintersSyncBridge> >) ./../../chrome/browser/chromeos/printing/synced_printers_manager.cc:226:0 #18 0x559d0a733469 in chromeos::(anonymous namespace)::SyncedPrintersManagerTest::SyncedPrintersManagerTest() ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:94:18 #19 0x559d0a7404ca in SyncedPrintersManagerTest_UpdatedPrinterConfiguration_Test ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:283:1 #20 0x559d0a7404ca in testing::internal::TestFactoryImpl<chromeos::(anonymous namespace)::SyncedPrintersManagerTest_UpdatedPrinterConfiguration_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #21 0x559d0b172510 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #22 0x559d0b172510 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2678:0 #23 0x559d0b173c56 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #24 0x559d0b19d256 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #25 0x559d0b19bd34 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #26 0x559d0b19bd34 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #27 0x559d1862e099 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #28 0x559d1862e099 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #29 0x559d189663d8 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #30 0x559d1863929c in Run ./../../base/callback.h:97:12 #31 0x559d1863929c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #32 0x559d18638d60 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #33 0x559d186014d1 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #34 0x7f9d68877f44 in __libc_start_main ??:0:0 0x61c000009890 is located 16 bytes inside of 1704-byte region [0x61c000009880,0x61c000009f28) freed by thread T0 here: #0 0x559d029a1f6d in operator delete(void*) _asan_rtl_:3 #1 0x559d1ae62e8d in base::ThreadPool::SetInstance(std::__1::unique_ptr<base::ThreadPool, std::__1::default_delete<base::ThreadPool> >) ./../../base/task/thread_pool/thread_pool.cc:79:3 #2 0x559d1861d55d in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x559d0a73e46a in ~SyncedPrintersManagerTest ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:91:7 #4 0x559d0a73e46a in chromeos::(anonymous namespace)::SyncedPrintersManagerTest_PrinterInstalledSavesPrinter_Test::~SyncedPrintersManagerTest_PrinterInstalledSavesPrinter_Test() ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:244:0 #5 0x559d0b172883 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #6 0x559d0b172883 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2694:0 #7 0x559d0b173c56 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #8 0x559d0b19d256 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #9 0x559d0b19bd34 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x559d0b19bd34 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #11 0x559d1862e099 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #12 0x559d1862e099 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #13 0x559d189663d8 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x559d1863929c in Run ./../../base/callback.h:97:12 #15 0x559d1863929c 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 0x559d18638d60 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x559d186014d1 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #18 0x7f9d68877f44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x559d029a170d in operator new(unsigned long) _asan_rtl_:3 #1 0x559d1861c0b4 in make_unique<base::internal::ThreadPoolImpl, char const (&)[22], std::__1::unique_ptr<base::test::ScopedTaskEnvironment::TestTaskTracker, std::__1::default_delete<base::test::ScopedTaskEnvironment::TestTaskTracker> > > ./../../buildtools/third_party/libc++/trunk/include/memory:3131:28 #2 0x559d1861c0b4 in base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) ./../../base/test/scoped_task_environment.cc:374:0 #3 0x559d029c6951 in content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() ./../../content/public/test/test_browser_thread_bundle.h:131:13 #4 0x559d0a733306 in chromeos::(anonymous namespace)::SyncedPrintersManagerTest::SyncedPrintersManagerTest() ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:93:3 #5 0x559d0a73e3aa in SyncedPrintersManagerTest_PrinterInstalledSavesPrinter_Test ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:244:1 #6 0x559d0a73e3aa in testing::internal::TestFactoryImpl<chromeos::(anonymous namespace)::SyncedPrintersManagerTest_PrinterInstalledSavesPrinter_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #7 0x559d0b172510 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x559d0b172510 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2678:0 #9 0x559d0b173c56 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #10 0x559d0b19d256 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #11 0x559d0b19bd34 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x559d0b19bd34 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #13 0x559d1862e099 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #14 0x559d1862e099 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x559d189663d8 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x559d1863929c in Run ./../../base/callback.h:97:12 #17 0x559d1863929c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #18 0x559d18638d60 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x559d186014d1 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #20 0x7f9d68877f44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/unit_tests+0x2cd814ef) Shadow bytes around the buggy address: 0x0c387fff92c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff92d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff92e0: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa 0x0c387fff92f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c387fff9300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c387fff9310: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9320: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9330: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9340: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9350: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c387fff9360: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 ==28909==ABORTING [ RUN ] SyncedPrintersManagerTest.UpdatedPrinterConfiguration [ OK ] SyncedPrintersManagerTest.UpdatedPrinterConfiguration (101 ms) ================================================================================