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

Test 'MenuControllerTest.NoUseAfterFreeWhenMenuCanceledOnMousePress' completed with the following status(es): 'CRASH','SUCCESS' Test 'MenuControllerTest.NoUseAfterFreeWhenMenuCanceledOnMousePress' had the following logs when run: ================================================================================ [ RUN ] MenuControllerTest.NoUseAfterFreeWhenMenuCanceledOnMousePress ==3163==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x7f08ceafbede in atk_object_get_role /home/tim/chromium/src/out/Instrumented-msan-chained-origins-trusty/gen/third_party/instrumented_libraries/atk1.0/atk1.0-2.10.0/atk/atkobject.c:901:3 #1 0x555a77256c22 in FindAtkObjectParentFrame ./../../ui/accessibility/platform/ax_platform_node_auralinux.cc:119:9 #2 0x555a77256c22 in ComputeActiveTopLevelFrame ./../../ui/accessibility/platform/ax_platform_node_auralinux.cc:151:0 #3 0x555a77256c22 in ui::AXPlatformNodeAuraLinux::OnMenuPopupStart() ./../../ui/accessibility/platform/ax_platform_node_auralinux.cc:2869:0 #4 0x555a7641725c in views::ViewAXPlatformNodeDelegate::NotifyAccessibilityEvent(ax::mojom::Event) ./../../ui/views/accessibility/view_ax_platform_node_delegate.cc:138:22 #5 0x555a762ae43c in views::View::NotifyAccessibilityEvent(ax::mojom::Event, bool) ./../../ui/views/view.cc:1389:28 #6 0x555a7610db6f in views::MenuController::OpenMenuImpl(views::MenuItemView*, bool) ./../../ui/views/controls/menu/menu_controller.cc:2025:25 #7 0x555a76106309 in OpenMenu ./../../ui/views/controls/menu/menu_controller.cc:1988:3 #8 0x555a76106309 in views::MenuController::CommitPendingSelection() ./../../ui/views/controls/menu/menu_controller.cc:1949:0 #9 0x555a760ec237 in views::MenuController::SetSelection(views::MenuItemView*, int) ./../../ui/views/controls/menu/menu_controller.cc:1322:5 #10 0x555a760e947a in views::MenuController::Run(views::Widget*, views::MenuButton*, views::MenuItemView*, gfx::Rect const&, views::MenuAnchorPosition, bool, bool) ./../../ui/views/controls/menu/menu_controller.cc:496:3 #11 0x555a73f7e562 in views::test::MenuControllerTest_NoUseAfterFreeWhenMenuCanceledOnMousePress_Test::TestBody() ./../../ui/views/controls/menu/menu_controller_unittest.cc:2120:15 #12 0x555a75d73720 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x555a75d73720 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2499:0 #14 0x555a75d7728c in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #15 0x555a75d78eb9 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #16 0x555a75db48f9 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #17 0x555a75db2f48 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x555a75db2f48 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #19 0x555a76703a2a in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #20 0x555a76703a2a in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #21 0x555a7670cf79 in Run ./../../base/callback.h:97:12 #22 0x555a7670cf79 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ./../../base/test/launcher/unit_test_launcher.cc:225:0 #23 0x555a7670c6d7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #24 0x555a74c8af68 in views::ViewsTestSuite::RunTests() ./../../ui/views/views_test_suite.cc:38:10 #25 0x555a746dfb7a in main ./../../ui/views/run_all_unittests_main.cc:10:44 #26 0x7f08ca55df44 in __libc_start_main ??:0:0 #27 0x555a73b4e029 in _start ??:0:0 Uninitialized value was created by a heap allocation #0 0x555a73bc3a8a in operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/msan/msan_new_delete.cc:45:35 #1 0x555a781e8582 in ui::Compositor::Compositor(viz::FrameSinkId const&, ui::ContextFactory*, ui::ContextFactoryPrivate*, scoped_refptr<base::SingleThreadTaskRunner>, bool, ui::ExternalBeginFrameClient*, bool, char const*, bool) ./../../ui/compositor/compositor.cc:80:22 #2 0x555a7752e2f6 in make_unique<ui::Compositor, const viz::FrameSinkId, ui::ContextFactory *&, ui::ContextFactoryPrivate *&, const scoped_refptr<base::SingleThreadTaskRunner> &, bool, ui::ExternalBeginFrameClient *&, bool &, const char *&, bool &> ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #3 0x555a7752e2f6 in aura::WindowTreeHost::CreateCompositor(viz::FrameSinkId const&, bool, ui::ExternalBeginFrameClient*, bool, char const*, bool) ./../../ui/aura/window_tree_host.cc:397:0 #4 0x555a77537736 in aura::WindowTreeHostPlatform::WindowTreeHostPlatform(ui::PlatformWindowInitProperties, std::__1::unique_ptr<aura::Window, std::__1::default_delete<aura::Window> >, char const*) ./../../ui/aura/window_tree_host_platform.cc:61:3 #5 0x555a7753703c in make_unique<aura::WindowTreeHostPlatform, ui::PlatformWindowInitProperties, std::__1::unique_ptr<aura::Window, std::__1::default_delete<aura::Window> > > ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #6 0x555a7753703c in aura::WindowTreeHost::Create(ui::PlatformWindowInitProperties, aura::Env*) ./../../ui/aura/window_tree_host_platform.cc:49:0 #7 0x555a7755ea48 in aura::TestScreen::CreateHostForPrimaryDisplay(aura::Env*) ./../../ui/aura/test/test_screen.cc:56:13 #8 0x555a77541ee0 in aura::test::AuraTestHelper::SetUp(ui::ContextFactory*, ui::ContextFactoryPrivate*) ./../../ui/aura/test/aura_test_helper.cc:169:29 #9 0x555a74c8e005 in views::ViewsTestHelperAura::SetUp() ./../../ui/views/test/views_test_helper_aura.cc:39:22 #10 0x555a74c7c5a9 in views::ScopedViewsTestHelper::ScopedViewsTestHelper(std::__1::unique_ptr<views::TestViewsDelegate, std::__1::default_delete<views::TestViewsDelegate> >) ./../../ui/views/test/scoped_views_test_helper.cc:38:17 #11 0x555a74c846aa in make_unique<views::ScopedViewsTestHelper, std::__1::unique_ptr<views::TestViewsDelegate, std::__1::default_delete<views::TestViewsDelegate> > > ./../../buildtools/third_party/libc++/trunk/include/memory:3131:32 #12 0x555a74c846aa in views::ViewsTestBase::SetUp() ./../../ui/views/test/views_test_base.cc:146:0 #13 0x555a73f9470c in views::test::MenuControllerTest::SetUp() ./../../ui/views/controls/menu/menu_controller_unittest.cc:337:20 #14 0x555a75d731c8 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x555a75d731c8 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2494:0 #16 0x555a75d7728c in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x555a75d78eb9 in testing::TestSuite::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x555a75db48f9 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x555a75db2f48 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x555a75db2f48 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x555a76703a2a in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 #22 0x555a76703a2a in base::TestSuite::Run() ./../../base/test/test_suite.cc:314:0 #23 0x555a7670cf79 in Run ./../../base/callback.h:97:12 #24 0x555a7670cf79 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 0x555a7670c6d7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ./../../base/test/launcher/unit_test_launcher.cc:575:10 #26 0x555a74c8af68 in views::ViewsTestSuite::RunTests() ./../../ui/views/views_test_suite.cc:38:10 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/instrumented_libraries_prebuilt/msan/lib/libatk-1.0.so.0+0x23ede) Exiting [ RUN ] MenuControllerTest.NoUseAfterFreeWhenMenuCanceledOnMousePress [ OK ] MenuControllerTest.NoUseAfterFreeWhenMenuCanceledOnMousePress (51 ms) ================================================================================