EventMonitorTest.ShouldReceiveAppEventsWhileInstalled crashes locally |
||
Issue description
Chrome Version : 69 ToT
OS Version: OS X 10.13.4
[ RUN ] EventMonitorTest.ShouldReceiveAppEventsWhileInstalled
2018-06-08 16:58:23.971 views_unittests[67644:9006769] *** WARNING: Textured window <NativeWidgetMacNSWindow: 0x7f974ad056c0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
Received signal 11 SEGV_MAPERR 000000000000
0 libbase.dylib 0x0000000111d2002e base::debug::StackTrace::StackTrace(unsigned long) + 174
1 libbase.dylib 0x0000000111d200ed base::debug::StackTrace::StackTrace(unsigned long) + 29
2 libbase.dylib 0x000000011194873c base::debug::StackTrace::StackTrace() + 28
3 libbase.dylib 0x0000000111d1fe1f base::debug::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, void*) + 1407
4 libsystem_platform.dylib 0x00007fff51fcef5a _sigtramp + 26
5 ??? 0x0000000000000012 0x0 + 18
6 libviews.dylib 0x00000001105dfcc2 -[NativeWidgetMacNSWindow accessibilityFocusedUIElement] + 50
7 AppKit 0x00007fff26f1e273 NSAccessibilityGetObjectForAttributeUsingLegacyAPI + 371
8 AppKit 0x00007fff26f1d756 NSAccessibilityGetObjectValueForAttribute + 1367
9 AppKit 0x00007fff26f1cdb6 -[NSAccessibilityAttributeAccessorInfo getAttributeValue:forObject:] + 58
10 AppKit 0x00007fff274d4263 ___NSAccessibilityEntryPointValueForAttribute_block_invoke.816.llvm.BD8B677 + 880
11 AppKit 0x00007fff274d010b NSAccessibilityPerformEntryPointObject.llvm.BD8B677 + 16
12 AppKit 0x00007fff274d02d7 _NSAccessibilityEntryPointValueForAttribute.llvm.BD8B677 + 182
13 AppKit 0x00007fff27277749 -[NSObject(NSAccessibilityInternal) _accessibilityValueForAttribute:clientError:] + 351
14 AppKit 0x00007fff272b937f -[NSApplication(NSApplicationAccessibility) _accessibilityValueForAttribute:clientError:] + 49
15 AppKit 0x00007fff2727e3ac CopyAppKitUIElementAttributeValueNoCatch + 98
16 AppKit 0x00007fff2727bfe6 CopyAttributeValue + 172
17 HIServices 0x00007fff2817f02d _AXXMIGCopyAttributeValue + 282
18 HIServices 0x00007fff28188fa8 _XCopyAttributeValue + 455
19 HIServices 0x00007fff281616f1 mshMIGPerform + 212
20 CoreFoundation 0x00007fff29911ae9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
21 CoreFoundation 0x00007fff29911a35 __CFRunLoopDoSource1 + 533
22 CoreFoundation 0x00007fff299097c0 __CFRunLoopRun + 2848
23 CoreFoundation 0x00007fff29908a07 CFRunLoopRunSpecific + 487
24 HIToolbox 0x00007fff28be6d96 RunCurrentEventLoopInMode + 286
25 HIToolbox 0x00007fff28be6a0f ReceiveNextEventCommon + 366
26 HIToolbox 0x00007fff28be6884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
27 AppKit 0x00007fff26e99a73 _DPSNextEvent + 2085
28 AppKit 0x00007fff2762fe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
29 AppKit 0x00007fff26e8e885 -[NSApplication run] + 764
30 libbase.dylib 0x0000000111a2f3fc base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 348
31 libbase.dylib 0x0000000111a2c285 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 101
32 libbase.dylib 0x0000000111a1fb2c base::MessageLoop::Run(bool) + 556
33 libbase.dylib 0x0000000111b166fe base::RunLoop::Run() + 606
34 libbase.dylib 0x0000000111b174f2 base::RunLoop::RunUntilIdle() + 210
35 views_unittests 0x000000010e7f9604 views::ViewsTestBase::RunPendingMessages() + 52
36 views_unittests 0x000000010e7f9515 views::ViewsTestBase::TearDown() + 37
37 views_unittests 0x000000010e5e2d5f views::test::EventMonitorTest::TearDown() + 47
38 views_unittests 0x000000010e8876be void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 126
39 views_unittests 0x000000010e8599f2 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 114
40 views_unittests 0x000000010e85996b testing::Test::Run() + 267
41 views_unittests 0x000000010e85a9e0 testing::TestInfo::Run() + 224
42 views_unittests 0x000000010e85bdaf testing::TestCase::Run() + 239
43 views_unittests 0x000000010e8702a6 testing::internal::UnitTestImpl::RunAllTests() + 886
44 views_unittests 0x000000010e88a76e bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 126
45 views_unittests 0x000000010e86feb2 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 114
46 views_unittests 0x000000010e86fd8b testing::UnitTest::Run() + 395
47 views_unittests 0x000000010ee061c1 RUN_ALL_TESTS() + 17
48 views_unittests 0x000000010ee054cb base::TestSuite::Run() + 363
49 views_unittests 0x000000010e7fda6d int base::internal::FunctorTraits<int (base::TestSuite::*)(), void>::Invoke<int (base::TestSuite::*)(), views::ViewsTestSuite*>(int (base::TestSuite::*)(), views::ViewsTestSuite*&&) + 125
50 views_unittests 0x000000010e7fd9b4 int base::internal::InvokeHelper<false, int>::MakeItSo<int (base::TestSuite::*)(), views::ViewsTestSuite*>(int (base::TestSuite::*&&)(), views::ViewsTestSuite*&&) + 68
51 views_unittests 0x000000010e7fd943 int base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<views::ViewsTestSuite> >, int ()>::RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<views::ViewsTestSuite> >, 0ul>(int (base::TestSuite::*&&)(), std::__1::tuple<base::internal::UnretainedWrapper<views::ViewsTestSuite> >&&, std::__1::integer_sequence<unsigned long, 0ul>) + 99
52 views_unittests 0x000000010e7fd859 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<views::ViewsTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) + 57
53 views_unittests 0x000000010ee5113c base::OnceCallback<int ()>::Run() && + 92
54 views_unittests 0x000000010ee4e706 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) + 390
55 views_unittests 0x000000010ee4e533 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) + 179
56 views_unittests 0x000000010e7fd2fc views::ViewsTestSuite::RunTests() + 108
57 views_unittests 0x000000010e29ca5b main + 75
58 libdyld.dylib 0x00007fff51cc0015 start + 1
59 ??? 0x0000000000000004 0x0 + 4
[end of stack trace]
[1031/1031] EventMonitorTest.ShouldReceiveAppEventsWhileInstalled (CRASHED)
1 test crashed:
EventMonitorTest.ShouldReceiveAppEventsWhileInstalled (../../ui/views/event_monitor_unittest.cc:48)
,
Jun 9 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/126899f3abe92f3e3ba7a1b498ff2490ac735d77 commit 126899f3abe92f3e3ba7a1b498ff2490ac735d77 Author: Trent Apted <tapted@chromium.org> Date: Sat Jun 09 03:41:35 2018 Fix (locally) failing EventMonitorTest.ShouldReceiveAppEventsWhileInstalled. The test can fail under EventMonitorTest::TearDown() due to access on a partially destroyed a11y object. Add a delegate check on NativeWidgetMacNSWindow, as for the other a11y methods. Bug: 850849 Change-Id: I93ee88817f2b84766f8e91fd2af089603fa9e895 Reviewed-on: https://chromium-review.googlesource.com/1092400 Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#565838} [modify] https://crrev.com/126899f3abe92f3e3ba7a1b498ff2490ac735d77/ui/views/cocoa/native_widget_mac_nswindow.mm
,
Jun 12 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by tapted@chromium.org
, Jun 8 2018