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

Test 'EditableComboboxTest.UpOrDownKeysMoveInMenu' completed with the following status(es): 'CRASH','SUCCESS' Test 'EditableComboboxTest.UpOrDownKeysMoveInMenu' had the following logs when run: ================================================================================ [ RUN ] EditableComboboxTest.UpOrDownKeysMoveInMenu ================================================================= ==33999==ERROR: AddressSanitizer: heap-use-after-free on address 0x6110000b1060 at pc 0x00010e6cd71e bp 0x7ffee4919910 sp 0x7ffee4919908 READ of size 4 at 0x6110000b1060 thread T0 #0 0x10e6cd71d in views::MenuClosureAnimationMac::AdvanceAnimation() ??:0:0 #1 0x10eace9ae in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #2 0x10eb24e8e in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ??:0:0 #3 0x10eb26067 in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ??:0:0 #4 0x10e9ceaeb in base::MessagePumpCFRunLoopBase::RunWork() ??:0:0 #5 0x10e990819 in base::mac::CallWithEHFrame(void () block_pointer) ??:0:0 #6 0x10e9ccd75 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 0x10e9d2075 in base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) ??:0:0 #19 0x10e9cb632 in base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) ??:0:0 #20 0x10eb26dfd in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ??:0:0 #21 0x10ea65ec6 in base::RunLoop::RunWithTimeout(base::TimeDelta) ??:0:0 #22 0x10ea6779d in base::RunLoop::RunUntilIdle() ??:0:0 #23 0x10be0b42b in views::test::WaitForMenuClosureAnimation() ??:0:0 #24 0x10b547ca5 in views::(anonymous namespace)::EditableComboboxTest_UpOrDownKeysMoveInMenu_Test::TestBody() ??:0:0 #25 0x10e3088c0 in testing::Test::Run() ??:0:0 #26 0x10e30b02a in testing::TestInfo::Run() ??:0:0 #27 0x10e30c6d6 in testing::TestSuite::Run() ??:0:0 #28 0x10e339ff6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #29 0x10e338bfc in testing::UnitTest::Run() ??:0:0 #30 0x10ecf9daa in base::TestSuite::Run() ??:0:0 #31 0x10ed2b8aa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #32 0x10ed2b461 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #33 0x10be1a484 in views::ViewsTestSuite::RunTests() ??:0:0 #34 0x10babd359 in main ??:0:0 #35 0x7fff6b1b5014 in start ??:0:0 0x6110000b1060 is located 224 bytes inside of 232-byte region [0x6110000b0f80,0x6110000b1068) freed by thread T0 here: #0 0x116eeec16 in __asan_memmove ??:0:0 #1 0x10e6d41e4 in views::MenuController::Cancel(views::MenuController::ExitType) ??:0:0 #2 0x10e71dcc3 in views::internal::MenuRunnerImpl::Release() ??:0:0 #3 0x10e71fd50 in views::internal::MenuRunnerImplAdapter::Release() ??:0:0 #4 0x10e71d230 in views::MenuRunner::~MenuRunner() ??:0:0 #5 0x10e6ae9b9 in non-virtual thunk to views::EditableCombobox::OnViewBlurred(views::View*) ??:0:0 #6 0x10e870bf9 in views::View::Blur() ??:0:0 #7 0x10e7f1fcc in views::FocusManager::SetFocusedViewWithReason(views::View*, views::FocusManager::FocusChangeReason) ??:0:0 #8 0x10e7f46bb 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 0x10e9d2075 in base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) ??:0:0 #21 0x10e9cb632 in base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) ??:0:0 #22 0x10eb26dfd in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ??:0:0 #23 0x10ea65ec6 in base::RunLoop::RunWithTimeout(base::TimeDelta) ??:0:0 #24 0x10ea6779d in base::RunLoop::RunUntilIdle() ??:0:0 #25 0x10be0b42b in views::test::WaitForMenuClosureAnimation() ??:0:0 #26 0x10b547ca5 in views::(anonymous namespace)::EditableComboboxTest_UpOrDownKeysMoveInMenu_Test::TestBody() ??:0:0 #27 0x10e3088c0 in testing::Test::Run() ??:0:0 #28 0x10e30b02a in testing::TestInfo::Run() ??:0:0 #29 0x10e30c6d6 in testing::TestSuite::Run() ??:0:0 previously allocated by thread T0 here: #0 0x116eeeacd in __asan_memmove ??:0:0 #1 0x10e53b059 in operator new(unsigned long) ??:0:0 #2 0x10e6dacd9 in views::MenuController::Accept(views::MenuItemView*, int) ??:0:0 #3 0x10e6e0d0e in views::MenuController::OnWillDispatchKeyEvent(ui::KeyEvent*) ??:0:0 #4 0x10e8ecc01 in views::BridgedNativeWidgetHostImpl::DispatchKeyEventToMenuController(ui::KeyEvent*) ??:0:0 #5 0x10e5f086b in -[BridgedContentView dispatchKeyEventToMenuController:] ??:0:0 #6 0x10e5f09d5 in -[BridgedContentView handleKeyEvent:] ??:0:0 #7 0x10e5f0c21 in -[BridgedContentView handleUnhandledKeyDownAsKeyEvent] ??:0:0 #8 0x10e5f3b94 in -[BridgedContentView keyDown:] ??:0:0 #9 0x7fff4118e43c in -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] ??:0:0 #10 0x7fff4118cc6f in -[NSWindow(NSEventRouting) sendEvent:] ??:0:0 #11 0x10e6171ec in -[NativeWidgetMacNSWindow sendEvent:] ??:0:0 #12 0x11179ebea in ui::EventDispatcher::ProcessEvent(ui::EventTarget*, ui::Event*) ??:0:0 #13 0x11179e353 in ui::EventDispatcherDelegate::DispatchEventToTarget(ui::EventTarget*, ui::Event*) ??:0:0 #14 0x11179e05b in ui::EventDispatcherDelegate::DispatchEvent(ui::EventTarget*, ui::Event*) ??:0:0 #15 0x1117a329e in ui::EventProcessor::OnEventFromSource(ui::Event*) ??:0:0 #16 0x1117a4cc6 in ui::EventSource::DeliverEventToSink(ui::Event*) ??:0:0 #17 0x1117a490a in ui::EventSource::SendEventToSinkFromRewriter(ui::Event const*, ui::EventRewriter const*) ??:0:0 #18 0x10fd80ff5 in ui::test::EventGenerator::DispatchKeyEvent(bool, ui::KeyboardCode, int) ??:0:0 #19 0x10b547ca0 in views::(anonymous namespace)::EditableComboboxTest_UpOrDownKeysMoveInMenu_Test::TestBody() ??:0:0 #20 0x10e3088c0 in testing::Test::Run() ??:0:0 #21 0x10e30b02a in testing::TestInfo::Run() ??:0:0 #22 0x10e30c6d6 in testing::TestSuite::Run() ??:0:0 #23 0x10e339ff6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #24 0x10e338bfc in testing::UnitTest::Run() ??:0:0 #25 0x10ecf9daa in base::TestSuite::Run() ??:0:0 #26 0x10ed2b8aa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #27 0x10ed2b461 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #28 0x10be1a484 in views::ViewsTestSuite::RunTests() ??:0:0 #29 0x10babd359 in main ??: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: 0x1c22000161b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c22000161c0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x1c22000161d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c22000161e0: 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c22000161f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x1c2200016200: fd fd fd fd fd fd fd fd fd fd fd fd[fd]fa fa fa 0x1c2200016210: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c2200016220: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2200016230: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa 0x1c2200016240: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2200016250: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa 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 ==33999==ABORTING [ RUN ] EditableComboboxTest.UpOrDownKeysMoveInMenu [ OK ] EditableComboboxTest.UpOrDownKeysMoveInMenu (439 ms) ================================================================================