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

Test 'GalleryWatchManagerTest.DropWatchOnGalleryRemoved' completed with the following status(es): 'CRASH','SUCCESS' Test 'GalleryWatchManagerTest.DropWatchOnGalleryRemoved' had the following logs when run: ================================================================================ [ RUN ] GalleryWatchManagerTest.DropWatchOnGalleryRemoved ================================================================= ==26694==ERROR: AddressSanitizer: heap-use-after-free on address 0x6110004cdf70 at pc 0x55b8edd16854 bp 0x7ffe86cf72d0 sp 0x7ffe86cf72c8 READ of size 8 at 0x6110004cdf70 thread T0 #0 0x55b8edd16853 in operator-> ./../../base/memory/scoped_refptr.h:220:5 #1 0x55b8edd16853 in network::NetworkConnectionTracker::AddLeakyNetworkConnectionObserver(network::NetworkConnectionTracker::NetworkConnectionObserver*) ./../../services/network/public/cpp/network_connection_tracker.cc:126:0 #2 0x55b8e779ac6f in chromeos::UserSessionManager::SetNetworkConnectionTracker(network::NetworkConnectionTracker*) ./../../chrome/browser/chromeos/login/session/user_session_manager.cc:545:32 #3 0x55b8e77b4bba in Invoke<void (chromeos::UserSessionManager::*)(network::NetworkConnectionTracker *), base::WeakPtr<chromeos::UserSessionManager>, network::NetworkConnectionTracker *> ./../../base/bind_internal.h:499:12 #4 0x55b8e77b4bba in MakeItSo<void (chromeos::UserSessionManager::*)(network::NetworkConnectionTracker *), base::WeakPtr<chromeos::UserSessionManager>, network::NetworkConnectionTracker *> ./../../base/bind_internal.h:619:0 #5 0x55b8e77b4bba in RunImpl<void (chromeos::UserSessionManager::*)(network::NetworkConnectionTracker *), std::__1::tuple<base::WeakPtr<chromeos::UserSessionManager> >, 0> ./../../base/bind_internal.h:672:0 #6 0x55b8e77b4bba in base::internal::Invoker<base::internal::BindState<void (chromeos::UserSessionManager::*)(network::NetworkConnectionTracker*), base::WeakPtr<chromeos::UserSessionManager> >, void (network::NetworkConnectionTracker*)>::RunOnce(base::internal::BindStateBase*, network::NetworkConnectionTracker*) ./../../base/bind_internal.h:641:0 #7 0x55b8e32c93e3 in Run ./../../base/callback.h:97:12 #8 0x55b8e32c93e3 in void base::internal::ReplyAdapter<network::NetworkConnectionTracker*, network::NetworkConnectionTracker*>(base::OnceCallback<void (network::NetworkConnectionTracker*)>, std::__1::unique_ptr<network::NetworkConnectionTracker*, std::__1::default_delete<network::NetworkConnectionTracker*> >*) ./../../base/post_task_and_reply_with_result_internal.h:30:0 #9 0x55b8e32c9754 in Invoke<void (*)(base::OnceCallback<void (network::NetworkConnectionTracker *)>, std::__1::unique_ptr<network::NetworkConnectionTracker *, std::__1::default_delete<network::NetworkConnectionTracker *> > *), base::OnceCallback<void (network::NetworkConnectionTracker *)>, std::__1::unique_ptr<network::NetworkConnectionTracker *, std::__1::default_delete<network::NetworkConnectionTracker *> > *> ./../../base/bind_internal.h:399:12 #10 0x55b8e32c9754 in MakeItSo<void (*)(base::OnceCallback<void (network::NetworkConnectionTracker *)>, std::__1::unique_ptr<network::NetworkConnectionTracker *, std::__1::default_delete<network::NetworkConnectionTracker *> > *), base::OnceCallback<void (network::NetworkConnectionTracker *)>, std::__1::unique_ptr<network::NetworkConnectionTracker *, std::__1::default_delete<network::NetworkConnectionTracker *> > *> ./../../base/bind_internal.h:599:0 #11 0x55b8e32c9754 in RunImpl<void (*)(base::OnceCallback<void (network::NetworkConnectionTracker *)>, std::__1::unique_ptr<network::NetworkConnectionTracker *, std::__1::default_delete<network::NetworkConnectionTracker *> > *), std::__1::tuple<base::OnceCallback<void (network::NetworkConnectionTracker *)>, base::internal::OwnedWrapper<std::__1::unique_ptr<network::NetworkConnectionTracker *, std::__1::default_delete<network::NetworkConnectionTracker *> > > >, 0, 1> ./../../base/bind_internal.h:672:0 #12 0x55b8e32c9754 in base::internal::Invoker<base::internal::BindState<void (*)(base::OnceCallback<void (network::NetworkConnectionTracker*)>, std::__1::unique_ptr<network::NetworkConnectionTracker*, std::__1::default_delete<network::NetworkConnectionTracker*> >*), base::OnceCallback<void (network::NetworkConnectionTracker*)>, base::internal::OwnedWrapper<std::__1::unique_ptr<network::NetworkConnectionTracker*, std::__1::default_delete<network::NetworkConnectionTracker*> > > >, void ()>::RunOnce(base::internal::BindStateBase*) ./../../base/bind_internal.h:641:0 #13 0x55b8ef3cf6b7 in Run ./../../base/callback.h:97:12 #14 0x55b8ef3cf6b7 in base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) ./../../base/threading/post_task_and_reply_impl.cc:114:0 #15 0x55b8ef3cf8d7 in Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> ./../../base/bind_internal.h:399:12 #16 0x55b8ef3cf8d7 in MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> ./../../base/bind_internal.h:599:0 #17 0x55b8ef3cf8d7 in RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> ./../../base/bind_internal.h:672:0 #18 0x55b8ef3cf8d7 in base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) ./../../base/bind_internal.h:641:0 #19 0x55b8ef2f6495 in Run ./../../base/callback.h:97:12 #20 0x55b8ef2f6495 in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ./../../base/task/common/task_annotator.cc:119:0 #21 0x55b8ef3510ce in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 #22 0x55b8ef35063c in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 #23 0x55b8ef4df20d in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_libevent.cc:208:55 #24 0x55b8ef352b6d in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 #25 0x55b8ef2958df in base::RunLoop::Run() ./../../base/run_loop.cc:157:14 #26 0x55b8ef2973c2 in base::RunLoop::RunUntilIdle() ./../../base/run_loop.cc:170:3 #27 0x55b8ecbfd043 in base::test::ScopedTaskEnvironment::RunUntilIdle() ./../../base/test/scoped_task_environment.cc:523:15 #28 0x55b8ecf2277f in content::TestBrowserThreadBundle::~TestBrowserThreadBundle() ./../../content/public/test/test_browser_thread_bundle.cc:41:3 #29 0x55b8d91ed5c0 in component_updater::GalleryWatchManagerTest::~GalleryWatchManagerTest() ./../../chrome/browser/media_galleries/gallery_watch_manager_unittest.cc:70:40 #30 0x55b8d91eefc4 in ~GalleryWatchManagerTest_DropWatchOnGalleryRemoved_Test ./../../chrome/browser/media_galleries/gallery_watch_manager_unittest.cc:321:1 #31 0x55b8d91eefc4 in non-virtual thunk to component_updater::GalleryWatchManagerTest_DropWatchOnGalleryRemoved_Test::~GalleryWatchManagerTest_DropWatchOnGalleryRemoved_Test() ./../../chrome/browser/media_galleries/gallery_watch_manager_unittest.cc:0:0 #32 0x55b8df865e83 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #33 0x55b8df865e83 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2681:0 #34 0x55b8df867256 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #35 0x55b8df88f716 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #36 0x55b8df88e824 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #37 0x55b8df88e824 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #38 0x55b8ecc0cb39 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #39 0x55b8ecc0cb39 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #40 0x55b8ecf40208 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #41 0x55b8ecc15bec in Run ./../../base/callback.h:97:12 #42 0x55b8ecc15bec in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #43 0x55b8ecc156b0 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #44 0x55b8ecbe0181 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #45 0x7fc86ac8ff44 in __libc_start_main ??:0:0 0x6110004cdf70 is located 112 bytes inside of 232-byte region [0x6110004cdf00,0x6110004cdfe8) freed by thread T0 here: #0 0x55b8d7262d1d in operator delete(void*) _asan_rtl_:3 #1 0x55b8ecbbb0bd in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2338:5 #2 0x55b8ecbbb0bd in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2651:0 #3 0x55b8ecbbb0bd in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2605:0 #4 0x55b8ecbbb0bd in TestingBrowserProcess::~TestingBrowserProcess() ./../../chrome/test/base/testing_browser_process.cc:126:0 #5 0x55b8ecbbba3d in TestingBrowserProcess::~TestingBrowserProcess() ./../../chrome/test/base/testing_browser_process.cc:113:49 #6 0x55b8d91eee0f in component_updater::GalleryWatchManagerTest::TearDown() ./../../chrome/browser/media_galleries/gallery_watch_manager_unittest.cc:116:5 #7 0x55b8df865d79 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #8 0x55b8df867256 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #9 0x55b8df88f716 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #10 0x55b8df88e824 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55b8df88e824 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #12 0x55b8ecc0cb39 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #13 0x55b8ecc0cb39 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #14 0x55b8ecf40208 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #15 0x55b8ecc15bec in Run ./../../base/callback.h:97:12 #16 0x55b8ecc15bec in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #17 0x55b8ecc156b0 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #18 0x55b8ecbe0181 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #19 0x7fc86ac8ff44 in __libc_start_main ??:0:0 previously allocated by thread T0 here: #0 0x55b8d72624bd in operator new(unsigned long) _asan_rtl_:3 #1 0x55b8dd282f73 in network::TestNetworkConnectionTracker::CreateInstance() ./../../services/network/test/test_network_connection_tracker.cc:44:27 #2 0x55b8ecbba74e in TestingBrowserProcess::TestingBrowserProcess() ./../../chrome/test/base/testing_browser_process.cc:95:11 #3 0x55b8ecbba451 in TestingBrowserProcess::CreateInstance() ./../../chrome/test/base/testing_browser_process.cc:74:27 #4 0x55b8df870707 in testing::internal::TestEventRepeater::OnTestStart(testing::TestInfo const&) ./../../third_party/googletest/src/googletest/src/gtest.cc:3427:1 #5 0x55b8df86598e in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2658:13 #6 0x55b8df867256 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #7 0x55b8df88f716 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #8 0x55b8df88e824 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x55b8df88e824 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #10 0x55b8ecc0cb39 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #11 0x55b8ecc0cb39 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #12 0x55b8ecf40208 in content::UnitTestTestSuite::Run() ./../../content/public/test/unittest_test_suite.cc:82:23 #13 0x55b8ecc15bec in Run ./../../base/callback.h:97:12 #14 0x55b8ecc15bec in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #15 0x55b8ecc156b0 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #16 0x55b8ecbe0181 in main ./../../chrome/test/base/run_all_unittests.cc:30:10 #17 0x7fc86ac8ff44 in __libc_start_main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/unit_tests+0x2b3de853) Shadow bytes around the buggy address: 0x0c2280091b90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2280091ba0: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa 0x0c2280091bb0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c2280091bc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c2280091bd0: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa =>0x0c2280091be0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd[fd]fd 0x0c2280091bf0: fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa 0x0c2280091c00: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c2280091c10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2280091c20: 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c2280091c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 ==26694==ABORTING [ RUN ] GalleryWatchManagerTest.DropWatchOnGalleryRemoved [ OK ] GalleryWatchManagerTest.DropWatchOnGalleryRemoved (129 ms) ================================================================================