OS: Mac
Test suite: unit_tests
Tests: TranslateBubbleControllerTest
Extra Args: --enable-features=ViewsBrowserWindows
When running MacViews, having Material Refresh on by default breaks the TranslateBubbleControllerTests. I saw this on the mac-views-rel FYI bot. Example first failure: https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/mac-views-rel/2626
robliao@ you turned on Material Refresh by default for MacViews in https://chromium-review.googlesource.com/1119367 could you help triage this to the appropriate owner?
Stack Track of crash:
unit_tests[37377:2878315] *** Owner supplied to -[NSTrackingArea initWithRect:options:owner:userInfo:] referenced a deallocating object. Tracking area behavior is undefined. Break on NSTrackingAreaDeallocatingOwnerError to debug.
Received signal 11 SEGV_MAPERR 000000000000
0 unit_tests 0x000000010e461f5c base::debug::StackTrace::StackTrace(unsigned long) + 28
1 unit_tests 0x000000010e461d91 base::debug::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, void*) + 2401
2 libsystem_platform.dylib 0x00007fff7f798f5a _sigtramp + 26
3 ??? 0x0000000000000018 0x0 + 24
4 unit_tests 0x0000000111687707 LocationBarBubbleDelegateView::LocationBarBubbleDelegateView(views::View*, gfx::Point const&, content::WebContents*) + 55
5 unit_tests 0x00000001116da23f TranslateBubbleView::TranslateBubbleView(views::View*, gfx::Point const&, std::__1::unique_ptr<TranslateBubbleModel, std::__1::default_delete<TranslateBubbleModel> >, translate::TranslateErrors::Type, content::WebContents*) + 31
6 unit_tests 0x00000001116d7a98 TranslateBubbleView::ShowBubble(views::View*, gfx::Point const&, content::WebContents*, translate::TranslateStep, translate::TranslateErrors::Type, LocationBarBubbleDelegateView::DisplayReason) + 440
7 unit_tests 0x00000001116394fe ShowTranslateBubbleViews(NSWindow*, LocationBarViewMac*, content::WebContents*, translate::TranslateStep, translate::TranslateErrors::Type, bool) + 110
8 unit_tests 0x0000000109cc3b63 TranslateBubbleControllerTest::ShowBubble() + 147
9 unit_tests 0x0000000109cc37a6 TranslateBubbleControllerTest_ShowAndClose_Test::TestBody() + 294
10 unit_tests 0x0000000109f969f2 testing::Test::Run() + 274
11 unit_tests 0x0000000109f97660 testing::TestInfo::Run() + 320
12 unit_tests 0x0000000109f97c97 testing::TestCase::Run() + 279
13 unit_tests 0x0000000109fa4407 testing::internal::UnitTestImpl::RunAllTests() + 871
14 unit_tests 0x0000000109fa407d testing::UnitTest::Run() + 109
15 unit_tests 0x000000010d661a06 base::TestSuite::Run() + 166
16 unit_tests 0x000000010d6725be base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) + 382
17 unit_tests 0x000000010d672411 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) + 161
18 unit_tests 0x000000010d64ef3b main + 299
19 libdyld.dylib 0x00007fff7f517115 start + 1
20 ??? 0x0000000000000006 0x0 + 6
Comment 1 by krajshree@chromium.org
, Nov 26