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

Test 'RootWindowControllerTest.MoveWindows_Modal' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'RootWindowControllerTest.MoveWindows_Modal' had the following logs when run: ================================================================================ [ RUN ] RootWindowControllerTest.MoveWindows_Modal ================================================================= ==30318==ERROR: AddressSanitizer: container-overflow on address 0x602000067f78 at pc 0x55bd4d343a30 bp 0x7ffcda7baa30 sp 0x7ffcda7baa28 READ of size 8 at 0x602000067f78 thread T0 #0 0x55bd4d343a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55bd4d343a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55bd4d16ecb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55bd4d170ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55bd4f720d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55bd4f717caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55bd4f70e2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55bd53369d92 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 0x55bd4d8cdf0c 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 0x55bd46533687 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:282:3 #10 0x55bd4a4065d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55bd4a4065d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55bd4a408669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55bd4a409b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55bd4a433146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55bd4a431c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55bd4a431c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x55bd4dcda179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x55bd4dcda179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55bd4dce1a5c in Run ./../../base/callback.h:97:12 #20 0x55bd4dce1a5c 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 0x55bd4dce1520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55bd46ca38f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7fb9bd74df44 in __libc_start_main ??:0:0 0x602000067f78 is located 8 bytes inside of 16-byte region [0x602000067f70,0x602000067f80) allocated by thread T0 here: #0 0x55bd4599c70d in operator new(unsigned long) _asan_rtl_:3 #1 0x55bd45f940a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55bd45f940a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55bd45f940a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55bd45f940a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55bd45f940a4 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 0x55bd4f56f706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55bd4f56f706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55bd4d84dd22 in ash::WindowDimmer::WindowDimmer(aura::Window*) ./../../ash/wm/window_dimmer.cc:41:11 #9 0x55bd4d80d337 in make_unique<ash::WindowDimmer, aura::Window *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #10 0x55bd4d80d337 in ash::SystemModalContainerLayoutManager::CreateModalBackground() ./../../ash/wm/system_modal_container_layout_manager.cc:159:0 #11 0x55bd4d80af94 in ash::SystemModalContainerLayoutManager::AddModalWindow(aura::Window*) ./../../ash/wm/system_modal_container_layout_manager.cc:210:11 #12 0x55bd4d80a8f7 in ash::SystemModalContainerLayoutManager::OnChildWindowVisibilityChanged(aura::Window*, bool) ./../../ash/wm/system_modal_container_layout_manager.cc:67:5 #13 0x55bd4f56b397 in aura::Window::SetVisible(bool) ./../../ui/aura/window.cc:884:31 #14 0x55bd4f56ab61 in aura::Window::Show() ./../../ui/aura/window.cc:250:3 #15 0x55bd4fbfdd42 in views::NativeWidgetAura::Show(ui::WindowShowState, gfx::Rect const&) ./../../ui/views/widget/native_widget_aura.cc:562:12 #16 0x55bd4fb8fb13 in views::Widget::Show() ./../../ui/views/widget/widget.cc:615:23 #17 0x55bd46532c22 in CreateModalWidget ./../../ash/root_window_controller_unittest.cc:124:13 #18 0x55bd46532c22 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:272:0 #19 0x55bd4a4065d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55bd4a4065d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x55bd4a408669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x55bd4a409b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x55bd4a433146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x55bd4a431c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x55bd4a431c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x55bd4dcda179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x55bd4dcda179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x55bd4dce1a5c in Run ./../../base/callback.h:97:12 #29 0x55bd4dce1a5c 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 0x55bd4dce1520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x55bd46ca38f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7fb9bd74df44 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: 0x0c0480004f90: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004fa0: fa fa 00 fa fa fa fd fa fa fa fc fc fa fa fd fd 0x0c0480004fb0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480004fc0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480004fd0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa fd fd =>0x0c0480004fe0: fa fa 00 fc fa fa 00 fc fa fa 00 fa fa fa 00[fc] 0x0c0480004ff0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 00 fa 0x0c0480005000: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa 00 00 0x0c0480005010: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480005020: fa fa fd fa fa fa fc fc fa fa fd fd fa fa fd fa 0x0c0480005030: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd 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 ==30318==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_Modal ================================================================= ==30807==ERROR: AddressSanitizer: container-overflow on address 0x602000066e38 at pc 0x55b0b8fcaa30 bp 0x7fffab0612b0 sp 0x7fffab0612a8 READ of size 8 at 0x602000066e38 thread T0 #0 0x55b0b8fcaa2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55b0b8fcaa2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55b0b8df5cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55b0b8df7ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55b0bb3a7d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55b0bb39ecaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55b0bb3952e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55b0beff0d92 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 0x55b0b9554f0c 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 0x55b0b21ba687 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:282:3 #10 0x55b0b608d5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55b0b608d5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55b0b608f669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55b0b6090b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55b0b60ba146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55b0b60b8c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55b0b60b8c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x55b0b9961179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x55b0b9961179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55b0b9968a5c in Run ./../../base/callback.h:97:12 #20 0x55b0b9968a5c 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 0x55b0b9968520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55b0b292a8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7efcba2dbf44 in __libc_start_main ??:0:0 0x602000066e38 is located 8 bytes inside of 16-byte region [0x602000066e30,0x602000066e40) allocated by thread T0 here: #0 0x55b0b162370d in operator new(unsigned long) _asan_rtl_:3 #1 0x55b0b1c1b0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55b0b1c1b0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55b0b1c1b0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55b0b1c1b0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55b0b1c1b0a4 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 0x55b0bb1f6706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55b0bb1f6706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55b0b94d4d22 in ash::WindowDimmer::WindowDimmer(aura::Window*) ./../../ash/wm/window_dimmer.cc:41:11 #9 0x55b0b9494337 in make_unique<ash::WindowDimmer, aura::Window *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #10 0x55b0b9494337 in ash::SystemModalContainerLayoutManager::CreateModalBackground() ./../../ash/wm/system_modal_container_layout_manager.cc:159:0 #11 0x55b0b9491f94 in ash::SystemModalContainerLayoutManager::AddModalWindow(aura::Window*) ./../../ash/wm/system_modal_container_layout_manager.cc:210:11 #12 0x55b0b94918f7 in ash::SystemModalContainerLayoutManager::OnChildWindowVisibilityChanged(aura::Window*, bool) ./../../ash/wm/system_modal_container_layout_manager.cc:67:5 #13 0x55b0bb1f2397 in aura::Window::SetVisible(bool) ./../../ui/aura/window.cc:884:31 #14 0x55b0bb1f1b61 in aura::Window::Show() ./../../ui/aura/window.cc:250:3 #15 0x55b0bb884d42 in views::NativeWidgetAura::Show(ui::WindowShowState, gfx::Rect const&) ./../../ui/views/widget/native_widget_aura.cc:562:12 #16 0x55b0bb816b13 in views::Widget::Show() ./../../ui/views/widget/widget.cc:615:23 #17 0x55b0b21b9c22 in CreateModalWidget ./../../ash/root_window_controller_unittest.cc:124:13 #18 0x55b0b21b9c22 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:272:0 #19 0x55b0b608d5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55b0b608d5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x55b0b608f669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x55b0b6090b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x55b0b60ba146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x55b0b60b8c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x55b0b60b8c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x55b0b9961179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x55b0b9961179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x55b0b9968a5c in Run ./../../base/callback.h:97:12 #29 0x55b0b9968a5c 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 0x55b0b9968520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x55b0b292a8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7efcba2dbf44 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: 0x0c0480004d70: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa fd fa 0x0c0480004d80: fa fa fc fc fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004d90: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480004da0: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 00 0x0c0480004db0: fa fa 00 00 fa fa fd fd fa fa 00 fc fa fa 00 fc =>0x0c0480004dc0: fa fa 00 fa fa fa 00[fc]fa fa 00 fa fa fa 00 00 0x0c0480004dd0: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004de0: fa fa 00 00 fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480004df0: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fc fc 0x0c0480004e00: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004e10: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd 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 ==30807==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_Modal ================================================================= ==31015==ERROR: AddressSanitizer: container-overflow on address 0x602000066e38 at pc 0x55b55fb0aa30 bp 0x7ffe6dcbe670 sp 0x7ffe6dcbe668 READ of size 8 at 0x602000066e38 thread T0 #0 0x55b55fb0aa2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55b55fb0aa2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55b55f935cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55b55f937ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55b561ee7d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55b561edecaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55b561ed52e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55b565b30d92 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 0x55b560094f0c 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 0x55b558cfa687 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:282:3 #10 0x55b55cbcd5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55b55cbcd5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55b55cbcf669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55b55cbd0b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55b55cbfa146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55b55cbf8c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55b55cbf8c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x55b5604a1179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x55b5604a1179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55b5604a8a5c in Run ./../../base/callback.h:97:12 #20 0x55b5604a8a5c 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 0x55b5604a8520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55b55946a8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f5a4bcf7f44 in __libc_start_main ??:0:0 0x602000066e38 is located 8 bytes inside of 16-byte region [0x602000066e30,0x602000066e40) allocated by thread T0 here: #0 0x55b55816370d in operator new(unsigned long) _asan_rtl_:3 #1 0x55b55875b0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55b55875b0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55b55875b0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55b55875b0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55b55875b0a4 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 0x55b561d36706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55b561d36706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55b560014d22 in ash::WindowDimmer::WindowDimmer(aura::Window*) ./../../ash/wm/window_dimmer.cc:41:11 #9 0x55b55ffd4337 in make_unique<ash::WindowDimmer, aura::Window *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #10 0x55b55ffd4337 in ash::SystemModalContainerLayoutManager::CreateModalBackground() ./../../ash/wm/system_modal_container_layout_manager.cc:159:0 #11 0x55b55ffd1f94 in ash::SystemModalContainerLayoutManager::AddModalWindow(aura::Window*) ./../../ash/wm/system_modal_container_layout_manager.cc:210:11 #12 0x55b55ffd18f7 in ash::SystemModalContainerLayoutManager::OnChildWindowVisibilityChanged(aura::Window*, bool) ./../../ash/wm/system_modal_container_layout_manager.cc:67:5 #13 0x55b561d32397 in aura::Window::SetVisible(bool) ./../../ui/aura/window.cc:884:31 #14 0x55b561d31b61 in aura::Window::Show() ./../../ui/aura/window.cc:250:3 #15 0x55b5623c4d42 in views::NativeWidgetAura::Show(ui::WindowShowState, gfx::Rect const&) ./../../ui/views/widget/native_widget_aura.cc:562:12 #16 0x55b562356b13 in views::Widget::Show() ./../../ui/views/widget/widget.cc:615:23 #17 0x55b558cf9c22 in CreateModalWidget ./../../ash/root_window_controller_unittest.cc:124:13 #18 0x55b558cf9c22 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:272:0 #19 0x55b55cbcd5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55b55cbcd5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x55b55cbcf669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x55b55cbd0b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x55b55cbfa146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x55b55cbf8c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x55b55cbf8c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x55b5604a1179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x55b5604a1179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x55b5604a8a5c in Run ./../../base/callback.h:97:12 #29 0x55b5604a8a5c 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 0x55b5604a8520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x55b55946a8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7f5a4bcf7f44 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: 0x0c0480004d70: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa fd fa 0x0c0480004d80: fa fa fc fc fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004d90: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480004da0: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 00 0x0c0480004db0: fa fa 00 00 fa fa fd fd fa fa 00 fc fa fa 00 fc =>0x0c0480004dc0: fa fa 00 fa fa fa 00[fc]fa fa 00 fa fa fa 00 00 0x0c0480004dd0: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004de0: fa fa 00 00 fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480004df0: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fc fc 0x0c0480004e00: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004e10: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd 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 ==31015==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_Modal ================================================================= ==31232==ERROR: AddressSanitizer: container-overflow on address 0x602000066e38 at pc 0x561185a62a30 bp 0x7fff0df2c410 sp 0x7fff0df2c408 READ of size 8 at 0x602000066e38 thread T0 #0 0x561185a62a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x561185a62a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x56118588dcb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x56118588fac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x561187e3fd1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x561187e36caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x561187e2d2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x56118ba88d92 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 0x561185fecf0c 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 0x56117ec52687 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:282:3 #10 0x561182b255d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x561182b255d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x561182b27669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x561182b28b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x561182b52146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x561182b50c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x561182b50c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x5611863f9179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x5611863f9179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x561186400a5c in Run ./../../base/callback.h:97:12 #20 0x561186400a5c 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 0x561186400520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x56117f3c28f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f41b0b41f44 in __libc_start_main ??:0:0 0x602000066e38 is located 8 bytes inside of 16-byte region [0x602000066e30,0x602000066e40) allocated by thread T0 here: #0 0x56117e0bb70d in operator new(unsigned long) _asan_rtl_:3 #1 0x56117e6b30a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x56117e6b30a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x56117e6b30a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x56117e6b30a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x56117e6b30a4 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 0x561187c8e706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x561187c8e706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x561185f6cd22 in ash::WindowDimmer::WindowDimmer(aura::Window*) ./../../ash/wm/window_dimmer.cc:41:11 #9 0x561185f2c337 in make_unique<ash::WindowDimmer, aura::Window *&> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #10 0x561185f2c337 in ash::SystemModalContainerLayoutManager::CreateModalBackground() ./../../ash/wm/system_modal_container_layout_manager.cc:159:0 #11 0x561185f29f94 in ash::SystemModalContainerLayoutManager::AddModalWindow(aura::Window*) ./../../ash/wm/system_modal_container_layout_manager.cc:210:11 #12 0x561185f298f7 in ash::SystemModalContainerLayoutManager::OnChildWindowVisibilityChanged(aura::Window*, bool) ./../../ash/wm/system_modal_container_layout_manager.cc:67:5 #13 0x561187c8a397 in aura::Window::SetVisible(bool) ./../../ui/aura/window.cc:884:31 #14 0x561187c89b61 in aura::Window::Show() ./../../ui/aura/window.cc:250:3 #15 0x56118831cd42 in views::NativeWidgetAura::Show(ui::WindowShowState, gfx::Rect const&) ./../../ui/views/widget/native_widget_aura.cc:562:12 #16 0x5611882aeb13 in views::Widget::Show() ./../../ui/views/widget/widget.cc:615:23 #17 0x56117ec51c22 in CreateModalWidget ./../../ash/root_window_controller_unittest.cc:124:13 #18 0x56117ec51c22 in ash::RootWindowControllerTest_MoveWindows_Modal_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:272:0 #19 0x561182b255d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x561182b255d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #21 0x561182b27669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #22 0x561182b28b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #23 0x561182b52146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #24 0x561182b50c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #25 0x561182b50c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #26 0x5611863f9179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #27 0x5611863f9179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #28 0x561186400a5c in Run ./../../base/callback.h:97:12 #29 0x561186400a5c 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 0x561186400520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #31 0x56117f3c28f0 in main ./../../ash/test/ash_unittests.cc:24:10 #32 0x7f41b0b41f44 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: 0x0c0480004d70: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa fd fa 0x0c0480004d80: fa fa fc fc fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004d90: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480004da0: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 00 0x0c0480004db0: fa fa 00 00 fa fa fd fd fa fa 00 fc fa fa 00 fc =>0x0c0480004dc0: fa fa 00 fa fa fa 00[fc]fa fa 00 fa fa fa 00 00 0x0c0480004dd0: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004de0: fa fa 00 00 fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480004df0: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fc fc 0x0c0480004e00: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004e10: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd 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 ==31232==ABORTING ================================================================================