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

Test 'RootWindowControllerTest.MoveWindows_LockWindowsInUnified' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'RootWindowControllerTest.MoveWindows_LockWindowsInUnified' had the following logs when run: ================================================================================ [ RUN ] RootWindowControllerTest.MoveWindows_LockWindowsInUnified ================================================================= ==30319==ERROR: AddressSanitizer: container-overflow on address 0x6020000555f0 at pc 0x562bf79cfa30 bp 0x7ffdf3223ab0 sp 0x7ffdf3223aa8 READ of size 8 at 0x6020000555f0 thread T0 #0 0x562bf79cfa2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x562bf79cfa2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x562bf77facb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x562bf77f98cd in ash::WindowTreeHostManager::OnDisplayAdded(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:519:5 #4 0x562bf9dad1fa in display::DisplayManager::NotifyDisplayAdded(display::Display const&) ./../../ui/display/manager/display_manager.cc:2200:14 #5 0x562bf9da3d4e in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1077:5 #6 0x562bf9d9a2e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x562bfd9f5d92 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 0x562bf7f59f0c 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 0x562bf0bc0f77 in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:311:3 #10 0x562bf4a925d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x562bf4a925d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x562bf4a94669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x562bf4a95b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x562bf4abf146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x562bf4abdc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x562bf4abdc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x562bf8366179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x562bf8366179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x562bf836da5c in Run ./../../base/callback.h:97:12 #20 0x562bf836da5c 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 0x562bf836d520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x562bf132f8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7fb356cedf44 in __libc_start_main ??:0:0 0x6020000555f0 is located 0 bytes inside of 8-byte region [0x6020000555f0,0x6020000555f8) allocated by thread T0 here: #0 0x562bf002870d in operator new(unsigned long) _asan_rtl_:3 #1 0x562bf06200a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x562bf06200a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x562bf06200a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x562bf06200a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x562bf06200a4 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 0x562bf9bfb706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x562bf9bfb706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x562bfa285eb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x562bfa214957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x562bfa213eb0 in views::Widget::CreateWindowWithParentAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:191:11 #11 0x562bf0bc098f in CreateModalWidgetWithParent ./../../ash/root_window_controller_unittest.cc:130:29 #12 0x562bf0bc098f in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:302:0 #13 0x562bf4a925d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x562bf4a925d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #15 0x562bf4a94669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #16 0x562bf4a95b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #17 0x562bf4abf146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #18 0x562bf4abdc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x562bf4abdc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #20 0x562bf8366179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #21 0x562bf8366179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #22 0x562bf836da5c in Run ./../../base/callback.h:97:12 #23 0x562bf836da5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #24 0x562bf836d520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #25 0x562bf132f8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #26 0x7fb356cedf44 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: 0x0c0480002a60: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480002a70: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480002a80: fa fa 00 fa fa fa fd fa fa fa 00 00 fa fa 00 fa 0x0c0480002a90: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa 00 00 0x0c0480002aa0: fa fa fd fd fa fa fd fd fa fa 00 fa fa fa 00 00 =>0x0c0480002ab0: fa fa fc fa fa fa fc fa fa fa fd fa fa fa[fc]fa 0x0c0480002ac0: fa fa 00 00 fa fa 00 fa fa fa 00 00 fa fa 00 00 0x0c0480002ad0: fa fa 00 fa fa fa 00 00 fa fa fd fa fa fa fd fa 0x0c0480002ae0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480002af0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 0x0c0480002b00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd 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 ==30319==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_LockWindowsInUnified ================================================================= ==30814==ERROR: AddressSanitizer: container-overflow on address 0x6020000555d0 at pc 0x56047365ba30 bp 0x7ffdf34b1bb0 sp 0x7ffdf34b1ba8 READ of size 8 at 0x6020000555d0 thread T0 #0 0x56047365ba2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x56047365ba2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x560473486cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5604734858cd in ash::WindowTreeHostManager::OnDisplayAdded(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:519:5 #4 0x560475a391fa in display::DisplayManager::NotifyDisplayAdded(display::Display const&) ./../../ui/display/manager/display_manager.cc:2200:14 #5 0x560475a2fd4e in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1077:5 #6 0x560475a262e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x560479681d92 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 0x560473be5f0c 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 0x56046c84cf77 in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:311:3 #10 0x56047071e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x56047071e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x560470720669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x560470721b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x56047074b146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x560470749c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x560470749c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x560473ff2179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x560473ff2179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x560473ff9a5c in Run ./../../base/callback.h:97:12 #20 0x560473ff9a5c 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 0x560473ff9520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x56046cfbb8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f06dbcf4f44 in __libc_start_main ??:0:0 0x6020000555d0 is located 0 bytes inside of 8-byte region [0x6020000555d0,0x6020000555d8) allocated by thread T0 here: #0 0x56046bcb470d in operator new(unsigned long) _asan_rtl_:3 #1 0x56046c2ac0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x56046c2ac0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x56046c2ac0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x56046c2ac0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x56046c2ac0a4 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 0x560475887706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x560475887706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x560475f11eb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x560475ea0957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x560475e9feb0 in views::Widget::CreateWindowWithParentAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:191:11 #11 0x56046c84c98f in CreateModalWidgetWithParent ./../../ash/root_window_controller_unittest.cc:130:29 #12 0x56046c84c98f in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:302:0 #13 0x56047071e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x56047071e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #15 0x560470720669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #16 0x560470721b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #17 0x56047074b146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #18 0x560470749c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x560470749c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #20 0x560473ff2179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #21 0x560473ff2179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #22 0x560473ff9a5c in Run ./../../base/callback.h:97:12 #23 0x560473ff9a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #24 0x560473ff9520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #25 0x56046cfbb8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #26 0x7f06dbcf4f44 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: 0x0c0480002a60: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480002a70: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c0480002a80: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480002a90: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480002aa0: fa fa fd fd fa fa 00 fa fa fa 00 00 fa fa fc fa =>0x0c0480002ab0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 00 0x0c0480002ac0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 00 fa 0x0c0480002ad0: fa fa 00 00 fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480002ae0: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480002af0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480002b00: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 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 ==30814==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_LockWindowsInUnified ================================================================= ==31022==ERROR: AddressSanitizer: container-overflow on address 0x6020000555d0 at pc 0x564675adda30 bp 0x7fffaac21df0 sp 0x7fffaac21de8 READ of size 8 at 0x6020000555d0 thread T0 #0 0x564675adda2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x564675adda2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x564675908cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5646759078cd in ash::WindowTreeHostManager::OnDisplayAdded(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:519:5 #4 0x564677ebb1fa in display::DisplayManager::NotifyDisplayAdded(display::Display const&) ./../../ui/display/manager/display_manager.cc:2200:14 #5 0x564677eb1d4e in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1077:5 #6 0x564677ea82e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x56467bb03d92 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 0x564676067f0c 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 0x56466eccef77 in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:311:3 #10 0x564672ba05d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x564672ba05d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x564672ba2669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x564672ba3b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x564672bcd146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x564672bcbc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x564672bcbc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x564676474179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x564676474179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x56467647ba5c in Run ./../../base/callback.h:97:12 #20 0x56467647ba5c 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 0x56467647b520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x56466f43d8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f35ac13ef44 in __libc_start_main ??:0:0 0x6020000555d0 is located 0 bytes inside of 8-byte region [0x6020000555d0,0x6020000555d8) allocated by thread T0 here: #0 0x56466e13670d in operator new(unsigned long) _asan_rtl_:3 #1 0x56466e72e0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x56466e72e0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x56466e72e0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x56466e72e0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x56466e72e0a4 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 0x564677d09706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x564677d09706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x564678393eb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x564678322957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x564678321eb0 in views::Widget::CreateWindowWithParentAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:191:11 #11 0x56466ecce98f in CreateModalWidgetWithParent ./../../ash/root_window_controller_unittest.cc:130:29 #12 0x56466ecce98f in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:302:0 #13 0x564672ba05d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x564672ba05d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #15 0x564672ba2669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #16 0x564672ba3b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #17 0x564672bcd146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #18 0x564672bcbc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x564672bcbc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #20 0x564676474179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #21 0x564676474179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #22 0x56467647ba5c in Run ./../../base/callback.h:97:12 #23 0x56467647ba5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #24 0x56467647b520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #25 0x56466f43d8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #26 0x7f35ac13ef44 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: 0x0c0480002a60: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480002a70: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c0480002a80: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480002a90: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480002aa0: fa fa fd fd fa fa 00 fa fa fa 00 00 fa fa fc fa =>0x0c0480002ab0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 00 0x0c0480002ac0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 00 fa 0x0c0480002ad0: fa fa 00 00 fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480002ae0: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480002af0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480002b00: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 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 ==31022==ABORTING [ RUN ] RootWindowControllerTest.MoveWindows_LockWindowsInUnified ================================================================= ==31239==ERROR: AddressSanitizer: container-overflow on address 0x6020000555d0 at pc 0x55f5ec429a30 bp 0x7fffa357bf10 sp 0x7fffa357bf08 READ of size 8 at 0x6020000555d0 thread T0 #0 0x55f5ec429a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55f5ec429a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55f5ec254cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55f5ec2538cd in ash::WindowTreeHostManager::OnDisplayAdded(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:519:5 #4 0x55f5ee8071fa in display::DisplayManager::NotifyDisplayAdded(display::Display const&) ./../../ui/display/manager/display_manager.cc:2200:14 #5 0x55f5ee7fdd4e in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1077:5 #6 0x55f5ee7f42e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55f5f244fd92 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 0x55f5ec9b3f0c 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 0x55f5e561af77 in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:311:3 #10 0x55f5e94ec5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55f5e94ec5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #12 0x55f5e94ee669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #13 0x55f5e94efb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #14 0x55f5e9519146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #15 0x55f5e9517c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55f5e9517c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #17 0x55f5ecdc0179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #18 0x55f5ecdc0179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #19 0x55f5ecdc7a5c in Run ./../../base/callback.h:97:12 #20 0x55f5ecdc7a5c 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 0x55f5ecdc7520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #22 0x55f5e5d898f0 in main ./../../ash/test/ash_unittests.cc:24:10 #23 0x7f8480ae1f44 in __libc_start_main ??:0:0 0x6020000555d0 is located 0 bytes inside of 8-byte region [0x6020000555d0,0x6020000555d8) allocated by thread T0 here: #0 0x55f5e4a8270d in operator new(unsigned long) _asan_rtl_:3 #1 0x55f5e507a0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55f5e507a0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55f5e507a0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55f5e507a0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55f5e507a0a4 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 0x55f5ee655706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55f5ee655706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55f5eecdfeb2 in views::NativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ./../../ui/views/widget/native_widget_aura.cc:225:13 #9 0x55f5eec6e957 in views::Widget::Init(views::Widget::InitParams const&) ./../../ui/views/widget/widget.cc:320:19 #10 0x55f5eec6deb0 in views::Widget::CreateWindowWithParentAndBounds(views::WidgetDelegate*, aura::Window*, gfx::Rect const&) ./../../ui/views/widget/widget.cc:191:11 #11 0x55f5e561a98f in CreateModalWidgetWithParent ./../../ash/root_window_controller_unittest.cc:130:29 #12 0x55f5e561a98f in ash::RootWindowControllerTest_MoveWindows_LockWindowsInUnified_Test::TestBody() ./../../ash/root_window_controller_unittest.cc:302:0 #13 0x55f5e94ec5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x55f5e94ec5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #15 0x55f5e94ee669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #16 0x55f5e94efb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #17 0x55f5e9519146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #18 0x55f5e9517c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x55f5e9517c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #20 0x55f5ecdc0179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #21 0x55f5ecdc0179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #22 0x55f5ecdc7a5c in Run ./../../base/callback.h:97:12 #23 0x55f5ecdc7a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #24 0x55f5ecdc7520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #25 0x55f5e5d898f0 in main ./../../ash/test/ash_unittests.cc:24:10 #26 0x7f8480ae1f44 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: 0x0c0480002a60: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480002a70: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x0c0480002a80: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 fa 0x0c0480002a90: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa fd fd 0x0c0480002aa0: fa fa fd fd fa fa 00 fa fa fa 00 00 fa fa fc fa =>0x0c0480002ab0: fa fa fc fa fa fa fd fa fa fa[fc]fa fa fa 00 00 0x0c0480002ac0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 00 fa 0x0c0480002ad0: fa fa 00 00 fa fa fd fa fa fa fd fa fa fa fd fa 0x0c0480002ae0: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fa 0x0c0480002af0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480002b00: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 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 ==31239==ABORTING ================================================================================