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(0x61a0000c5e50) 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. ================================================================= ==25261==ERROR: AddressSanitizer: heap-use-after-free on address 0x61a0000c5ec8 at pc 0x00010deb66b6 bp 0x7ffee769e330 sp 0x7ffee769e328 READ of size 8 at 0x61a0000c5ec8 thread T0 #0 0x10deb66b5 in media_router::CastDialogViewTest_CastAlternativeSources_Test::TestBody() ??:0:0 #1 0x10e88a610 in testing::Test::Run() ??:0:0 #2 0x10e88cd7a in testing::TestInfo::Run() ??:0:0 #3 0x10e88e426 in testing::TestSuite::Run() ??:0:0 #4 0x10e8bbdf6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #5 0x10e8ba9fc in testing::UnitTest::Run() ??:0:0 #6 0x11aeff95a in base::TestSuite::Run() ??:0:0 #7 0x11af3895a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #8 0x11af38511 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #9 0x11aec1537 in main ??:0:0 #10 0x7fff52dcb014 in start ??:0:0 0x61a0000c5ec8 is located 1096 bytes inside of 1352-byte region [0x61a0000c5a80,0x61a0000c5fc8) freed by thread T0 here: #0 0x1450b0c16 in __asan_memmove ??:0:0 #1 0x11d71e665 in views::Widget::OnNativeWidgetDestroyed() ??:0:0 #2 0x11d6fa40b in views::NativeWidgetMac::WindowDestroyed() ??:0:0 #3 0x11d7640c1 in non-virtual thunk to views::BridgedNativeWidgetHostImpl::OnWindowHasClosed() ??:0:0 #4 0x124f2ac79 in views::BridgedNativeWidgetImpl::OnWindowWillClose() ??:0:0 #5 0x124f3ab54 in -[ViewsNSWindowDelegate windowWillClose:] ??:0:0 #6 0x7fff2aef45cb in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ ??:0:0 #7 0x7fff2aef4499 in _CFXRegistrationPost ??:0:0 #8 0x7fff2aef41d0 in ___CFXNotificationPost_block_invoke ??:0:0 #9 0x7fff2aeb2d21 in -[_CFXNotificationRegistrar find:object:observer:enumerator:] ??:0:0 #10 0x7fff2aeb1db2 in _CFXNotificationPost ??:0:0 #11 0x7fff2cfdb8c6 in -[NSNotificationCenter postNotificationName:object:userInfo:] ??:0:0 #12 0x7fff28d412e7 in -[NSWindow _finishClosingWindow] ??:0:0 #13 0x7fff286e0ed7 in -[NSWindow _close] ??:0:0 #14 0x124f316c0 in base::internal::Invoker<base::internal::BindState<base::mac::ScopedBlock<void () block_pointer> >, void ()>::RunOnce(base::internal::BindStateBase*) ??:0:0 #15 0x11d978313 in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ??:0:0 #16 0x11d9cecde in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ??:0:0 #17 0x11d9d00c3 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoDelayedWork(base::TimeTicks*) ??:0:0 #18 0x11d8548bf in base::MessagePumpCFRunLoopBase::RunWork() ??:0:0 #19 0x11d80ae79 in base::mac::CallWithEHFrame(void () block_pointer) ??:0:0 #20 0x11d852ab5 in base::MessagePumpCFRunLoopBase::RunWorkSource(void*) ??:0:0 #21 0x7fff2aefcd30 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ??:0:0 #22 0x7fff2afb460b in __CFRunLoopDoSource0 ??:0:0 #23 0x7fff2aedfcdf in __CFRunLoopDoSources0 ??:0:0 #24 0x7fff2aedf15c in __CFRunLoopRun ??:0:0 #25 0x7fff2aede9b6 in CFRunLoopRunSpecific ??:0:0 #26 0x7fff2a1bed95 in RunCurrentEventLoopInMode ??:0:0 #27 0x7fff2a1beb05 in ReceiveNextEventCommon ??:0:0 #28 0x7fff2a1be883 in _BlockUntilNextEventMatchingListInModeWithFilter ??:0:0 #29 0x7fff2846fa72 in _DPSNextEvent ??:0:0 previously allocated by thread T0 here: #0 0x1450b0acd in __asan_memmove ??:0:0 #1 0x11ae14489 in operator new(unsigned long) ??:0:0 #2 0x128583cf0 in media_router::CastDialogView::ShowDialog(views::View*, views::BubbleBorder::Arrow, media_router::CastDialogController*, Profile*, base::Time const&) ??:0:0 #3 0x10deaf39d in media_router::CastDialogViewTest::InitializeDialogWithModel(media_router::CastDialogModel const&) ??:0:0 #4 0x10deb4f62 in media_router::CastDialogViewTest_CastAlternativeSources_Test::TestBody() ??:0:0 #5 0x10e88a610 in testing::Test::Run() ??:0:0 #6 0x10e88cd7a in testing::TestInfo::Run() ??:0:0 #7 0x10e88e426 in testing::TestSuite::Run() ??:0:0 #8 0x10e8bbdf6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #9 0x10e8ba9fc in testing::UnitTest::Run() ??:0:0 #10 0x11aeff95a in base::TestSuite::Run() ??:0:0 #11 0x11af3895a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #12 0x11af38511 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #13 0x11aec1537 in main ??:0:0 #14 0x7fff52dcb014 in start ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/./unit_tests:x86_64+0x1059576b5) 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 fd fd fd fd fd 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 ==25261==ABORTING [ RUN ] CastDialogViewTest.CastAlternativeSources GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: RemoveObserver(0x61a000006450) 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 (487 ms) ================================================================================