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

Test 'PersistentWindowControllerTest.RecordNumOfWindowsRestored' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'PersistentWindowControllerTest.RecordNumOfWindowsRestored' had the following logs when run: ================================================================================ [ RUN ] PersistentWindowControllerTest.RecordNumOfWindowsRestored ================================================================= ==30038==ERROR: AddressSanitizer: container-overflow on address 0x602000065050 at pc 0x55e683a16a30 bp 0x7fffa00a8190 sp 0x7fffa00a8188 READ of size 8 at 0x602000065050 thread T0 #0 0x55e683a16a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55e683a16a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55e683841cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55e683843ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55e685df3d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55e685deacaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55e685de12e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55e67c5e02f9 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:362:22 #8 0x55e680ad95d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x55e680ad95d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x55e680adb669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x55e680adcb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x55e680b06146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x55e680b04c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x55e680b04c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x55e6843ad179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x55e6843ad179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x55e6843b4a5c in Run ./../../base/callback.h:97:12 #18 0x55e6843b4a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #19 0x55e6843b4520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55e67d3768f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7fe4b5ef7f44 in __libc_start_main ??:0:0 0x602000065050 is located 0 bytes inside of 8-byte region [0x602000065050,0x602000065058) allocated by thread T0 here: #0 0x55e67c06f70d in operator new(unsigned long) _asan_rtl_:3 #1 0x55e67c6670a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55e67c6670a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55e67c6670a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55e67c6670a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55e67c6670a4 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 0x55e685c42706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55e685c42706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55e685b87b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55e683fa3260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55e67c5dfd22 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:347:7 #11 0x55e680ad95d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55e680ad95d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55e680adb669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55e680adcb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55e680b06146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55e680b04c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55e680b04c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55e6843ad179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55e6843ad179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55e6843b4a5c in Run ./../../base/callback.h:97:12 #21 0x55e6843b4a5c 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 0x55e6843b4520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55e67d3768f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7fe4b5ef7f44 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: 0x0c04800049b0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800049c0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800049d0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800049e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c04800049f0: fa fa 00 00 fa fa fd fd fa fa fd fd fa fa fc fa =>0x0c0480004a00: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 fa 0x0c0480004a10: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480004a20: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 00 0x0c0480004a30: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c0480004a40: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480004a50: 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 ==30038==ABORTING [ RUN ] PersistentWindowControllerTest.RecordNumOfWindowsRestored ================================================================= ==30858==ERROR: AddressSanitizer: container-overflow on address 0x602000063ed0 at pc 0x556e41e10a30 bp 0x7fffcbce3b30 sp 0x7fffcbce3b28 READ of size 8 at 0x602000063ed0 thread T0 #0 0x556e41e10a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x556e41e10a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x556e41c3bcb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x556e41c3dac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x556e441edd1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x556e441e4caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x556e441db2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x556e3a9da2f9 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:362:22 #8 0x556e3eed35d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x556e3eed35d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x556e3eed5669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x556e3eed6b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x556e3ef00146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x556e3eefec24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x556e3eefec24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x556e427a7179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x556e427a7179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x556e427aea5c in Run ./../../base/callback.h:97:12 #18 0x556e427aea5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #19 0x556e427ae520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x556e3b7708f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7fa3a78edf44 in __libc_start_main ??:0:0 0x602000063ed0 is located 0 bytes inside of 8-byte region [0x602000063ed0,0x602000063ed8) allocated by thread T0 here: #0 0x556e3a46970d in operator new(unsigned long) _asan_rtl_:3 #1 0x556e3aa610a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x556e3aa610a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x556e3aa610a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x556e3aa610a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x556e3aa610a4 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 0x556e4403c706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x556e4403c706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x556e43f81b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x556e4239d260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x556e3a9d9d22 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:347:7 #11 0x556e3eed35d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x556e3eed35d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x556e3eed5669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x556e3eed6b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x556e3ef00146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x556e3eefec24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x556e3eefec24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x556e427a7179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x556e427a7179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x556e427aea5c in Run ./../../base/callback.h:97:12 #21 0x556e427aea5c 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 0x556e427ae520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x556e3b7708f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7fa3a78edf44 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 fd fa fa fd fa fa fa fd fa 0x0c0480004790: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047a0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047b0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c04800047c0: fa fa 00 00 fa fa fd fd fa fa fd fd fa fa fc fa =>0x0c04800047d0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 fa 0x0c04800047e0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800047f0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 00 0x0c0480004800: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c0480004810: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480004820: 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 ==30858==ABORTING [ RUN ] PersistentWindowControllerTest.RecordNumOfWindowsRestored ================================================================= ==31066==ERROR: AddressSanitizer: container-overflow on address 0x602000063ed0 at pc 0x55f91dc65a30 bp 0x7ffc98820db0 sp 0x7ffc98820da8 READ of size 8 at 0x602000063ed0 thread T0 #0 0x55f91dc65a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55f91dc65a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55f91da90cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55f91da92ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55f920042d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55f920039caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55f9200302e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55f91682f2f9 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:362:22 #8 0x55f91ad285d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x55f91ad285d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x55f91ad2a669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x55f91ad2bb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x55f91ad55146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x55f91ad53c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x55f91ad53c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x55f91e5fc179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x55f91e5fc179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x55f91e603a5c in Run ./../../base/callback.h:97:12 #18 0x55f91e603a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #19 0x55f91e603520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55f9175c58f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7fc382815f44 in __libc_start_main ??:0:0 0x602000063ed0 is located 0 bytes inside of 8-byte region [0x602000063ed0,0x602000063ed8) allocated by thread T0 here: #0 0x55f9162be70d in operator new(unsigned long) _asan_rtl_:3 #1 0x55f9168b60a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55f9168b60a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55f9168b60a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55f9168b60a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55f9168b60a4 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 0x55f91fe91706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55f91fe91706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55f91fdd6b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55f91e1f2260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55f91682ed22 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:347:7 #11 0x55f91ad285d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55f91ad285d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55f91ad2a669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55f91ad2bb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55f91ad55146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55f91ad53c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55f91ad53c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55f91e5fc179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55f91e5fc179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55f91e603a5c in Run ./../../base/callback.h:97:12 #21 0x55f91e603a5c 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 0x55f91e603520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55f9175c58f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7fc382815f44 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 fd fa fa fd fa fa fa fd fa 0x0c0480004790: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047a0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047b0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c04800047c0: fa fa 00 00 fa fa fd fd fa fa fd fd fa fa fc fa =>0x0c04800047d0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 fa 0x0c04800047e0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800047f0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 00 0x0c0480004800: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c0480004810: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480004820: 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 ==31066==ABORTING [ RUN ] PersistentWindowControllerTest.RecordNumOfWindowsRestored ================================================================= ==31283==ERROR: AddressSanitizer: container-overflow on address 0x602000063ed0 at pc 0x55f1050d0a30 bp 0x7ffda673d570 sp 0x7ffda673d568 READ of size 8 at 0x602000063ed0 thread T0 #0 0x55f1050d0a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55f1050d0a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55f104efbcb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55f104efdac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55f1074add1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55f1074a4caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55f10749b2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55f0fdc9a2f9 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:362:22 #8 0x55f1021935d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x55f1021935d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x55f102195669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x55f102196b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x55f1021c0146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x55f1021bec24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x55f1021bec24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x55f105a67179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x55f105a67179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x55f105a6ea5c in Run ./../../base/callback.h:97:12 #18 0x55f105a6ea5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #19 0x55f105a6e520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55f0fea308f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7f1ebe1fbf44 in __libc_start_main ??:0:0 0x602000063ed0 is located 0 bytes inside of 8-byte region [0x602000063ed0,0x602000063ed8) allocated by thread T0 here: #0 0x55f0fd72970d in operator new(unsigned long) _asan_rtl_:3 #1 0x55f0fdd210a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55f0fdd210a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55f0fdd210a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55f0fdd210a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55f0fdd210a4 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 0x55f1072fc706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55f1072fc706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55f107241b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55f10565d260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55f0fdc99d22 in ash::PersistentWindowControllerTest_RecordNumOfWindowsRestored_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:347:7 #11 0x55f1021935d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55f1021935d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55f102195669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55f102196b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55f1021c0146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55f1021bec24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55f1021bec24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55f105a67179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55f105a67179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55f105a6ea5c in Run ./../../base/callback.h:97:12 #21 0x55f105a6ea5c 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 0x55f105a6e520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55f0fea308f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f1ebe1fbf44 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 fd fa fa fd fa fa fa fd fa 0x0c0480004790: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047a0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c04800047b0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c04800047c0: fa fa 00 00 fa fa fd fd fa fa fd fd fa fa fc fa =>0x0c04800047d0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 fa 0x0c04800047e0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800047f0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 00 0x0c0480004800: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c0480004810: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480004820: 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 ==31283==ABORTING ================================================================================