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

Test 'PersistentWindowControllerTest.MixedMirrorMode' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'PersistentWindowControllerTest.MixedMirrorMode' had the following logs when run: ================================================================================ [ RUN ] PersistentWindowControllerTest.MixedMirrorMode ================================================================= ==30126==ERROR: AddressSanitizer: container-overflow on address 0x602000071c50 at pc 0x55b1b4d79a30 bp 0x7ffcbfcafc10 sp 0x7ffcbfcafc08 READ of size 8 at 0x602000071c50 thread T0 #0 0x55b1b4d79a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55b1b4d79a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55b1b4ba4cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55b1b4ba6ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55b1b7156d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55b1b714dcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55b1b715173a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x55b1b715a760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x55b1ad93b814 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:230:22 #9 0x55b1b1e3c5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55b1b1e3c5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55b1b1e3e669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55b1b1e3fb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55b1b1e69146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55b1b1e67c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55b1b1e67c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55b1b5710179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55b1b5710179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55b1b5717a5c in Run ./../../base/callback.h:97:12 #19 0x55b1b5717a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x55b1b5717520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55b1ae6d98f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f1bc5899f44 in __libc_start_main ??:0:0 0x602000071c50 is located 0 bytes inside of 8-byte region [0x602000071c50,0x602000071c58) allocated by thread T0 here: #0 0x55b1ad3d270d in operator new(unsigned long) _asan_rtl_:3 #1 0x55b1ad9ca0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55b1ad9ca0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55b1ad9ca0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55b1ad9ca0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55b1ad9ca0a4 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 0x55b1b6fa5706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55b1b6fa5706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55b1b6eeab1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55b1b5306260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55b1ad93ae78 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:208:7 #11 0x55b1b1e3c5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55b1b1e3c5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55b1b1e3e669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55b1b1e3fb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55b1b1e69146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55b1b1e67c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55b1b1e67c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55b1b5710179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55b1b5710179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55b1b5717a5c in Run ./../../base/callback.h:97:12 #21 0x55b1b5717a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #22 0x55b1b5717520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55b1ae6d98f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f1bc5899f44 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: 0x0c0480006330: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480006340: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480006350: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480006360: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c0480006370: fa fa 00 00 fa fa fd fd fa fa fd fd fa fa fc fa =>0x0c0480006380: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 fa 0x0c0480006390: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800063a0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c04800063b0: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c04800063c0: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c04800063d0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 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 ==30126==ABORTING [ RUN ] PersistentWindowControllerTest.MixedMirrorMode ================================================================= ==30879==ERROR: AddressSanitizer: container-overflow on address 0x602000071ab0 at pc 0x555fb1d69a30 bp 0x7ffdd1583df0 sp 0x7ffdd1583de8 READ of size 8 at 0x602000071ab0 thread T0 #0 0x555fb1d69a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x555fb1d69a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x555fb1b94cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x555fb1b96ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x555fb4146d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x555fb413dcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x555fb414173a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x555fb414a760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x555faa92b814 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:230:22 #9 0x555faee2c5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x555faee2c5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x555faee2e669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x555faee2fb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x555faee59146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x555faee57c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x555faee57c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x555fb2700179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x555fb2700179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x555fb2707a5c in Run ./../../base/callback.h:97:12 #19 0x555fb2707a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x555fb2707520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x555fab6c98f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f733cd3df44 in __libc_start_main ??:0:0 0x602000071ab0 is located 0 bytes inside of 8-byte region [0x602000071ab0,0x602000071ab8) allocated by thread T0 here: #0 0x555faa3c270d in operator new(unsigned long) _asan_rtl_:3 #1 0x555faa9ba0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x555faa9ba0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x555faa9ba0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x555faa9ba0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x555faa9ba0a4 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 0x555fb3f95706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x555fb3f95706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x555fb3edab1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x555fb22f6260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x555faa92ae78 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:208:7 #11 0x555faee2c5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x555faee2c5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x555faee2e669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x555faee2fb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x555faee59146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x555faee57c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x555faee57c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x555fb2700179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x555fb2700179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x555fb2707a5c in Run ./../../base/callback.h:97:12 #21 0x555fb2707a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #22 0x555fb2707520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x555fab6c98f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f733cd3df44 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: 0x0c0480006300: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006310: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006320: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480006330: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 00 0x0c0480006340: fa fa fd fd fa fa fd fd fa fa fc fa fa fa fc fa =>0x0c0480006350: fa fa fd fa fa fa[fc]fa fa fa 00 fa fa fa fd fa 0x0c0480006360: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006370: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa 0x0c0480006380: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 fa 0x0c0480006390: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c04800063a0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 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 ==30879==ABORTING [ RUN ] PersistentWindowControllerTest.MixedMirrorMode ================================================================= ==31087==ERROR: AddressSanitizer: container-overflow on address 0x602000071ab0 at pc 0x55715d8c4a30 bp 0x7ffe43576530 sp 0x7ffe43576528 READ of size 8 at 0x602000071ab0 thread T0 #0 0x55715d8c4a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55715d8c4a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55715d6efcb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55715d6f1ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55715fca1d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55715fc98caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55715fc9c73a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x55715fca5760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x557156486814 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:230:22 #9 0x55715a9875d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55715a9875d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55715a989669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55715a98ab46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55715a9b4146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55715a9b2c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55715a9b2c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55715e25b179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55715e25b179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55715e262a5c in Run ./../../base/callback.h:97:12 #19 0x55715e262a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x55715e262520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x5571572248f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7fa8a76f8f44 in __libc_start_main ??:0:0 0x602000071ab0 is located 0 bytes inside of 8-byte region [0x602000071ab0,0x602000071ab8) allocated by thread T0 here: #0 0x557155f1d70d in operator new(unsigned long) _asan_rtl_:3 #1 0x5571565150a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x5571565150a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x5571565150a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x5571565150a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x5571565150a4 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 0x55715faf0706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55715faf0706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55715fa35b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55715de51260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x557156485e78 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:208:7 #11 0x55715a9875d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55715a9875d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55715a989669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55715a98ab46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55715a9b4146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55715a9b2c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55715a9b2c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55715e25b179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55715e25b179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55715e262a5c in Run ./../../base/callback.h:97:12 #21 0x55715e262a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #22 0x55715e262520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x5571572248f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7fa8a76f8f44 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: 0x0c0480006300: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006310: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006320: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480006330: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 00 0x0c0480006340: fa fa fd fd fa fa fd fd fa fa fc fa fa fa fc fa =>0x0c0480006350: fa fa fd fa fa fa[fc]fa fa fa 00 fa fa fa fd fa 0x0c0480006360: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006370: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa 0x0c0480006380: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 fa 0x0c0480006390: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c04800063a0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 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 ==31087==ABORTING [ RUN ] PersistentWindowControllerTest.MixedMirrorMode ================================================================= ==31304==ERROR: AddressSanitizer: container-overflow on address 0x602000071ab0 at pc 0x562eba98ba30 bp 0x7ffd752c64b0 sp 0x7ffd752c64a8 READ of size 8 at 0x602000071ab0 thread T0 #0 0x562eba98ba2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x562eba98ba2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x562eba7b6cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x562eba7b8ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x562ebcd68d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x562ebcd5fcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x562ebcd6373a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x562ebcd6c760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x562eb354d814 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:230:22 #9 0x562eb7a4e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x562eb7a4e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x562eb7a50669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x562eb7a51b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x562eb7a7b146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x562eb7a79c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x562eb7a79c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x562ebb322179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x562ebb322179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x562ebb329a5c in Run ./../../base/callback.h:97:12 #19 0x562ebb329a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x562ebb329520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x562eb42eb8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7fe4bfbfdf44 in __libc_start_main ??:0:0 0x602000071ab0 is located 0 bytes inside of 8-byte region [0x602000071ab0,0x602000071ab8) allocated by thread T0 here: #0 0x562eb2fe470d in operator new(unsigned long) _asan_rtl_:3 #1 0x562eb35dc0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x562eb35dc0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x562eb35dc0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x562eb35dc0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x562eb35dc0a4 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 0x562ebcbb7706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x562ebcbb7706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x562ebcafcb1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x562ebaf18260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x562eb354ce78 in ash::PersistentWindowControllerTest_MixedMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:208:7 #11 0x562eb7a4e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x562eb7a4e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x562eb7a50669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x562eb7a51b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x562eb7a7b146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x562eb7a79c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x562eb7a79c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x562ebb322179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x562ebb322179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x562ebb329a5c in Run ./../../base/callback.h:97:12 #21 0x562ebb329a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #22 0x562ebb329520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x562eb42eb8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7fe4bfbfdf44 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: 0x0c0480006300: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006310: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006320: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480006330: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 00 0x0c0480006340: fa fa fd fd fa fa fd fd fa fa fc fa fa fa fc fa =>0x0c0480006350: fa fa fd fa fa fa[fc]fa fa fa 00 fa fa fa fd fa 0x0c0480006360: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x0c0480006370: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa 0x0c0480006380: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 fa 0x0c0480006390: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c04800063a0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 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 ==31304==ABORTING ================================================================================