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

Test 'EditableComboboxTest.ClickOnMenuItemSelectsItAndClosesMenu' completed with the following status(es): 'CRASH','SUCCESS' Test 'EditableComboboxTest.ClickOnMenuItemSelectsItAndClosesMenu' had the following logs when run: ================================================================================ [ RUN ] EditableComboboxTest.ClickOnMenuItemSelectsItAndClosesMenu ================================================================= ==34000==ERROR: AddressSanitizer: heap-use-after-free on address 0x6110000ae360 at pc 0x00010dfdd71e bp 0x7ffee50094b0 sp 0x7ffee50094a8 READ of size 4 at 0x6110000ae360 thread T0 #0 0x10dfdd71d in views::MenuClosureAnimationMac::AdvanceAnimation() ??:0:0 #1 0x10e3de9ae in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #2 0x10e434e8e in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ??:0:0 #3 0x10e436067 in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ??:0:0 #4 0x10e2deaeb in base::MessagePumpCFRunLoopBase::RunWork() ??:0:0 #5 0x10e2a0819 in base::mac::CallWithEHFrame(void () block_pointer) ??:0:0 #6 0x10e2dcd75 in base::MessagePumpCFRunLoopBase::RunWorkSource(void*) ??:0:0 #7 0x7fff432e6d30 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ??:0:0 #8 0x7fff4339e60b in __CFRunLoopDoSource0 ??:0:0 #9 0x7fff432c9cdf in __CFRunLoopDoSources0 ??:0:0 #10 0x7fff432c915c in __CFRunLoopRun ??:0:0 #11 0x7fff432c89b6 in CFRunLoopRunSpecific ??:0:0 #12 0x7fff425a8d95 in RunCurrentEventLoopInMode ??:0:0 #13 0x7fff425a8a0e in ReceiveNextEventCommon ??:0:0 #14 0x7fff425a8883 in _BlockUntilNextEventMatchingListInModeWithFilter ??:0:0 #15 0x7fff40859a72 in _DPSNextEvent ??:0:0 #16 0x7fff40fefe33 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] ??:0:0 #17 0x7fff4084e884 in -[NSApplication run] ??:0:0 #18 0x10e2e2075 in base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) ??:0:0 #19 0x10e2db632 in base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) ??:0:0 #20 0x10e436dfd in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ??:0:0 #21 0x10e375ec6 in base::RunLoop::RunWithTimeout(base::TimeDelta) ??:0:0 #22 0x10e37779d in base::RunLoop::RunUntilIdle() ??:0:0 #23 0x10b71b42b in views::test::WaitForMenuClosureAnimation() ??:0:0 #24 0x10ae5e721 in views::(anonymous namespace)::EditableComboboxTest_ClickOnMenuItemSelectsItAndClosesMenu_Test::TestBody() ??:0:0 #25 0x10dc188c0 in testing::Test::Run() ??:0:0 #26 0x10dc1b02a in testing::TestInfo::Run() ??:0:0 #27 0x10dc1c6d6 in testing::TestSuite::Run() ??:0:0 #28 0x10dc49ff6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #29 0x10dc48bfc in testing::UnitTest::Run() ??:0:0 #30 0x10e609daa in base::TestSuite::Run() ??:0:0 #31 0x10e63b8aa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #32 0x10e63b461 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #33 0x10b72a484 in views::ViewsTestSuite::RunTests() ??:0:0 #34 0x10b3cd359 in main ??:0:0 #35 0x7fff6b1b5014 in start ??:0:0 0x6110000ae360 is located 224 bytes inside of 232-byte region [0x6110000ae280,0x6110000ae368) freed by thread T0 here: #0 0x116804c16 in __asan_memmove ??:0:0 #1 0x10dfe41e4 in views::MenuController::Cancel(views::MenuController::ExitType) ??:0:0 #2 0x10e02dcc3 in views::internal::MenuRunnerImpl::Release() ??:0:0 #3 0x10e02fd50 in views::internal::MenuRunnerImplAdapter::Release() ??:0:0 #4 0x10e02d230 in views::MenuRunner::~MenuRunner() ??:0:0 #5 0x10dfbe9b9 in non-virtual thunk to views::EditableCombobox::OnViewBlurred(views::View*) ??:0:0 #6 0x10e180bf9 in views::View::Blur() ??:0:0 #7 0x10e101fcc in views::FocusManager::SetFocusedViewWithReason(views::View*, views::FocusManager::FocusChangeReason) ??:0:0 #8 0x10e1046bb in views::FocusManager::StoreFocusedView(bool) ??:0:0 #9 0x7fff432de5cb in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ ??:0:0 #10 0x7fff432de499 in _CFXRegistrationPost ??:0:0 #11 0x7fff432de1d0 in ___CFXNotificationPost_block_invoke ??:0:0 #12 0x7fff4329cd21 in -[_CFXNotificationRegistrar find:object:observer:enumerator:] ??:0:0 #13 0x7fff4329bdb2 in _CFXNotificationPost ??:0:0 #14 0x7fff453c58c6 in -[NSNotificationCenter postNotificationName:object:userInfo:] ??:0:0 #15 0x7fff40a350e0 in -[NSWindow resignKeyWindow] ??:0:0 #16 0x7fff4112ffec in _NXEndKeyAndMain ??:0:0 #17 0x7fff40c735b3 in -[NSApplication _handleDeactivateEvent:] ??:0:0 #18 0x7fff40fee235 in -[NSApplication(NSEvent) sendEvent:] ??:0:0 #19 0x7fff4084e8b4 in -[NSApplication run] ??:0:0 #20 0x10e2e2075 in base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) ??:0:0 #21 0x10e2db632 in base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) ??:0:0 #22 0x10e436dfd in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ??:0:0 #23 0x10e375ec6 in base::RunLoop::RunWithTimeout(base::TimeDelta) ??:0:0 #24 0x10e37779d in base::RunLoop::RunUntilIdle() ??:0:0 #25 0x10b71b42b in views::test::WaitForMenuClosureAnimation() ??:0:0 #26 0x10ae5e721 in views::(anonymous namespace)::EditableComboboxTest_ClickOnMenuItemSelectsItAndClosesMenu_Test::TestBody() ??:0:0 #27 0x10dc188c0 in testing::Test::Run() ??:0:0 #28 0x10dc1b02a in testing::TestInfo::Run() ??:0:0 #29 0x10dc1c6d6 in testing::TestSuite::Run() ??:0:0 previously allocated by thread T0 here: #0 0x116804acd in __asan_memmove ??:0:0 #1 0x10de4b059 in operator new(unsigned long) ??:0:0 #2 0x10dfeacd9 in views::MenuController::Accept(views::MenuItemView*, int) ??:0:0 #3 0x10dfea090 in views::MenuController::OnMouseReleased(views::SubmenuView*, ui::MouseEvent const&) ??:0:0 #4 0x10e1bce28 in views::Widget::OnMouseEvent(ui::MouseEvent*) ??:0:0 #5 0x10ae5f2f4 in views::(anonymous namespace)::EditableComboboxTest::PerformClick(views::Widget*, gfx::Point const&) ??:0:0 #6 0x10ae5e561 in views::(anonymous namespace)::EditableComboboxTest_ClickOnMenuItemSelectsItAndClosesMenu_Test::TestBody() ??:0:0 #7 0x10dc188c0 in testing::Test::Run() ??:0:0 #8 0x10dc1b02a in testing::TestInfo::Run() ??:0:0 #9 0x10dc1c6d6 in testing::TestSuite::Run() ??:0:0 #10 0x10dc49ff6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #11 0x10dc48bfc in testing::UnitTest::Run() ??:0:0 #12 0x10e609daa in base::TestSuite::Run() ??:0:0 #13 0x10e63b8aa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #14 0x10e63b461 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #15 0x10b72a484 in views::ViewsTestSuite::RunTests() ??:0:0 #16 0x10b3cd359 in main ??:0:0 #17 0x7fff6b1b5014 in start ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/./views_unittests:x86_64+0x1033ed71d) Shadow bytes around the buggy address: 0x1c2200015c10: 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa 0x1c2200015c20: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x1c2200015c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c2200015c40: 00 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c2200015c50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x1c2200015c60: fd fd fd fd fd fd fd fd fd fd fd fd[fd]fa fa fa 0x1c2200015c70: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c2200015c80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2200015c90: fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa 0x1c2200015ca0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2200015cb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 ==34000==ABORTING [ RUN ] EditableComboboxTest.ClickOnMenuItemSelectsItAndClosesMenu [ OK ] EditableComboboxTest.ClickOnMenuItemSelectsItAndClosesMenu (416 ms) ================================================================================