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

Test 'CastDialogViewTest.CastAlternativeSources' completed with the following status(es): 'CRASH','SUCCESS' Test 'CastDialogViewTest.CastAlternativeSources' had the following logs when run: ================================================================================ [ RUN ] CastDialogViewTest.CastAlternativeSources GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: RemoveObserver(0x61a0000c5e28) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. ================================================================= ==4668==ERROR: AddressSanitizer: heap-use-after-free on address 0x61a0000c5ea0 at pc 0x00010d199fc6 bp 0x7ffee8358410 sp 0x7ffee8358408 READ of size 8 at 0x61a0000c5ea0 thread T0 #0 0x10d199fc5 in media_router::CastDialogViewTest_CastAlternativeSources_Test::TestBody() ??:0:0 #1 0x10db07dc0 in testing::Test::Run() ??:0:0 #2 0x10db0a52a in testing::TestInfo::Run() ??:0:0 #3 0x10db0bbd6 in testing::TestSuite::Run() ??:0:0 #4 0x10db383a6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #5 0x10db376cc in testing::UnitTest::Run() ??:0:0 #6 0x119fc0b3a in base::TestSuite::Run() ??:0:0 #7 0x119ff76fa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #8 0x119ff72b1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #9 0x119f830ba in main ??:0:0 #10 0x7fff7c0ed014 in start ??:0:0 0x61a0000c5ea0 is located 1056 bytes inside of 1312-byte region [0x61a0000c5a80,0x61a0000c5fa0) freed by thread T0 here: #0 0x1438a26e6 in __asan_memmove ??:0:0 #1 0x11c734265 in views::Widget::OnNativeWidgetDestroyed() ??:0:0 #2 0x11c70fedb in views::NativeWidgetMac::WindowDestroyed() ??:0:0 #3 0x11c7916a1 in non-virtual thunk to views::BridgedNativeWidgetHostImpl::OnWindowHasClosed() ??:0:0 #4 0x11c4b92da in views::BridgedNativeWidgetImpl::OnWindowWillClose() ??:0:0 #5 0x11c77aae4 in -[ViewsNSWindowDelegate windowWillClose:] ??:0:0 #6 0x7fff542165cb in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ ??:0:0 #7 0x7fff54216499 in _CFXRegistrationPost ??:0:0 #8 0x7fff542161d0 in ___CFXNotificationPost_block_invoke ??:0:0 #9 0x7fff541d4d21 in -[_CFXNotificationRegistrar find:object:observer:enumerator:] ??:0:0 #10 0x7fff541d3db2 in _CFXNotificationPost ??:0:0 #11 0x7fff562fd8c6 in -[NSNotificationCenter postNotificationName:object:userInfo:] ??:0:0 #12 0x7fff520632e7 in -[NSWindow _finishClosingWindow] ??:0:0 #13 0x7fff51a02ed7 in -[NSWindow _close] ??:0:0 #14 0x11c4bfae0 in base::internal::Invoker<base::internal::BindState<base::mac::ScopedBlock<void () block_pointer> >, void ()>::RunOnce(base::internal::BindStateBase*) ??:0:0 #15 0x11c99acce in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #16 0x11c9eff3f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ??:0:0 #17 0x11c9f12ec in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) ??:0:0 #18 0x11c87eacf in base::MessagePumpCFRunLoopBase::RunWork() ??:0:0 #19 0x11c831aa9 in base::mac::CallWithEHFrame(void () block_pointer) ??:0:0 #20 0x11c87ccc5 in base::MessagePumpCFRunLoopBase::RunWorkSource(void*) ??:0:0 #21 0x7fff5421ed30 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ??:0:0 #22 0x7fff542d660b in __CFRunLoopDoSource0 ??:0:0 #23 0x7fff54201cdf in __CFRunLoopDoSources0 ??:0:0 #24 0x7fff5420115c in __CFRunLoopRun ??:0:0 #25 0x7fff542009b6 in CFRunLoopRunSpecific ??:0:0 #26 0x7fff534e0d95 in RunCurrentEventLoopInMode ??:0:0 #27 0x7fff534e0a0e in ReceiveNextEventCommon ??:0:0 #28 0x7fff534e0883 in _BlockUntilNextEventMatchingListInModeWithFilter ??:0:0 #29 0x7fff51791a72 in _DPSNextEvent ??:0:0 previously allocated by thread T0 here: #0 0x1438a259d in __asan_memmove ??:0:0 #1 0x119ed72e9 in operator new(unsigned long) ??:0:0 #2 0x127280a70 in media_router::CastDialogView::ShowDialog(views::View*, views::BubbleBorder::Arrow, media_router::CastDialogController*, Browser*, base::Time const&) ??:0:0 #3 0x10d192c9d in media_router::CastDialogViewTest::InitializeDialogWithModel(media_router::CastDialogModel const&) ??:0:0 #4 0x10d198872 in media_router::CastDialogViewTest_CastAlternativeSources_Test::TestBody() ??:0:0 #5 0x10db07dc0 in testing::Test::Run() ??:0:0 #6 0x10db0a52a in testing::TestInfo::Run() ??:0:0 #7 0x10db0bbd6 in testing::TestSuite::Run() ??:0:0 #8 0x10db383a6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #9 0x10db376cc in testing::UnitTest::Run() ??:0:0 #10 0x119fc0b3a in base::TestSuite::Run() ??:0:0 #11 0x119ff76fa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #12 0x119ff72b1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #13 0x119f830ba in main ??:0:0 #14 0x7fff7c0ed014 in start ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/./unit_tests:x86_64+0x1058f4fc5) Shadow bytes around the buggy address: 0x1c3400018b80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018b90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018ba0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018bb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018bc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x1c3400018bd0: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018be0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018bf0: fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa 0x1c3400018c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x1c3400018c10: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c3400018c20: 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 ==4668==ABORTING [ RUN ] CastDialogViewTest.CastAlternativeSources GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: RemoveObserver(0x61a000006428) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [ OK ] CastDialogViewTest.CastAlternativeSources (566 ms) ================================================================================