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

Test 'OverviewSessionTest.RemoveDisplayWithAnimation' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'OverviewSessionTest.RemoveDisplayWithAnimation' had the following logs when run: ================================================================================ [ RUN ] OverviewSessionTest.RemoveDisplayWithAnimation ================================================================= ==14858==ERROR: AddressSanitizer: container-overflow on address 0x602000069170 at pc 0x561a9edeaa30 bp 0x7ffc0c0a35f0 sp 0x7ffc0c0a35e8 READ of size 8 at 0x602000069170 thread T0 #0 0x561a9edeaa2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x561a9edeaa2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x561a9ec15cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x561a9ec17ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x561aa11c7d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x561aa11becaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x561aa11b52e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x561aa4e10d92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x561a9f374f0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x561a989b49ba in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1240:3 #10 0x561a9bead5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x561a9bead5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x561a9beaf669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x561a9beb0b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x561a9beda146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x561a9bed8c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x561a9bed8c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x561a9f781179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x561a9f781179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x561a9f788a5c in Run ./../../base/callback.h:97:12 #20 0x561a9f788a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x561a9f788520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x561a9874a8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f4daee59f44 in __libc_start_main ??:0:0 0x602000069170 is located 0 bytes inside of 16-byte region [0x602000069170,0x602000069180) allocated by thread T0 here: #0 0x561a9744370d in operator new(unsigned long) _asan_rtl_:3 #1 0x561a97a3b0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x561a97a3b0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x561a97a3b0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x561a97a3b0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x561a97a3b0a4 in void std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> >::__push_back_slow_path<aura::Window* const&>(aura::Window* const&) ./../../buildtools/third_party/libc++/trunk/include/vector:1622:0 #6 0x561aa1016706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x561aa1016706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x561aa16a0eb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x561aa162f957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x561a9f244cbe in ash::OverviewItem::CreateWindowLabel() ./../../ash/wm/overview/overview_item.cc:825:17 #11 0x561a9f24474d in ash::OverviewItem::OverviewItem(aura::Window*, ash::OverviewSession*, ash::OverviewGrid*) ./../../ash/wm/overview/overview_item.cc:115:3 #12 0x561a9f2201c9 in make_unique<ash::OverviewItem, aura::Window *&, ash::OverviewSession *&, ash::OverviewGrid *> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #13 0x561a9f2201c9 in ash::OverviewGrid::OverviewGrid(aura::Window*, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, ash::OverviewSession*, gfx::Rect const&) ./../../ash/wm/overview/overview_grid.cc:356:0 #14 0x561a9f24e4ee in make_unique<ash::OverviewGrid, aura::Window *&, const std::__1::vector<aura::Window *, std::__1::allocator<aura::Window *> > &, ash::OverviewSession *, gfx::Rect> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x561a9f24e4ee in ash::OverviewSession::Init(std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&) ./../../ash/wm/overview/overview_session.cc:213:0 #16 0x561a9f215bca in ash::OverviewController::ToggleOverview(ash::OverviewSession::EnterExitOverviewType) ./../../ash/wm/overview/overview_controller.cc:382:24 #17 0x561a989b46a3 in ToggleOverview ./../../ash/wm/overview/overview_session_unittest.cc:184:28 #18 0x561a989b46a3 in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1235:0 #19 0x561a9bead5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x561a9bead5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x561a9beaf669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x561a9beb0b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x561a9beda146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x561a9bed8c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x561a9bed8c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x561a9f781179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x561a9f781179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x561a9f788a5c in Run ./../../base/callback.h:97:12 #29 0x561a9f788a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #30 0x561a9f788520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x561a9874a8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7f4daee59f44 in __libc_start_main ??:0:0 HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. SUMMARY: AddressSanitizer: container-overflow (/b/s/w/ir/out/Release/ash_unittests+0xd58ca2f) Shadow bytes around the buggy address: 0x0c04800051d0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800051e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800051f0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005200: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480005210: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd =>0x0c0480005220: fa fa fc fc fa fa fc fc fa fa fd fa fa fa[fc]fc 0x0c0480005230: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005240: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005250: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005260: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005270: fa fa fd fd fa fa fd fa fa fa fd fd fa fa 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 ==14858==ABORTING [ RUN ] OverviewSessionTest.RemoveDisplayWithAnimation ================================================================= ==15602==ERROR: AddressSanitizer: container-overflow on address 0x602000069110 at pc 0x55aa90258a30 bp 0x7fff1e282ad0 sp 0x7fff1e282ac8 READ of size 8 at 0x602000069110 thread T0 #0 0x55aa90258a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55aa90258a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55aa90083cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55aa90085ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55aa92635d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55aa9262ccaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55aa926232e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55aa9627ed92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x55aa907e2f0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x55aa89e229ba in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1240:3 #10 0x55aa8d31b5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55aa8d31b5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55aa8d31d669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55aa8d31eb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55aa8d348146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55aa8d346c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55aa8d346c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x55aa90bef179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x55aa90bef179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55aa90bf6a5c in Run ./../../base/callback.h:97:12 #20 0x55aa90bf6a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x55aa90bf6520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55aa89bb88f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f7013283f44 in __libc_start_main ??:0:0 0x602000069110 is located 0 bytes inside of 16-byte region [0x602000069110,0x602000069120) allocated by thread T0 here: #0 0x55aa888b170d in operator new(unsigned long) _asan_rtl_:3 #1 0x55aa88ea90a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55aa88ea90a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55aa88ea90a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55aa88ea90a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55aa88ea90a4 in void std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> >::__push_back_slow_path<aura::Window* const&>(aura::Window* const&) ./../../buildtools/third_party/libc++/trunk/include/vector:1622:0 #6 0x55aa92484706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55aa92484706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55aa92b0eeb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x55aa92a9d957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x55aa906b2cbe in ash::OverviewItem::CreateWindowLabel() ./../../ash/wm/overview/overview_item.cc:825:17 #11 0x55aa906b274d in ash::OverviewItem::OverviewItem(aura::Window*, ash::OverviewSession*, ash::OverviewGrid*) ./../../ash/wm/overview/overview_item.cc:115:3 #12 0x55aa9068e1c9 in make_unique<ash::OverviewItem, aura::Window *&, ash::OverviewSession *&, ash::OverviewGrid *> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #13 0x55aa9068e1c9 in ash::OverviewGrid::OverviewGrid(aura::Window*, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, ash::OverviewSession*, gfx::Rect const&) ./../../ash/wm/overview/overview_grid.cc:356:0 #14 0x55aa906bc4ee in make_unique<ash::OverviewGrid, aura::Window *&, const std::__1::vector<aura::Window *, std::__1::allocator<aura::Window *> > &, ash::OverviewSession *, gfx::Rect> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x55aa906bc4ee in ash::OverviewSession::Init(std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&) ./../../ash/wm/overview/overview_session.cc:213:0 #16 0x55aa90683bca in ash::OverviewController::ToggleOverview(ash::OverviewSession::EnterExitOverviewType) ./../../ash/wm/overview/overview_controller.cc:382:24 #17 0x55aa89e226a3 in ToggleOverview ./../../ash/wm/overview/overview_session_unittest.cc:184:28 #18 0x55aa89e226a3 in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1235:0 #19 0x55aa8d31b5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55aa8d31b5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x55aa8d31d669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x55aa8d31eb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x55aa8d348146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x55aa8d346c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x55aa8d346c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x55aa90bef179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x55aa90bef179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x55aa90bf6a5c in Run ./../../base/callback.h:97:12 #29 0x55aa90bf6a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #30 0x55aa90bf6520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x55aa89bb88f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7f7013283f44 in __libc_start_main ??:0:0 HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. SUMMARY: AddressSanitizer: container-overflow (/b/s/w/ir/out/Release/ash_unittests+0xd58ca2f) Shadow bytes around the buggy address: 0x0c04800051d0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800051e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c04800051f0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005200: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005210: fa fa fd fd fa fa fc fc fa fa fc fc fa fa fd fa =>0x0c0480005220: fa fa[fc]fc fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005230: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480005240: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005250: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005260: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005270: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 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 ==15602==ABORTING [ RUN ] OverviewSessionTest.RemoveDisplayWithAnimation ================================================================= ==15849==ERROR: AddressSanitizer: container-overflow on address 0x602000069110 at pc 0x56328fddea30 bp 0x7ffd2769da50 sp 0x7ffd2769da48 READ of size 8 at 0x602000069110 thread T0 #0 0x56328fddea2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x56328fddea2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x56328fc09cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x56328fc0bac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5632921bbd1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5632921b2caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5632921a92e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x563295e04d92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x563290368f0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x5632899a89ba in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1240:3 #10 0x56328cea15d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x56328cea15d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x56328cea3669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x56328cea4b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x56328cece146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x56328ceccc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x56328ceccc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x563290775179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x563290775179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x56329077ca5c in Run ./../../base/callback.h:97:12 #20 0x56329077ca5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x56329077c520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x56328973e8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7fdd5a468f44 in __libc_start_main ??:0:0 0x602000069110 is located 0 bytes inside of 16-byte region [0x602000069110,0x602000069120) allocated by thread T0 here: #0 0x56328843770d in operator new(unsigned long) _asan_rtl_:3 #1 0x563288a2f0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x563288a2f0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x563288a2f0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x563288a2f0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x563288a2f0a4 in void std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> >::__push_back_slow_path<aura::Window* const&>(aura::Window* const&) ./../../buildtools/third_party/libc++/trunk/include/vector:1622:0 #6 0x56329200a706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x56329200a706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x563292694eb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x563292623957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x563290238cbe in ash::OverviewItem::CreateWindowLabel() ./../../ash/wm/overview/overview_item.cc:825:17 #11 0x56329023874d in ash::OverviewItem::OverviewItem(aura::Window*, ash::OverviewSession*, ash::OverviewGrid*) ./../../ash/wm/overview/overview_item.cc:115:3 #12 0x5632902141c9 in make_unique<ash::OverviewItem, aura::Window *&, ash::OverviewSession *&, ash::OverviewGrid *> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #13 0x5632902141c9 in ash::OverviewGrid::OverviewGrid(aura::Window*, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, ash::OverviewSession*, gfx::Rect const&) ./../../ash/wm/overview/overview_grid.cc:356:0 #14 0x5632902424ee in make_unique<ash::OverviewGrid, aura::Window *&, const std::__1::vector<aura::Window *, std::__1::allocator<aura::Window *> > &, ash::OverviewSession *, gfx::Rect> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x5632902424ee in ash::OverviewSession::Init(std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&) ./../../ash/wm/overview/overview_session.cc:213:0 #16 0x563290209bca in ash::OverviewController::ToggleOverview(ash::OverviewSession::EnterExitOverviewType) ./../../ash/wm/overview/overview_controller.cc:382:24 #17 0x5632899a86a3 in ToggleOverview ./../../ash/wm/overview/overview_session_unittest.cc:184:28 #18 0x5632899a86a3 in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1235:0 #19 0x56328cea15d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x56328cea15d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x56328cea3669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x56328cea4b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x56328cece146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x56328ceccc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x56328ceccc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x563290775179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x563290775179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x56329077ca5c in Run ./../../base/callback.h:97:12 #29 0x56329077ca5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #30 0x56329077c520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x56328973e8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7fdd5a468f44 in __libc_start_main ??:0:0 HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. SUMMARY: AddressSanitizer: container-overflow (/b/s/w/ir/out/Release/ash_unittests+0xd58ca2f) Shadow bytes around the buggy address: 0x0c04800051d0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800051e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c04800051f0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005200: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005210: fa fa fd fd fa fa fc fc fa fa fc fc fa fa fd fa =>0x0c0480005220: fa fa[fc]fc fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005230: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480005240: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005250: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005260: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005270: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 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 ==15849==ABORTING [ RUN ] OverviewSessionTest.RemoveDisplayWithAnimation ================================================================= ==16250==ERROR: AddressSanitizer: container-overflow on address 0x602000069110 at pc 0x5587f8d33a30 bp 0x7fffbf98ef10 sp 0x7fffbf98ef08 READ of size 8 at 0x602000069110 thread T0 #0 0x5587f8d33a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x5587f8d33a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x5587f8b5ecb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5587f8b60ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5587fb110d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5587fb107caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5587fb0fe2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x5587fed59d92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x5587f92bdf0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x5587f28fd9ba in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1240:3 #10 0x5587f5df65d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x5587f5df65d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x5587f5df8669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x5587f5df9b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x5587f5e23146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x5587f5e21c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x5587f5e21c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x5587f96ca179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x5587f96ca179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x5587f96d1a5c in Run ./../../base/callback.h:97:12 #20 0x5587f96d1a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x5587f96d1520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x5587f26938f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7ffbcce1ff44 in __libc_start_main ??:0:0 0x602000069110 is located 0 bytes inside of 16-byte region [0x602000069110,0x602000069120) allocated by thread T0 here: #0 0x5587f138c70d in operator new(unsigned long) _asan_rtl_:3 #1 0x5587f19840a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x5587f19840a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x5587f19840a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x5587f19840a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x5587f19840a4 in void std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> >::__push_back_slow_path<aura::Window* const&>(aura::Window* const&) ./../../buildtools/third_party/libc++/trunk/include/vector:1622:0 #6 0x5587faf5f706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x5587faf5f706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x5587fb5e9eb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x5587fb578957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x5587f918dcbe in ash::OverviewItem::CreateWindowLabel() ./../../ash/wm/overview/overview_item.cc:825:17 #11 0x5587f918d74d in ash::OverviewItem::OverviewItem(aura::Window*, ash::OverviewSession*, ash::OverviewGrid*) ./../../ash/wm/overview/overview_item.cc:115:3 #12 0x5587f91691c9 in make_unique<ash::OverviewItem, aura::Window *&, ash::OverviewSession *&, ash::OverviewGrid *> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #13 0x5587f91691c9 in ash::OverviewGrid::OverviewGrid(aura::Window*, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, ash::OverviewSession*, gfx::Rect const&) ./../../ash/wm/overview/overview_grid.cc:356:0 #14 0x5587f91974ee in make_unique<ash::OverviewGrid, aura::Window *&, const std::__1::vector<aura::Window *, std::__1::allocator<aura::Window *> > &, ash::OverviewSession *, gfx::Rect> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x5587f91974ee in ash::OverviewSession::Init(std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&, std::__1::vector<aura::Window*, std::__1::allocator<aura::Window*> > const&) ./../../ash/wm/overview/overview_session.cc:213:0 #16 0x5587f915ebca in ash::OverviewController::ToggleOverview(ash::OverviewSession::EnterExitOverviewType) ./../../ash/wm/overview/overview_controller.cc:382:24 #17 0x5587f28fd6a3 in ToggleOverview ./../../ash/wm/overview/overview_session_unittest.cc:184:28 #18 0x5587f28fd6a3 in ash::OverviewSessionTest_RemoveDisplayWithAnimation_Test::TestBody() ./../../ash/wm/overview/overview_session_unittest.cc:1235:0 #19 0x5587f5df65d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x5587f5df65d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x5587f5df8669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x5587f5df9b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x5587f5e23146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x5587f5e21c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x5587f5e21c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x5587f96ca179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x5587f96ca179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x5587f96d1a5c in Run ./../../base/callback.h:97:12 #29 0x5587f96d1a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #30 0x5587f96d1520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x5587f26938f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7ffbcce1ff44 in __libc_start_main ??:0:0 HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. SUMMARY: AddressSanitizer: container-overflow (/b/s/w/ir/out/Release/ash_unittests+0xd58ca2f) Shadow bytes around the buggy address: 0x0c04800051d0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800051e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c04800051f0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005200: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005210: fa fa fd fd fa fa fc fc fa fa fc fc fa fa fd fa =>0x0c0480005220: fa fa[fc]fc fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005230: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480005240: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480005250: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005260: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005270: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 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 ==16250==ABORTING ================================================================================