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

Test 'TouchObserverHUDTest.RemovePrimaryDisplay' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'TouchObserverHUDTest.RemovePrimaryDisplay' had the following logs when run: ================================================================================ [ RUN ] TouchObserverHUDTest.RemovePrimaryDisplay ================================================================= ==30468==ERROR: AddressSanitizer: container-overflow on address 0x60200006ab90 at pc 0x55a807a0da30 bp 0x7fff5433b650 sp 0x7fff5433b648 READ of size 8 at 0x60200006ab90 thread T0 #0 0x55a807a0da2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55a807a0da2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55a807838cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55a80783aac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55a809dead1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55a809de1caa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55a809dd82e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55a801388b53 in ash::TouchObserverHUDTest::RemoveExternalDisplay() ./../../ash/touch/touch_observer_hud_unittest.cc:103:24 #8 0x55a8013891be in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:391:3 #9 0x55a804ad05d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55a804ad05d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55a804ad2669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55a804ad3b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55a804afd146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55a804afbc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55a804afbc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55a8083a4179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55a8083a4179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55a8083aba5c in Run ./../../base/callback.h:97:12 #19 0x55a8083aba5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x55a8083ab520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55a80136d8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f17daaecf44 in __libc_start_main ??:0:0 0x60200006ab90 is located 0 bytes inside of 8-byte region [0x60200006ab90,0x60200006ab98) allocated by thread T0 here: #0 0x55a80006670d in operator new(unsigned long) _asan_rtl_:3 #1 0x55a80065e0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55a80065e0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55a80065e0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55a80065e0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55a80065e0a4 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 0x55a809c39706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55a809c39706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55a80a2ce9a8 in views::internal::NativeWidgetPrivate::ReparentNativeView(aura::Window*, aura::Window*) ./../../ui/views/widget/native_widget_aura.cc:1216:17 #9 0x55a807d8d8c0 in OnDisplayConfigurationChanging ./../../ash/touch/touch_observer_hud.cc:488:3 #10 0x55a807d8d8c0 in non-virtual thunk to ash::TouchObserverHUD::OnDisplayConfigurationChanging() ./../../ash/touch/touch_observer_hud.cc:0:0 #11 0x55a80783c016 in ash::WindowTreeHostManager::PreDisplayConfigurationChange(bool) ./../../ash/display/window_tree_host_manager.cc:686:14 #12 0x55a809de1257 in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1045:16 #13 0x55a809de79fa in display::DisplayManager::UpdateDisplays() ./../../ui/display/manager/display_manager.cc:903:3 #14 0x55a80783ec9a in ash::WindowTreeHostManager::SetPrimaryDisplayId(long) ./../../ash/display/window_tree_host_manager.cc:781:24 #15 0x55a8013891b6 in SetExternalAsPrimary ./../../ash/touch/touch_observer_hud_unittest.cc:74:33 #16 0x55a8013891b6 in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:388:0 #17 0x55a804ad05d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x55a804ad05d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #19 0x55a804ad2669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #20 0x55a804ad3b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #21 0x55a804afd146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #22 0x55a804afbc24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x55a804afbc24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #24 0x55a8083a4179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #25 0x55a8083a4179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #26 0x55a8083aba5c in Run ./../../base/callback.h:97:12 #27 0x55a8083aba5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #28 0x55a8083ab520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #29 0x55a80136d8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #30 0x7f17daaecf44 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: 0x0c0480005520: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005530: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005540: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005550: fa fa fd fd fa fa fd fa fa fa fc fa fa fa fc fa 0x0c0480005560: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa =>0x0c0480005570: fa fa[fc]fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005580: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005590: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800055a0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800055b0: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800055c0: fa fa fd fd 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 ==30468==ABORTING [ RUN ] TouchObserverHUDTest.RemovePrimaryDisplay ================================================================= ==30735==ERROR: AddressSanitizer: container-overflow on address 0x602000069b90 at pc 0x5571596a6a30 bp 0x7ffe19971910 sp 0x7ffe19971908 READ of size 8 at 0x602000069b90 thread T0 #0 0x5571596a6a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x5571596a6a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x5571594d1cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x5571594d3ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55715ba83d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55715ba7acaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55715ba712e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x557153021b53 in ash::TouchObserverHUDTest::RemoveExternalDisplay() ./../../ash/touch/touch_observer_hud_unittest.cc:103:24 #8 0x5571530221be in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:391:3 #9 0x5571567695d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x5571567695d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55715676b669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55715676cb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x557156796146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x557156794c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x557156794c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55715a03d179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55715a03d179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55715a044a5c in Run ./../../base/callback.h:97:12 #19 0x55715a044a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x55715a044520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x5571530068f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f559a413f44 in __libc_start_main ??:0:0 0x602000069b90 is located 0 bytes inside of 8-byte region [0x602000069b90,0x602000069b98) allocated by thread T0 here: #0 0x557151cff70d in operator new(unsigned long) _asan_rtl_:3 #1 0x5571522f70a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x5571522f70a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x5571522f70a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x5571522f70a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x5571522f70a4 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 0x55715b8d2706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55715b8d2706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55715bf679a8 in views::internal::NativeWidgetPrivate::ReparentNativeView(aura::Window*, aura::Window*) ./../../ui/views/widget/native_widget_aura.cc:1216:17 #9 0x557159a268c0 in OnDisplayConfigurationChanging ./../../ash/touch/touch_observer_hud.cc:488:3 #10 0x557159a268c0 in non-virtual thunk to ash::TouchObserverHUD::OnDisplayConfigurationChanging() ./../../ash/touch/touch_observer_hud.cc:0:0 #11 0x5571594d5016 in ash::WindowTreeHostManager::PreDisplayConfigurationChange(bool) ./../../ash/display/window_tree_host_manager.cc:686:14 #12 0x55715ba7a257 in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1045:16 #13 0x55715ba809fa in display::DisplayManager::UpdateDisplays() ./../../ui/display/manager/display_manager.cc:903:3 #14 0x5571594d7c9a in ash::WindowTreeHostManager::SetPrimaryDisplayId(long) ./../../ash/display/window_tree_host_manager.cc:781:24 #15 0x5571530221b6 in SetExternalAsPrimary ./../../ash/touch/touch_observer_hud_unittest.cc:74:33 #16 0x5571530221b6 in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:388:0 #17 0x5571567695d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x5571567695d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #19 0x55715676b669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #20 0x55715676cb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #21 0x557156796146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #22 0x557156794c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x557156794c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #24 0x55715a03d179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #25 0x55715a03d179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #26 0x55715a044a5c in Run ./../../base/callback.h:97:12 #27 0x55715a044a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #28 0x55715a044520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #29 0x5571530068f0 in main ./../../ash/test/ash_unittests.cc:24:10 #30 0x7f559a413f44 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: 0x0c0480005320: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005330: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005340: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005350: fa fa fd fd fa fa fd fa fa fa fc fa fa fa fc fa 0x0c0480005360: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa =>0x0c0480005370: fa fa[fc]fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005380: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005390: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800053a0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800053b0: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800053c0: fa fa fd fd 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 ==30735==ABORTING [ RUN ] TouchObserverHUDTest.RemovePrimaryDisplay ================================================================= ==30951==ERROR: AddressSanitizer: container-overflow on address 0x602000069b90 at pc 0x558b786bba30 bp 0x7ffc5ee2f9f0 sp 0x7ffc5ee2f9e8 READ of size 8 at 0x602000069b90 thread T0 #0 0x558b786bba2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x558b786bba2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x558b784e6cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x558b784e8ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x558b7aa98d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x558b7aa8fcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x558b7aa862e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x558b72036b53 in ash::TouchObserverHUDTest::RemoveExternalDisplay() ./../../ash/touch/touch_observer_hud_unittest.cc:103:24 #8 0x558b720371be in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:391:3 #9 0x558b7577e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x558b7577e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x558b75780669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x558b75781b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x558b757ab146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x558b757a9c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x558b757a9c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x558b79052179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x558b79052179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x558b79059a5c in Run ./../../base/callback.h:97:12 #19 0x558b79059a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x558b79059520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x558b7201b8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f7702d10f44 in __libc_start_main ??:0:0 0x602000069b90 is located 0 bytes inside of 8-byte region [0x602000069b90,0x602000069b98) allocated by thread T0 here: #0 0x558b70d1470d in operator new(unsigned long) _asan_rtl_:3 #1 0x558b7130c0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x558b7130c0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x558b7130c0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x558b7130c0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x558b7130c0a4 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 0x558b7a8e7706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x558b7a8e7706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x558b7af7c9a8 in views::internal::NativeWidgetPrivate::ReparentNativeView(aura::Window*, aura::Window*) ./../../ui/views/widget/native_widget_aura.cc:1216:17 #9 0x558b78a3b8c0 in OnDisplayConfigurationChanging ./../../ash/touch/touch_observer_hud.cc:488:3 #10 0x558b78a3b8c0 in non-virtual thunk to ash::TouchObserverHUD::OnDisplayConfigurationChanging() ./../../ash/touch/touch_observer_hud.cc:0:0 #11 0x558b784ea016 in ash::WindowTreeHostManager::PreDisplayConfigurationChange(bool) ./../../ash/display/window_tree_host_manager.cc:686:14 #12 0x558b7aa8f257 in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1045:16 #13 0x558b7aa959fa in display::DisplayManager::UpdateDisplays() ./../../ui/display/manager/display_manager.cc:903:3 #14 0x558b784ecc9a in ash::WindowTreeHostManager::SetPrimaryDisplayId(long) ./../../ash/display/window_tree_host_manager.cc:781:24 #15 0x558b720371b6 in SetExternalAsPrimary ./../../ash/touch/touch_observer_hud_unittest.cc:74:33 #16 0x558b720371b6 in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:388:0 #17 0x558b7577e5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x558b7577e5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #19 0x558b75780669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #20 0x558b75781b46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #21 0x558b757ab146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #22 0x558b757a9c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x558b757a9c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #24 0x558b79052179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #25 0x558b79052179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #26 0x558b79059a5c in Run ./../../base/callback.h:97:12 #27 0x558b79059a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #28 0x558b79059520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #29 0x558b7201b8f0 in main ./../../ash/test/ash_unittests.cc:24:10 #30 0x7f7702d10f44 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: 0x0c0480005320: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005330: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005340: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005350: fa fa fd fd fa fa fd fa fa fa fc fa fa fa fc fa 0x0c0480005360: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa =>0x0c0480005370: fa fa[fc]fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005380: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005390: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800053a0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800053b0: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800053c0: fa fa fd fd 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 ==30951==ABORTING [ RUN ] TouchObserverHUDTest.RemovePrimaryDisplay ================================================================= ==31168==ERROR: AddressSanitizer: container-overflow on address 0x602000069b90 at pc 0x55e09aee9a30 bp 0x7fff9c092e30 sp 0x7fff9c092e28 READ of size 8 at 0x602000069b90 thread T0 #0 0x55e09aee9a2f in ReparentAllWindows ./../../ash/root_window_controller.cc:256:41 #1 0x55e09aee9a2f in ash::RootWindowController::MoveWindowsTo(aura::Window*) ./../../ash/root_window_controller.cc:622:0 #2 0x55e09ad14cb5 in ash::WindowTreeHostManager::DeleteHost(ash::AshWindowTreeHost*) ./../../ash/display/window_tree_host_manager.cc:563:15 #3 0x55e09ad16ac5 in ash::WindowTreeHostManager::OnDisplayRemoved(display::Display const&) ./../../ash/display/window_tree_host_manager.cc:620:3 #4 0x55e09d2c6d1a in display::DisplayManager::NotifyDisplayRemoved(display::Display const&) ./../../ui/display/manager/display_manager.cc:2205:14 #5 0x55e09d2bdcaa in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1074:5 #6 0x55e09d2b42e0 in display::DisplayManager::OnNativeDisplaysChanged(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:895:3 #7 0x55e094864b53 in ash::TouchObserverHUDTest::RemoveExternalDisplay() ./../../ash/touch/touch_observer_hud_unittest.cc:103:24 #8 0x55e0948651be in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:391:3 #9 0x55e097fac5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #10 0x55e097fac5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #11 0x55e097fae669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #12 0x55e097fafb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #13 0x55e097fd9146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #14 0x55e097fd7c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55e097fd7c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #16 0x55e09b880179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #17 0x55e09b880179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #18 0x55e09b887a5c in Run ./../../base/callback.h:97:12 #19 0x55e09b887a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #20 0x55e09b887520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #21 0x55e0948498f0 in main ./../../ash/test/ash_unittests.cc:24:10 #22 0x7f034f644f44 in __libc_start_main ??:0:0 0x602000069b90 is located 0 bytes inside of 8-byte region [0x602000069b90,0x602000069b98) allocated by thread T0 here: #0 0x55e09354270d in operator new(unsigned long) _asan_rtl_:3 #1 0x55e093b3a0a4 in __libcpp_allocate ./../../buildtools/third_party/libc++/trunk/include/new:238:10 #2 0x55e093b3a0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1813:0 #3 0x55e093b3a0a4 in allocate ./../../buildtools/third_party/libc++/trunk/include/memory:1546:0 #4 0x55e093b3a0a4 in __split_buffer ./../../buildtools/third_party/libc++/trunk/include/__split_buffer:311:0 #5 0x55e093b3a0a4 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 0x55e09d115706 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1643:9 #7 0x55e09d115706 in aura::Window::AddChild(aura::Window*) ./../../ui/aura/window.cc:422:0 #8 0x55e09d7aa9a8 in views::internal::NativeWidgetPrivate::ReparentNativeView(aura::Window*, aura::Window*) ./../../ui/views/widget/native_widget_aura.cc:1216:17 #9 0x55e09b2698c0 in OnDisplayConfigurationChanging ./../../ash/touch/touch_observer_hud.cc:488:3 #10 0x55e09b2698c0 in non-virtual thunk to ash::TouchObserverHUD::OnDisplayConfigurationChanging() ./../../ash/touch/touch_observer_hud.cc:0:0 #11 0x55e09ad18016 in ash::WindowTreeHostManager::PreDisplayConfigurationChange(bool) ./../../ash/display/window_tree_host_manager.cc:686:14 #12 0x55e09d2bd257 in display::DisplayManager::UpdateDisplaysWith(std::__1::vector<display::ManagedDisplayInfo, std::__1::allocator<display::ManagedDisplayInfo> > const&) ./../../ui/display/manager/display_manager.cc:1045:16 #13 0x55e09d2c39fa in display::DisplayManager::UpdateDisplays() ./../../ui/display/manager/display_manager.cc:903:3 #14 0x55e09ad1ac9a in ash::WindowTreeHostManager::SetPrimaryDisplayId(long) ./../../ash/display/window_tree_host_manager.cc:781:24 #15 0x55e0948651b6 in SetExternalAsPrimary ./../../ash/touch/touch_observer_hud_unittest.cc:74:33 #16 0x55e0948651b6 in ash::TouchObserverHUDTest_RemovePrimaryDisplay_Test::TestBody() ./../../ash/touch/touch_observer_hud_unittest.cc:388:0 #17 0x55e097fac5d0 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x55e097fac5d0 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2512:0 #19 0x55e097fae669 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2688:11 #20 0x55e097fafb46 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2818:28 #21 0x55e097fd9146 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5276:44 #22 0x55e097fd7c24 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x55e097fd7c24 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4864:0 #24 0x55e09b880179 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 #25 0x55e09b880179 in base::TestSuite::Run() ./../../base/test/test_suite.cc:316:0 #26 0x55e09b887a5c in Run ./../../base/callback.h:97:12 #27 0x55e09b887a5c in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #28 0x55e09b887520 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #29 0x55e0948498f0 in main ./../../ash/test/ash_unittests.cc:24:10 #30 0x7f034f644f44 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: 0x0c0480005320: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005330: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x0c0480005340: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa 0x0c0480005350: fa fa fd fd fa fa fd fa fa fa fc fa fa fa fc fa 0x0c0480005360: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa =>0x0c0480005370: fa fa[fc]fa fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005380: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c0480005390: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800053a0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fa 0x0c04800053b0: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 0x0c04800053c0: fa fa fd fd 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 ==31168==ABORTING ================================================================================