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

Test 'SyncedPrintersManagerTest.UpdatePrinterAssignsId' completed with the following status(es): 'CRASH','SUCCESS' Test 'SyncedPrintersManagerTest.UpdatePrinterAssignsId' had the following logs when run: ================================================================================ [ RUN ] SyncedPrintersManagerTest.UpdatePrinterAssignsId ================================================================= ==13039==ERROR: AddressSanitizer: heap-use-after-free on address 0x61b000003190 at pc 0x5623f4c57319 bp 0x7fff23877370 sp 0x7fff23877368 READ of size 8 at 0x61b000003190 thread T0 #0 0x5623f4c57318 in base::internal::SchedulerSequencedTaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) ./../../base/task/task_scheduler/scheduler_sequenced_task_runner.cc:32:43 #1 0x5623f4c6b234 in PostTask ./../../base/task_runner.cc:44:10 #2 0x5623f4c6b234 in base::(anonymous namespace)::PostTaskAndReplyTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) ./../../base/task_runner.cc:38:0 #3 0x5623f4c7d3f1 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 0x5623f4c6aeb2 in base::TaskRunner::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) ./../../base/task_runner.cc:50:43 #5 0x5623ed4b5178 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 0x5623ed4b22e5 in chromeos::(anonymous namespace)::BulkPrintersCalculatorImpl::SetAccessMode(chromeos::BulkPrintersCalculator::AccessMode) ./../../chrome/browser/chromeos/printing/bulk_printers_calculator.cc:282:5 #7 0x5623ed4c2f3d in chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl::UpdateDeviceAccessMode() ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:101:23 #8 0x5623ed4c2969 in chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl::BindSettings(char const*, void (chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl::*)()) ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:145:5 #9 0x5623ed4c1dce in CalculatorsPoliciesBinderImpl ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:64:7 #10 0x5623ed4c1dce in make_unique<chromeos::(anonymous namespace)::CalculatorsPoliciesBinderImpl, chromeos::CrosSettings *&, Profile *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:0 #11 0x5623ed4c1dce in chromeos::CalculatorsPoliciesBinder::Create(chromeos::CrosSettings*, Profile*) ./../../chrome/browser/chromeos/printing/calculators_policies_binder.cc:192:0 #12 0x5623ed4e99e9 in EnterprisePrintersProviderImpl ./../../chrome/browser/chromeos/printing/enterprise_printers_provider.cc:52:26 #13 0x5623ed4e99e9 in make_unique<chromeos::(anonymous namespace)::EnterprisePrintersProviderImpl, chromeos::CrosSettings *&, Profile *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:0 #14 0x5623ed4e99e9 in chromeos::EnterprisePrintersProvider::Create(chromeos::CrosSettings*, Profile*) ./../../chrome/browser/chromeos/printing/enterprise_printers_provider.cc:252:0 #15 0x5623ed51a89f in SyncedPrintersManagerImpl ./../../chrome/browser/chromeos/printing/synced_printers_manager.cc:50:9 #16 0x5623ed51a89f 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 0x5623ed51a89f 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:227:0 #18 0x5623e46d7979 in chromeos::(anonymous namespace)::SyncedPrintersManagerTest::SyncedPrintersManagerTest() ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:96:18 #19 0x5623e46db23a in SyncedPrintersManagerTest_UpdatePrinterAssignsId_Test ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:147:1 #20 0x5623e46db23a in testing::internal::TestFactoryImpl<chromeos::(anonymous namespace)::SyncedPrintersManagerTest_UpdatePrinterAssignsId_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #21 0x5623e5114b10 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #22 0x5623e5114b10 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2665:0 #23 0x5623e5116256 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #24 0x5623e513e716 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #25 0x5623e513d824 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #26 0x5623e513d824 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #27 0x5623f24bbb39 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #28 0x5623f24bbb39 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #29 0x5623f27ef208 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #30 0x5623f24c4bec in Run ./../../base/callback.h:97:12 #31 0x5623f24c4bec 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 0x5623f24c46b0 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #33 0x5623f248f181 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #34 0x7efef296af44 in __libc_start_main ??:0:0 0x61b000003190 is located 16 bytes inside of 1624-byte region [0x61b000003180,0x61b0000037d8) freed by thread T0 here: #0 0x5623dcb11d1d in operator delete(void*) _asan_rtl_:3 #1 0x5623f4c2098d in base::TaskScheduler::SetInstance(std::__1::unique_ptr<base::TaskScheduler, std::__1::default_delete<base::TaskScheduler> >) ./../../base/task/task_scheduler/task_scheduler.cc:79:3 #2 0x5623f24ab03d in base::test::ScopedTaskEnvironment::~ScopedTaskEnvironment() ./../../base/test/scoped_task_environment.cc:432:3 #3 0x5623e46d7b5a in ~SyncedPrintersManagerTest ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:93:7 #4 0x5623e46d7b5a in chromeos::(anonymous namespace)::SyncedPrintersManagerTest_AddPrinter_Test::~SyncedPrintersManagerTest_AddPrinter_Test() ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:135:0 #5 0x5623e5114e83 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #6 0x5623e5114e83 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2681:0 #7 0x5623e5116256 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #8 0x5623e513e716 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #9 0x5623e513d824 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x5623e513d824 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #11 0x5623f24bbb39 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #12 0x5623f24bbb39 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #13 0x5623f27ef208 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #14 0x5623f24c4bec in Run ./../../base/callback.h:97:12 #15 0x5623f24c4bec 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 0x5623f24c46b0 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #17 0x5623f248f181 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #18 0x7efef296af44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x5623dcb114bd in operator new(unsigned long) _asan_rtl_:3 #1 0x5623f24a9bff in make_unique<base::internal::TaskSchedulerImpl, 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 0x5623f24a9bff 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 0x5623dcb36721 in content::TestBrowserThreadBundle::TestBrowserThreadBundle<void>() ./../../content/public/test/test_browser_thread_bundle.h:131:13 #4 0x5623e46d7816 in chromeos::(anonymous namespace)::SyncedPrintersManagerTest::SyncedPrintersManagerTest() ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:95:3 #5 0x5623e46d76ca in SyncedPrintersManagerTest_AddPrinter_Test ./../../chrome/browser/chromeos/printing/synced_printers_manager_unittest.cc:135:1 #6 0x5623e46d76ca in testing::internal::TestFactoryImpl<chromeos::(anonymous namespace)::SyncedPrintersManagerTest_AddPrinter_Test>::CreateTest() ./../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h:460:0 #7 0x5623e5114b10 in HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test *> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x5623e5114b10 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2665:0 #9 0x5623e5116256 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x5623e513e716 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x5623e513d824 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x5623e513d824 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x5623f24bbb39 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #14 0x5623f24bbb39 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #15 0x5623f27ef208 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #16 0x5623f24c4bec in Run ./../../base/callback.h:97:12 #17 0x5623f24c4bec 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 0x5623f24c46b0 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #19 0x5623f248f181 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #20 0x7efef296af44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/unit_tests+0x2ca70318) Shadow bytes around the buggy address: 0x0c367fff85e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff85f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8600: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8610: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa 0x0c367fff8620: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c367fff8630: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8640: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8650: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8660: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8670: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c367fff8680: 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 ==13039==ABORTING [ RUN ] SyncedPrintersManagerTest.UpdatePrinterAssignsId [ OK ] SyncedPrintersManagerTest.UpdatePrinterAssignsId (100 ms) ================================================================================