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

Test 'PersistentWindowControllerTest.DisconnectDisplay' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'PersistentWindowControllerTest.DisconnectDisplay' had the following logs when run: ================================================================================ [ RUN ] PersistentWindowControllerTest.DisconnectDisplay ================================================================= ==31753==ERROR: AddressSanitizer: container-overflow on address 0x602000167e50 at pc 0x564dfa01ca30 bp 0x7fff85046310 sp 0x7fff85046308 READ of size 8 at 0x602000167e50 thread T0 #0 0x564dfa01ca2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x564dfa01ca2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x564df9e47cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x564df9e49ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x564dfc3f9d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x564dfc3f0caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x564dfc3e72e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x564df2bd2716 in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:44:22 #8 0x564df70df5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x564df70df5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x564df70e1669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x564df70e2b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x564df710c146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x564df710ac24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x564df710ac24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x564dfa9b3179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x564dfa9b3179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x564dfa9baa5c in Run ./../../base/callback.h:97:12 #18 0x564dfa9baa5c 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 0x564dfa9ba520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x564df397c8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7f651b281f44 in __libc_start_main ??:0:0 0x602000167e50 is located 0 bytes inside of 8-byte region [0x602000167e50,0x602000167e58) allocated by thread T0 here: #0 0x564df267570d in operator new(unsigned long) _asan_rtl_:3 #1 0x564df2c6d0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x564df2c6d0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x564df2c6d0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x564df2c6d0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x564df2c6d0a4 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 0x564dfc248706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x564dfc248706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x564dfc18db1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x564dfa5a9260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x564df2bd214e in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:29:7 #11 0x564df70df5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x564df70df5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x564df70e1669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x564df70e2b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x564df710c146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x564df710ac24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x564df710ac24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x564dfa9b3179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x564dfa9b3179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x564dfa9baa5c in Run ./../../base/callback.h:97:12 #21 0x564dfa9baa5c 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 0x564dfa9ba520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x564df397c8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f651b281f44 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: 0x0c0480024f70: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480024f80: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480024f90: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480024fa0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c0480024fb0: fa fa 00 00 fa fa fd fd fa fa fd fd fa fa fc fa =>0x0c0480024fc0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 fa 0x0c0480024fd0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480024fe0: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 00 0x0c0480024ff0: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa 00 fa 0x0c0480025000: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480025010: 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 ==31753==ABORTING [ RUN ] PersistentWindowControllerTest.DisconnectDisplay ================================================================= ==15595==ERROR: AddressSanitizer: container-overflow on address 0x602000063e90 at pc 0x55f79f98ba30 bp 0x7fff2dbea730 sp 0x7fff2dbea728 READ of size 8 at 0x602000063e90 thread T0 #0 0x55f79f98ba2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55f79f98ba2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55f79f7b6cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55f79f7b8ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55f7a1d68d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55f7a1d5fcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55f7a1d562e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55f798541716 in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:44:22 #8 0x55f79ca4e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x55f79ca4e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x55f79ca50669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x55f79ca51b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x55f79ca7b146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x55f79ca79c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x55f79ca79c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x55f7a0322179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x55f7a0322179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x55f7a0329a5c in Run ./../../base/callback.h:97:12 #18 0x55f7a0329a5c 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 0x55f7a0329520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55f7992eb8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7f0d3dee8f44 in __libc_start_main ??:0:0 0x602000063e90 is located 0 bytes inside of 8-byte region [0x602000063e90,0x602000063e98) allocated by thread T0 here: #0 0x55f797fe470d in operator new(unsigned long) _asan_rtl_:3 #1 0x55f7985dc0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55f7985dc0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55f7985dc0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55f7985dc0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55f7985dc0a4 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 0x55f7a1bb7706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55f7a1bb7706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55f7a1afcb1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x55f79ff18260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x55f79854114e in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:29:7 #11 0x55f79ca4e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55f79ca4e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x55f79ca50669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x55f79ca51b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x55f79ca7b146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x55f79ca79c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x55f79ca79c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x55f7a0322179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x55f7a0322179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x55f7a0329a5c in Run ./../../base/callback.h:97:12 #21 0x55f7a0329a5c 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 0x55f7a0329520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55f7992eb8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f0d3dee8f44 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 ==15595==ABORTING [ RUN ] PersistentWindowControllerTest.DisconnectDisplay ================================================================= ==15842==ERROR: AddressSanitizer: container-overflow on address 0x602000063e90 at pc 0x56479f6b9a30 bp 0x7ffc94f08990 sp 0x7ffc94f08988 READ of size 8 at 0x602000063e90 thread T0 #0 0x56479f6b9a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x56479f6b9a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x56479f4e4cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x56479f4e6ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5647a1a96d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5647a1a8dcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5647a1a842e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x56479826f716 in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:44:22 #8 0x56479c77c5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x56479c77c5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x56479c77e669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x56479c77fb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x56479c7a9146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x56479c7a7c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x56479c7a7c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x5647a0050179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x5647a0050179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x5647a0057a5c in Run ./../../base/callback.h:97:12 #18 0x5647a0057a5c 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 0x5647a0057520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x5647990198f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7f5b3645ef44 in __libc_start_main ??:0:0 0x602000063e90 is located 0 bytes inside of 8-byte region [0x602000063e90,0x602000063e98) allocated by thread T0 here: #0 0x564797d1270d in operator new(unsigned long) _asan_rtl_:3 #1 0x56479830a0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x56479830a0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x56479830a0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x56479830a0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x56479830a0a4 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 0x5647a18e5706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x5647a18e5706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x5647a182ab1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x56479fc46260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x56479826f14e in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:29:7 #11 0x56479c77c5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x56479c77c5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x56479c77e669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x56479c77fb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x56479c7a9146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x56479c7a7c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x56479c7a7c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x5647a0050179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x5647a0050179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x5647a0057a5c in Run ./../../base/callback.h:97:12 #21 0x5647a0057a5c 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 0x5647a0057520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x5647990198f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f5b3645ef44 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 ==15842==ABORTING [ RUN ] PersistentWindowControllerTest.DisconnectDisplay ================================================================= ==16243==ERROR: AddressSanitizer: container-overflow on address 0x602000063e90 at pc 0x5587f1050a30 bp 0x7ffd78406470 sp 0x7ffd78406468 READ of size 8 at 0x602000063e90 thread T0 #0 0x5587f1050a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x5587f1050a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x5587f0e7bcb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5587f0e7dac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5587f342dd1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5587f3424caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5587f341b2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x5587e9c06716 in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:44:22 #8 0x5587ee1135d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #9 0x5587ee1135d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #10 0x5587ee115669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #11 0x5587ee116b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #12 0x5587ee140146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #13 0x5587ee13ec24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x5587ee13ec24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #15 0x5587f19e7179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #16 0x5587f19e7179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #17 0x5587f19eea5c in Run ./../../base/callback.h:97:12 #18 0x5587f19eea5c 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 0x5587f19ee520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #20 0x5587ea9b08f0 in main ./../../ash/test/ash_unittests.cc:24:10 #21 0x7f90bb762f44 in __libc_start_main ??:0:0 0x602000063e90 is located 0 bytes inside of 8-byte region [0x602000063e90,0x602000063e98) allocated by thread T0 here: #0 0x5587e96a970d in operator new(unsigned long) _asan_rtl_:3 #1 0x5587e9ca10a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x5587e9ca10a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x5587e9ca10a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x5587e9ca10a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x5587e9ca10a4 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 0x5587f327c706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x5587f327c706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x5587f31c1b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x5587f15dd260 in ash::AshTestBase::CreateTestWindowInShellWithDelegateAndType(aura::WindowDelegate*, aura::client::WindowType, int, gfx::Rect const&) ./../../ash/test/ash_test_base.cc:381:5 #10 0x5587e9c0614e in ash::PersistentWindowControllerTest_DisconnectDisplay_Test::TestBody() ./../../ash/display/persistent_window_controller_unittest.cc:29:7 #11 0x5587ee1135d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x5587ee1135d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #13 0x5587ee115669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #14 0x5587ee116b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #15 0x5587ee140146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #16 0x5587ee13ec24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #17 0x5587ee13ec24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #18 0x5587f19e7179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #19 0x5587f19e7179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #20 0x5587f19eea5c in Run ./../../base/callback.h:97:12 #21 0x5587f19eea5c 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 0x5587f19ee520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #23 0x5587ea9b08f0 in main ./../../ash/test/ash_unittests.cc:24:10 #24 0x7f90bb762f44 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 ==16243==ABORTING ================================================================================