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

Test 'PersistentWindowControllerTest.NormalMirrorMode' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'PersistentWindowControllerTest.NormalMirrorMode' had the following logs when run: ================================================================================ [ RUN ] PersistentWindowControllerTest.NormalMirrorMode ================================================================= ==14477==ERROR: AddressSanitizer: container-overflow on address 0x602000064010 at pc 0x55cda5dc8a30 bp 0x7ffc32d90b90 sp 0x7ffc32d90b88 READ of size 8 at 0x602000064010 thread T0 #0 0x55cda5dc8a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55cda5dc8a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55cda5bf3cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55cda5bf5ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55cda81a5d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55cda819ccaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55cda81a073a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x55cda81a9760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x55cd9e98861c in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:192:22 #9 0x55cda2e8b5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55cda2e8b5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55cda2e8d669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55cda2e8eb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55cda2eb8146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55cda2eb6c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55cda2eb6c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55cda675f179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55cda675f179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55cda6766a5c in Run ./../../base/callback.h:97:12 #19 0x55cda6766a5c 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 0x55cda6766520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55cd9f7288f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f86b00b0f44 in __libc_start_main ??:0:0 0x602000064010 is located 0 bytes inside of 8-byte region [0x602000064010,0x602000064018) allocated by thread T0 here: #0 0x55cd9e42170d in operator new(unsigned long) _asan_rtl_:3 #1 0x55cd9ea190a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55cd9ea190a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55cd9ea190a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55cd9ea190a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55cd9ea190a4 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 0x55cda7ff4706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55cda7ff4706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55cda7f39b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55cda6355260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55cd9e988103 in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:187:7 #11 0x55cda2e8b5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55cda2e8b5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55cda2e8d669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55cda2e8eb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55cda2eb8146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55cda2eb6c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55cda2eb6c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55cda675f179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55cda675f179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55cda6766a5c in Run ./../../base/callback.h:97:12 #21 0x55cda6766a5c 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 0x55cda6766520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55cd9f7288f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f86b00b0f44 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: 0x0c04800047b0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047c0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047d0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047e0: fa fa fd fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c04800047f0: fa fa fd fd fa fa fc fa fa fa fc fa fa fa fd fa =>0x0c0480004800: fa fa[fc]fa fa fa 00 fa fa fa fd fa fa fa fd fd 0x0c0480004810: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004820: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 00 0x0c0480004830: fa fa fd fd fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004840: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 00 0x0c0480004850: fa fa 00 00 fa fa 00 00 fa fa 00 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 ==14477==ABORTING [ RUN ] PersistentWindowControllerTest.NormalMirrorMode ================================================================= ==15581==ERROR: AddressSanitizer: container-overflow on address 0x602000063e90 at pc 0x5573314e7a30 bp 0x7fff7ee48f90 sp 0x7fff7ee48f88 READ of size 8 at 0x602000063e90 thread T0 #0 0x5573314e7a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x5573314e7a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x557331312cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x557331314ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5573338c4d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5573338bbcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5573338bf73a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x5573338c8760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x55732a0a761c in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:192:22 #9 0x55732e5aa5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55732e5aa5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55732e5ac669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55732e5adb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55732e5d7146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55732e5d5c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55732e5d5c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x557331e7e179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x557331e7e179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x557331e85a5c in Run ./../../base/callback.h:97:12 #19 0x557331e85a5c 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 0x557331e85520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55732ae478f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f97f6a43f44 in __libc_start_main ??:0:0 0x602000063e90 is located 0 bytes inside of 8-byte region [0x602000063e90,0x602000063e98) allocated by thread T0 here: #0 0x557329b4070d in operator new(unsigned long) _asan_rtl_:3 #1 0x55732a1380a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55732a1380a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55732a1380a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55732a1380a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55732a1380a4 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 0x557333713706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x557333713706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x557333658b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x557331a74260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55732a0a7103 in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:187:7 #11 0x55732e5aa5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55732e5aa5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55732e5ac669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55732e5adb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55732e5d7146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55732e5d5c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55732e5d5c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x557331e7e179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x557331e7e179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x557331e85a5c in Run ./../../base/callback.h:97:12 #21 0x557331e85a5c 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 0x557331e85520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55732ae478f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f97f6a43f44 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: 0x0c0480004780: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004790: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047a0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047b0: fa fa fd fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c04800047c0: fa fa fd fd fa fa fc fa fa fa fc fa fa fa fd fa =>0x0c04800047d0: fa fa[fc]fa fa fa 00 fa fa fa fd fa fa fa fd fd 0x0c04800047e0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047f0: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 00 0x0c0480004800: fa fa fd fd fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004810: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 00 0x0c0480004820: fa fa 00 00 fa fa 00 00 fa fa 00 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 ==15581==ABORTING [ RUN ] PersistentWindowControllerTest.NormalMirrorMode ================================================================= ==15806==ERROR: AddressSanitizer: container-overflow on address 0x602000063e90 at pc 0x55e30f58fa30 bp 0x7ffd9702e630 sp 0x7ffd9702e628 READ of size 8 at 0x602000063e90 thread T0 #0 0x55e30f58fa2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55e30f58fa2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55e30f3bacb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55e30f3bcac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55e31196cd1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55e311963caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55e31196773a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x55e311970760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x55e30814f61c in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:192:22 #9 0x55e30c6525d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55e30c6525d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55e30c654669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55e30c655b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55e30c67f146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55e30c67dc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55e30c67dc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55e30ff26179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55e30ff26179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55e30ff2da5c in Run ./../../base/callback.h:97:12 #19 0x55e30ff2da5c 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 0x55e30ff2d520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55e308eef8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f4a7d8e8f44 in __libc_start_main ??:0:0 0x602000063e90 is located 0 bytes inside of 8-byte region [0x602000063e90,0x602000063e98) allocated by thread T0 here: #0 0x55e307be870d in operator new(unsigned long) _asan_rtl_:3 #1 0x55e3081e00a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55e3081e00a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55e3081e00a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55e3081e00a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55e3081e00a4 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 0x55e3117bb706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55e3117bb706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55e311700b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55e30fb1c260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55e30814f103 in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:187:7 #11 0x55e30c6525d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55e30c6525d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55e30c654669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55e30c655b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55e30c67f146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55e30c67dc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55e30c67dc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55e30ff26179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55e30ff26179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55e30ff2da5c in Run ./../../base/callback.h:97:12 #21 0x55e30ff2da5c 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 0x55e30ff2d520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55e308eef8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f4a7d8e8f44 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: 0x0c0480004780: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004790: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047a0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047b0: fa fa fd fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c04800047c0: fa fa fd fd fa fa fc fa fa fa fc fa fa fa fd fa =>0x0c04800047d0: fa fa[fc]fa fa fa 00 fa fa fa fd fa fa fa fd fd 0x0c04800047e0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047f0: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 00 0x0c0480004800: fa fa fd fd fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004810: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 00 0x0c0480004820: fa fa 00 00 fa fa 00 00 fa fa 00 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 ==15806==ABORTING [ RUN ] PersistentWindowControllerTest.NormalMirrorMode ================================================================= ==16229==ERROR: AddressSanitizer: container-overflow on address 0x602000063e90 at pc 0x55fc85c6ca30 bp 0x7ffd392902d0 sp 0x7ffd392902c8 READ of size 8 at 0x602000063e90 thread T0 #0 0x55fc85c6ca2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55fc85c6ca2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55fc85a97cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55fc85a99ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55fc88049d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55fc88040caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55fc8804473a in display::DisplayManager::ReconfigureDisplays() ./../../ui/display/manager/display_manager.cc:1615:3 #7 0x55fc8804d760 in display::DisplayManager::SetMirrorMode(display::MirrorMode, base::Optional<display::MixedMirrorModeParams> const&) ./../../ui/display/manager/display_manager.cc:1383:3 #8 0x55fc7e82c61c in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:192:22 #9 0x55fc82d2f5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55fc82d2f5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55fc82d31669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55fc82d32b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55fc82d5c146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55fc82d5ac24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55fc82d5ac24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55fc86603179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55fc86603179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55fc8660aa5c in Run ./../../base/callback.h:97:12 #19 0x55fc8660aa5c 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 0x55fc8660a520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55fc7f5cc8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7fda651a0f44 in __libc_start_main ??:0:0 0x602000063e90 is located 0 bytes inside of 8-byte region [0x602000063e90,0x602000063e98) allocated by thread T0 here: #0 0x55fc7e2c570d in operator new(unsigned long) _asan_rtl_:3 #1 0x55fc7e8bd0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55fc7e8bd0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55fc7e8bd0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55fc7e8bd0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55fc7e8bd0a4 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 0x55fc87e98706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55fc87e98706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55fc87dddb1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55fc861f9260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55fc7e82c103 in ash::PersistentWindowControllerTest_NormalMirrorMode_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:187:7 #11 0x55fc82d2f5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55fc82d2f5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55fc82d31669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55fc82d32b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55fc82d5c146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55fc82d5ac24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55fc82d5ac24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55fc86603179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55fc86603179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55fc8660aa5c in Run ./../../base/callback.h:97:12 #21 0x55fc8660aa5c 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 0x55fc8660a520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55fc7f5cc8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7fda651a0f44 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: 0x0c0480004780: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004790: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047a0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047b0: fa fa fd fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c04800047c0: fa fa fd fd fa fa fc fa fa fa fc fa fa fa fd fa =>0x0c04800047d0: fa fa[fc]fa fa fa 00 fa fa fa fd fa fa fa fd fd 0x0c04800047e0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800047f0: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 00 0x0c0480004800: fa fa fd fd fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004810: fa fa 00 00 fa fa fd fd fa fa 00 fa fa fa 00 00 0x0c0480004820: fa fa 00 00 fa fa 00 00 fa fa 00 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 ==16229==ABORTING ================================================================================