Capture tests in widget_interactive_uittest.cc fail or crash under mus |
||||||||
Issue descriptionSomething is wrong with capture. WidgetTestInteractive.SystemModalWindowReleasesCapture (run #1): [ RUN ] WidgetTestInteractive.SystemModalWindowReleasesCapture [0512/142602:ERROR:gpu_state.cc(65)] Collect basic graphics info failed! Xlib: extension "RANDR" missing on display ":9". [0512/142602:ERROR:screen_mus.cc(126)] Not implemented reached in virtual gfx::Point views::ScreenMus::GetCursorScreenPoint() ../../ui/views/widget/widget_interactive_uitest.cc:991: Failure Value of: top_level_widget.HasCapture() Actual: true Expected: false Received signal 11 <unknown> 000000000000 #0 0x000000d52db7 base::debug::(anonymous namespace)::StackDumpSignalHandler() #1 0x7ff2afcb6cb0 <unknown> #2 0x000000d609b3 base::subtle::RefCountedThreadSafeBase::HasOneRef() #3 0x000000d625eb base::internal::WeakReferenceOwner::GetRef() #4 0x0000005d1252 mus::WindowTreeClientImpl::LocalSetCapture() #5 0x0000005d5b4b mus::WindowTreeClientImpl::OnChangeCompleted() #6 0x000000999f8f mus::mojom::WindowTreeClientStub::Accept() #7 0x0000009c6b60 mojo::internal::InterfaceEndpointClient::HandleValidatedMessage() #8 0x00000099c89e mus::mojom::WindowTreeClientRequestValidator::Accept() #9 0x0000009c7a4c mojo::internal::InterfaceEndpointClient::HandleIncomingMessage() #10 0x0000009cc474 mojo::internal::MultiplexRouter::ProcessIncomingMessage() #11 0x0000009cbf06 [0512/142602:ERROR:layer_tree_host_impl.cc(2223)] Forcing zero-copy tile initialization as worker context is missing mojo::internal::MultiplexRouter::Accept() #12 0x0000009c972a mojo::internal::MessageHeaderValidator::Accept() #13 0x0000009c58d5 mojo::internal::Connector::ReadSingleMessage() #14 0x0000009c5e34 mojo::internal::Connector::OnHandleReadyInternal() #15 0x0000009d437c mojo::Watcher::OnHandleReady() #16 0x00000092532f _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0ELm1EEEENS0_9BindStateINS0_15RunnableAdapterIMN5views9TextfieldEFviEEEFvPS7_iEJNS_7WeakPtrIS7_EEiEEENS0_12InvokeHelperILb1EvSA_EEFvvEE3RunEPNS0_13BindStateBaseE #17 0x000000da9189 base::debug::TaskAnnotator::RunTask() #18 0x000000d64385 base::MessageLoop::RunTask() #19 0x000000d64698 base::MessageLoop::DeferOrRunPendingTask() #20 0x000000d649bb base::MessageLoop::DoWork() #21 0x000000d666e9 base::MessagePumpGlib::Run() #22 0x000000d63eb1 base::MessageLoop::RunHandler() #23 0x000000d75120 base::RunLoop::Run() #24 0x00000095db83 views::ViewsTestBase::TearDown() #25 0x000000db69ba testing::TestInfo::Run() #26 0x000000db6e43 testing::TestCase::Run() #27 0x000000dbdda9 testing::internal::UnitTestImpl::RunAllTests() #28 0x000000dbda4e testing::UnitTest::Run() #29 0x0000004ac32f base::TestSuite::Run() #30 0x0000004b933f base::(anonymous namespace)::LaunchUnitTestsInternal() #31 0x0000004b9204 [0512/142602:ERROR:screen_mus.cc(126)] Not implemented reached in virtual gfx::Point views::ScreenMus::GetCursorScreenPoint() base::LaunchUnitTests() #32 0x00000043d8cb views::RunAllUnittests() #33 0x7ff2af90a76d __libc_start_main #34 0x00000043d769 <unknown> r8: 000023f804cc6430 r9: 0000000000002bb3 r10: 000023f8039aefc8 r11: 0000000000000246 r12: 000023f803a5c6e0 r13: 000023f803a5c6e0 r14: 00007ffe582eeba8 r15: 000023f803a5c740 di: 400000003f800000 si: 000023f803a5c740 bp: 000023f805dd2d50 bx: 000000000000000b dx: 000023f8039ac4b0 ax: 119deb9a3c212300 cx: 000023f804cc75d0 sp: 00007ffe582eeb38 ip: 0000000000d609b3 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000000 trp: 000000000000000d msk: 0000000000000000 cr2: 0000000000000000 [end of stack trace]
,
May 13 2016
Ditto WidgetCaptureTest.CaptureDesktopNativeWidget and WidgetCaptureTest.MouseExitOnCaptureGrab [ RUN ] WidgetCaptureTest.CaptureDesktopNativeWidget [3188:3188:0513/100403:76803571793:ERROR:screen_mus.cc(126)] Not implemented reached in virtual gfx::Point views::ScreenMus::GetCursorScreenPoint() ../ui/views/widget/widget_interactive_uitest.cc:1353: Failure Value of: widget2.HasCapture() Actual: true Expected: false ../ui/views/widget/widget_interactive_uitest.cc:1355: Failure Value of: widget2.GetAndClearGotCaptureLost() Actual: false Expected: true ../ui/views/widget/widget_interactive_uitest.cc:1360: Failure Value of: widget2.HasCapture() Actual: true Expected: false [ RUN ] WidgetCaptureTest.MouseExitOnCaptureGrab Still waiting for the following processes to finish: outlinux/views_mus_unittests --gtest_filter=Widget*Capture* --gtest_flagfile=/tmp/.org.chromium.Chromium.pLZx68/.org.chromium.Chromium.HhS6rj --single-process-tests --test-launcher-output=/tmp/.org.chromium.Chromium.Ns5ZKY/test_results.xml ../ui/views/widget/widget_interactive_uitest.cc:1472: Failure Expected: (0) < (mouse_view1->ExitedCalls()), actual: 0 vs 0 [6017:6021:0513/101726:77606087196:ERROR:node_controller.cc(878)] Could not be introduced to peer 2BAAB58DCD2EEF37.53C534C33130AAD7 [6016:6019:0513/101726:77606103792:ERROR:node_controller.cc(878)] Could not be introduced to peer ACB20E43F79C2924.78703FB6BA32931D [6016:6019:0513/101726:77606104288:ERROR:node_controller.cc(878)] Could not be introduced to peer 2BAAB58DCD2EEF37.53C534C33130AAD7 [6018:6024:0513/101726:77606125076:ERROR:node_controller.cc(878)] Could not be introduced to peer ACB20E43F79C2924.78703FB6BA32931D [6018:6024:0513/101726:77606125653:ERROR:node_controller.cc(878)] Could not be introduced to peer ACB20E43F79C2924.78703FB6BA32931D [6018:6024:0513/101726:77606240554:ERROR:node_controller.cc(878)] Could not be introduced to peer 76541BFE2A03A74A.A33BCD2EC2709BB7 [6018:6024:0513/101726:77606242100:ERROR:node_controller.cc(878)] Could not be introduced to peer ACB20E43F79C2924.78703FB6BA32931D [6018:6024:0513/101726:77606242345:ERROR:node_controller.cc(878)] Could not be introduced to peer ACB20E43F79C2924.78703FB6BA32931D [ FAILED ] WidgetCaptureTest.MouseExitOnCaptureGrab (4334 ms)
,
May 13 2016
,
May 16 2016
Mark was seeing the same crash in WindowTreeClientImpl::SetLocalCapture with one of his CLs this morning, although I think that particular crash was with views_mus_unittests?
,
May 16 2016
FYI the views_mus_interactive_ui_tests target isn't landed yet, but is out for review at https://codereview.chromium.org/1972363002/
,
Oct 4 2016
,
Feb 26 2018
,
Feb 26 2018
,
Aug 14
,
Sep 7
It looks like all of these tests are ifdef'd out for chromeos. So, I don't think there is anything to do here. I'm closing out. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by jamescook@chromium.org
, May 13 2016