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 ================================================================= ==62955==ERROR: AddressSanitizer: heap-use-after-free on address 0x6110000bb060 at pc 0x000106e39fae bp 0x7ffeec25d910 sp 0x7ffeec25d908 READ of size 4 at 0x6110000bb060 thread T0 #0 0x106e39fad in views::MenuClosureAnimationMac::AdvanceAnimation() ??:0:0 #1 0x10723cb0e in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #2 0x107292fee in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ??:0:0 #3 0x1072941c7 in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ??:0:0 #4 0x10713ce0b in base::MessagePumpCFRunLoopBase::RunWork() ??:0:0 #5 0x1070feab9 in base::mac::CallWithEHFrame(void () block_pointer) ??:0:0 #6 0x10713b095 in base::MessagePumpCFRunLoopBase::RunWorkSource(void*) ??:0:0 #7 0x7fff32c2bd30 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ??:0:0 #8 0x7fff32ce360b in __CFRunLoopDoSource0 ??:0:0 #9 0x7fff32c0ecdf in __CFRunLoopDoSources0 ??:0:0 #10 0x7fff32c0e15c in __CFRunLoopRun ??:0:0 #11 0x7fff32c0d9b6 in CFRunLoopRunSpecific ??:0:0 #12 0x7fff31eedd95 in RunCurrentEventLoopInMode ??:0:0 #13 0x7fff31eeda0e in ReceiveNextEventCommon ??:0:0 #14 0x7fff31eed883 in _BlockUntilNextEventMatchingListInModeWithFilter ??:0:0 #15 0x7fff3019ea72 in _DPSNextEvent ??:0:0 #16 0x7fff30934e33 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] ??:0:0 #17 0x7fff30193884 in -[NSApplication run] ??:0:0 #18 0x107140395 in base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) ??:0:0 #19 0x107139952 in base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) ??:0:0 #20 0x107294f5d in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ??:0:0 #21 0x1071d41e6 in base::RunLoop::RunWithTimeout(base::TimeDelta) ??:0:0 #22 0x1071d5abd in base::RunLoop::RunUntilIdle() ??:0:0 #23 0x1044ae18b in views::test::WaitForMenuClosureAnimation() ??:0:0 #24 0x103c01575 in views::(anonymous namespace)::EditableComboboxTest_UpOrDownKeysMoveInMenu_Test::TestBody() ??:0:0 #25 0x106a739a0 in testing::Test::Run() ??:0:0 #26 0x106a7610a in testing::TestInfo::Run() ??:0:0 #27 0x106a777b6 in testing::TestSuite::Run() ??:0:0 #28 0x106aa5186 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #29 0x106aa3d8c in testing::UnitTest::Run() ??:0:0 #30 0x10746680a in base::TestSuite::Run() ??:0:0 #31 0x10749830a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #32 0x107497ec1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #33 0x1044bd1e4 in views::ViewsTestSuite::RunTests() ??:0:0 #34 0x1041654c9 in main ??:0:0 #35 0x7fff5aafa014 in start ??:0:0 0x6110000bb060 is located 224 bytes inside of 232-byte region [0x6110000baf80,0x6110000bb068) freed by thread T0 here: #0 0x10fd30c16 in __asan_memmove ??:0:0 #1 0x106e3f954 in views::MenuController::Cancel(views::MenuController::ExitType) ??:0:0 #2 0x106e8a2c3 in views::internal::MenuRunnerImpl::Release() ??:0:0 #3 0x106e8c350 in views::internal::MenuRunnerImplAdapter::Release() ??:0:0 #4 0x106e89830 in views::MenuRunner::~MenuRunner() ??:0:0 #5 0x106e1b249 in non-virtual thunk to views::EditableCombobox::OnViewBlurred(views::View*) ??:0:0 #6 0x106fdc559 in views::View::Blur() ??:0:0 #7 0x106f5daac in views::FocusManager::SetFocusedViewWithReason(views::View*, views::FocusManager::FocusChangeReason) ??:0:0 #8 0x106f6019b in views::FocusManager::StoreFocusedView(bool) ??:0:0 #9 0x7fff32c235cb in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ ??:0:0 #10 0x7fff32c23499 in _CFXRegistrationPost ??:0:0 #11 0x7fff32c231d0 in ___CFXNotificationPost_block_invoke ??:0:0 #12 0x7fff32be1d21 in -[_CFXNotificationRegistrar find:object:observer:enumerator:] ??:0:0 #13 0x7fff32be0db2 in _CFXNotificationPost ??:0:0 #14 0x7fff34d0a8c6 in -[NSNotificationCenter postNotificationName:object:userInfo:] ??:0:0 #15 0x7fff3037a0e0 in -[NSWindow resignKeyWindow] ??:0:0 #16 0x7fff30a74fec in _NXEndKeyAndMain ??:0:0 #17 0x7fff305b85b3 in -[NSApplication _handleDeactivateEvent:] ??:0:0 #18 0x7fff30933235 in -[NSApplication(NSEvent) sendEvent:] ??:0:0 #19 0x7fff301938b4 in -[NSApplication run] ??:0:0 #20 0x107140395 in base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) ??:0:0 #21 0x107139952 in base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) ??:0:0 #22 0x107294f5d in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ??:0:0 #23 0x1071d41e6 in base::RunLoop::RunWithTimeout(base::TimeDelta) ??:0:0 #24 0x1071d5abd in base::RunLoop::RunUntilIdle() ??:0:0 #25 0x1044ae18b in views::test::WaitForMenuClosureAnimation() ??:0:0 #26 0x103c01575 in views::(anonymous namespace)::EditableComboboxTest_UpOrDownKeysMoveInMenu_Test::TestBody() ??:0:0 #27 0x106a739a0 in testing::Test::Run() ??:0:0 #28 0x106a7610a in testing::TestInfo::Run() ??:0:0 #29 0x106a777b6 in testing::TestSuite::Run() ??:0:0 previously allocated by thread T0 here: #0 0x10fd30acd in __asan_memmove ??:0:0 #1 0x106ca6e49 in operator new(unsigned long) ??:0:0 #2 0x106e47619 in views::MenuController::Accept(views::MenuItemView*, int) ??:0:0 #3 0x106e4d7ee in views::MenuController::OnWillDispatchKeyEvent(ui::KeyEvent*) ??:0:0 #4 0x107058461 in views::BridgedNativeWidgetHostImpl::DispatchKeyEventToMenuController(ui::KeyEvent*) ??:0:0 #5 0x106d5c8cb in -[BridgedContentView dispatchKeyEventToMenuController:] ??:0:0 #6 0x106d5ca35 in -[BridgedContentView handleKeyEvent:] ??:0:0 #7 0x106d5cc81 in -[BridgedContentView handleUnhandledKeyDownAsKeyEvent] ??:0:0 #8 0x106d5fbf4 in -[BridgedContentView keyDown:] ??:0:0 #9 0x7fff30ad343c in -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] ??:0:0 #10 0x7fff30ad1c6f in -[NSWindow(NSEventRouting) sendEvent:] ??:0:0 #11 0x106d8347c in -[NativeWidgetMacNSWindow sendEvent:] ??:0:0 #12 0x109f0274a in ui::EventDispatcher::ProcessEvent(ui::EventTarget*, ui::Event*) ??:0:0 #13 0x109f01eb3 in ui::EventDispatcherDelegate::DispatchEventToTarget(ui::EventTarget*, ui::Event*) ??:0:0 #14 0x109f01bbb in ui::EventDispatcherDelegate::DispatchEvent(ui::EventTarget*, ui::Event*) ??:0:0 #15 0x109f06dfe in ui::EventProcessor::OnEventFromSource(ui::Event*) ??:0:0 #16 0x109f08826 in ui::EventSource::DeliverEventToSink(ui::Event*) ??:0:0 #17 0x109f0846a in ui::EventSource::SendEventToSinkFromRewriter(ui::Event const*, ui::EventRewriter const*) ??:0:0 #18 0x1084e9905 in ui::test::EventGenerator::DispatchKeyEvent(bool, ui::KeyboardCode, int) ??:0:0 #19 0x103c01570 in views::(anonymous namespace)::EditableComboboxTest_UpOrDownKeysMoveInMenu_Test::TestBody() ??:0:0 #20 0x106a739a0 in testing::Test::Run() ??:0:0 #21 0x106a7610a in testing::TestInfo::Run() ??:0:0 #22 0x106a777b6 in testing::TestSuite::Run() ??:0:0 #23 0x106aa5186 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #24 0x106aa3d8c in testing::UnitTest::Run() ??:0:0 #25 0x10746680a in base::TestSuite::Run() ??:0:0 #26 0x10749830a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #27 0x107497ec1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #28 0x1044bd1e4 in views::ViewsTestSuite::RunTests() ??:0:0 #29 0x1041654c9 in main ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/./views_unittests:x86_64+0x10349dfad) Shadow bytes around the buggy address: 0x1c22000175b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c22000175c0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x1c22000175d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c22000175e0: 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c22000175f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x1c2200017600: fd fd fd fd fd fd fd fd fd fd fd fd[fd]fa fa fa 0x1c2200017610: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c2200017620: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2200017630: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa 0x1c2200017640: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2200017650: 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 ==62955==ABORTING [ RUN ] EditableComboboxTest.UpOrDownKeysMoveInMenu [ OK ] EditableComboboxTest.UpOrDownKeysMoveInMenu (459 ms) ================================================================================