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

Test 'RootWindowControllerTest.MoveWindows_UnderExisting' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'RootWindowControllerTest.MoveWindows_UnderExisting' had the following logs when run: ================================================================================ [ RUN ] RootWindowControllerTest.MoveWindows_UnderExisting ================================================================= ==30327==ERROR: AddressSanitizer: container-overflow on address 0x602000067c58 at pc 0x55889edbba30 bp 0x7ffc1d90b850 sp 0x7ffc1d90b848 READ of size 8 at 0x602000067c58 thread T0 #0 0x55889edbba2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55889edbba2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55889ebe6cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55889ebe8ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5588a1198d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5588a118fcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5588a11862e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x5588a4de1d92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x55889f345f0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x558897fb0da1 in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:374:3 #10 0x55889be7e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55889be7e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55889be80669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55889be81b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55889beab146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55889bea9c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55889bea9c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x55889f752179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x55889f752179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55889f759a5c in Run ./../../base/callback.h:97:12 #20 0x55889f759a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x55889f759520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55889871b8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f0f39281f44 in __libc_start_main ??:0:0 0x602000067c58 is located 8 bytes inside of 16-byte region [0x602000067c50,0x602000067c60) allocated by thread T0 here: #0 0x55889741470d in operator new(unsigned long) _asan_rtl_:3 #1 0x558897a0c0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x558897a0c0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x558897a0c0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x558897a0c0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x558897a0c0a4 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 0x5588a0fe7706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x5588a0fe7706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x5588a0f2cb1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x5588a1671ecb in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:227:5 #10 0x5588a1600957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #11 0x5588a16020ad in views::Widget::CreateWindowWithContextAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:210:11 #12 0x558897fb055c in CreateTestWidget ./../../ash/root_window_controller_unittest.cc:108:29 #13 0x558897fb055c in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:368:0 #14 0x55889be7e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55889be7e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #16 0x55889be80669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #17 0x55889be81b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #18 0x55889beab146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #19 0x55889bea9c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55889bea9c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #21 0x55889f752179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #22 0x55889f752179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #23 0x55889f759a5c in Run ./../../base/callback.h:97:12 #24 0x55889f759a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #25 0x55889f759520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #26 0x55889871b8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #27 0x7f0f39281f44 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: 0x0c0480004f30: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004f40: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004f50: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480004f60: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480004f70: fa fa fd fd fa fa 00 fa fa fa 00 00 fa fa 00 fc =>0x0c0480004f80: fa fa 00 fc fa fa fd fa fa fa 00[fc]fa fa 00 fa 0x0c0480004f90: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fa0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fb0: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004fc0: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004fd0: fa fa fd fd fa fa fd fa fa fa fd fd 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 ==30327==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_UnderExisting ================================================================= ==30800==ERROR: AddressSanitizer: container-overflow on address 0x602000067b38 at pc 0x5559206a1a30 bp 0x7ffd1a530a50 sp 0x7ffd1a530a48 READ of size 8 at 0x602000067b38 thread T0 #0 0x5559206a1a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x5559206a1a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x5559204cccb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5559204ceac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x555922a7ed1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x555922a75caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x555922a6c2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x5559266c7d92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x555920c2bf0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x555919896da1 in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:374:3 #10 0x55591d7645d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55591d7645d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55591d766669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55591d767b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55591d791146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55591d78fc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55591d78fc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x555921038179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x555921038179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55592103fa5c in Run ./../../base/callback.h:97:12 #20 0x55592103fa5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x55592103f520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55591a0018f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f7b51c86f44 in __libc_start_main ??:0:0 0x602000067b38 is located 8 bytes inside of 16-byte region [0x602000067b30,0x602000067b40) allocated by thread T0 here: #0 0x555918cfa70d in operator new(unsigned long) _asan_rtl_:3 #1 0x5559192f20a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x5559192f20a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x5559192f20a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x5559192f20a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x5559192f20a4 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 0x5559228cd706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x5559228cd706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x555922812b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x555922f57ecb in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:227:5 #10 0x555922ee6957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #11 0x555922ee80ad in views::Widget::CreateWindowWithContextAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:210:11 #12 0x55591989655c in CreateTestWidget ./../../ash/root_window_controller_unittest.cc:108:29 #13 0x55591989655c in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:368:0 #14 0x55591d7645d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55591d7645d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #16 0x55591d766669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #17 0x55591d767b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #18 0x55591d791146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #19 0x55591d78fc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55591d78fc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #21 0x555921038179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #22 0x555921038179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #23 0x55592103fa5c in Run ./../../base/callback.h:97:12 #24 0x55592103fa5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #25 0x55592103f520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #26 0x55591a0018f0 in main ./../../ash/test/ash_unittests.cc:24:10 #27 0x7f7b51c86f44 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: 0x0c0480004f10: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f20: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f30: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004f40: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa fd fd 0x0c0480004f50: fa fa 00 fa fa fa 00 00 fa fa 00 fc fa fa 00 fc =>0x0c0480004f60: fa fa fd fa fa fa 00[fc]fa fa 00 fa fa fa fd fa 0x0c0480004f70: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f80: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480004f90: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fa0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fb0: fa fa fd fa fa fa fd fd fa fa 00 00 fa fa 00 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==30800==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_UnderExisting ================================================================= ==31008==ERROR: AddressSanitizer: container-overflow on address 0x602000067b38 at pc 0x560edf767a30 bp 0x7ffc50dc3090 sp 0x7ffc50dc3088 READ of size 8 at 0x602000067b38 thread T0 #0 0x560edf767a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x560edf767a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x560edf592cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x560edf594ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x560ee1b44d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x560ee1b3bcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x560ee1b322e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x560ee578dd92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x560edfcf1f0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x560ed895cda1 in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:374:3 #10 0x560edc82a5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x560edc82a5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x560edc82c669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x560edc82db46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x560edc857146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x560edc855c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x560edc855c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x560ee00fe179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x560ee00fe179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x560ee0105a5c in Run ./../../base/callback.h:97:12 #20 0x560ee0105a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x560ee0105520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x560ed90c78f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7feb8362ff44 in __libc_start_main ??:0:0 0x602000067b38 is located 8 bytes inside of 16-byte region [0x602000067b30,0x602000067b40) allocated by thread T0 here: #0 0x560ed7dc070d in operator new(unsigned long) _asan_rtl_:3 #1 0x560ed83b80a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x560ed83b80a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x560ed83b80a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x560ed83b80a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x560ed83b80a4 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 0x560ee1993706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x560ee1993706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x560ee18d8b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x560ee201decb in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:227:5 #10 0x560ee1fac957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #11 0x560ee1fae0ad in views::Widget::CreateWindowWithContextAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:210:11 #12 0x560ed895c55c in CreateTestWidget ./../../ash/root_window_controller_unittest.cc:108:29 #13 0x560ed895c55c in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:368:0 #14 0x560edc82a5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x560edc82a5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #16 0x560edc82c669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #17 0x560edc82db46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #18 0x560edc857146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #19 0x560edc855c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x560edc855c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #21 0x560ee00fe179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #22 0x560ee00fe179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #23 0x560ee0105a5c in Run ./../../base/callback.h:97:12 #24 0x560ee0105a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #25 0x560ee0105520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #26 0x560ed90c78f0 in main ./../../ash/test/ash_unittests.cc:24:10 #27 0x7feb8362ff44 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: 0x0c0480004f10: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f20: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f30: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004f40: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa fd fd 0x0c0480004f50: fa fa 00 fa fa fa 00 00 fa fa 00 fc fa fa 00 fc =>0x0c0480004f60: fa fa fd fa fa fa 00[fc]fa fa 00 fa fa fa fd fa 0x0c0480004f70: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f80: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480004f90: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fa0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fb0: fa fa fd fa fa fa fd fd fa fa 00 00 fa fa 00 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==31008==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_UnderExisting ================================================================= ==31225==ERROR: AddressSanitizer: container-overflow on address 0x602000067b38 at pc 0x5635d8a25a30 bp 0x7ffd940e5a70 sp 0x7ffd940e5a68 READ of size 8 at 0x602000067b38 thread T0 #0 0x5635d8a25a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x5635d8a25a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x5635d8850cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5635d8852ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x5635dae02d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x5635dadf9caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x5635dadf02e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x5635dea4bd92 in display::test::DisplayManagerTestApi::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ui/display/test/display_manager_test_api.cc:125:21 #8 0x5635d8faff0c in ash::AshTestBase::UpdateDisplay(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../ash/test/ash_test_base.cc:243:8 #9 0x5635d1c1ada1 in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:374:3 #10 0x5635d5ae85d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x5635d5ae85d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x5635d5aea669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x5635d5aebb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x5635d5b15146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x5635d5b13c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x5635d5b13c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x5635d93bc179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x5635d93bc179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x5635d93c3a5c in Run ./../../base/callback.h:97:12 #20 0x5635d93c3a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #21 0x5635d93c3520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x5635d23858f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f6bf7890f44 in __libc_start_main ??:0:0 0x602000067b38 is located 8 bytes inside of 16-byte region [0x602000067b30,0x602000067b40) allocated by thread T0 here: #0 0x5635d107e70d in operator new(unsigned long) _asan_rtl_:3 #1 0x5635d16760a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x5635d16760a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x5635d16760a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x5635d16760a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x5635d16760a4 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 0x5635dac51706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x5635dac51706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x5635dab96b1e in aura::client::ParentWindowWithContext(aura::Window*, aura::Window*, gfx::Rect const&) ./../../ui/aura/client/window_parenting_client.cc:50:19 #9 0x5635db2dbecb in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:227:5 #10 0x5635db26a957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #11 0x5635db26c0ad in views::Widget::CreateWindowWithContextAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:210:11 #12 0x5635d1c1a55c in CreateTestWidget ./../../ash/root_window_controller_unittest.cc:108:29 #13 0x5635d1c1a55c in ash::RootWindowControllerTest_MoveWindows_UnderExisting_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:368:0 #14 0x5635d5ae85d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x5635d5ae85d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #16 0x5635d5aea669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #17 0x5635d5aebb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #18 0x5635d5b15146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #19 0x5635d5b13c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x5635d5b13c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #21 0x5635d93bc179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #22 0x5635d93bc179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #23 0x5635d93c3a5c in Run ./../../base/callback.h:97:12 #24 0x5635d93c3a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #25 0x5635d93c3520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #26 0x5635d23858f0 in main ./../../ash/test/ash_unittests.cc:24:10 #27 0x7f6bf7890f44 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: 0x0c0480004f10: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f20: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f30: fa fa 00 00 fa fa 00 fa fa fa 00 fa fa fa 00 fa 0x0c0480004f40: fa fa 00 fa fa fa 00 00 fa fa fd fd fa fa fd fd 0x0c0480004f50: fa fa 00 fa fa fa 00 00 fa fa 00 fc fa fa 00 fc =>0x0c0480004f60: fa fa fd fa fa fa 00[fc]fa fa 00 fa fa fa fd fa 0x0c0480004f70: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480004f80: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480004f90: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fa0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480004fb0: fa fa fd fa fa fa fd fd fa fa 00 00 fa fa 00 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==31225==ABORTING ================================================================================