New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 827004 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 806508
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

MusDemoTest.CheckMusDemoDraws flake in services_unittests on linux_chromium_ozone_compile_only_ng

Project Member Reported by kbr@chromium.org, Mar 29 2018

Issue description

Flake seen here:
https://ci.chromium.org/buildbot/tryserver.chromium.linux/linux_chromium_ozone_compile_only_ng/37432

Log:

[ RUN      ] MusDemoTest.CheckMusDemoDraws
[13856:13862:0328/180732.731038:51123046034:INFO:service_process_launcher.cc(195)] Launched child process pid=13865, instance=, name=mus_demo, user_id=505C0EE9-3013-43C0-82B0-A84F50CF8D84
[13856:13864:0328/180732.731576:51123046587:INFO:service_process_launcher.cc(195)] Launched child process pid=13866, instance=, name=ui, user_id=c7b8d7e4-94d3-4a08-8195-dbfafdaddcac
/b/s/w/ir/out/Release/mus_demo.service: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0: no version information available (required by /b/s/w/ir/out/Release/mus_demo.service)
/b/s/w/ir/out/Release/ui.service: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0: no version information available (required by /b/s/w/ir/out/Release/ui.service)
[13856:13864:0328/180732.742420:51123057415:INFO:service_process_launcher.cc(195)] Launched child process pid=13883, instance=, name=test_ime_driver, user_id=c7b8d7e4-94d3-4a08-8195-dbfafdaddcac
[13865:13865:0328/180732.743543:51123058522:ERROR:screen_base.cc(40)] Not implemented reached in virtual display::Display display::ScreenBase::GetDisplayNearestWindow(gfx::NativeWindow) const
[13866:13882:0328/180732.746312:51123061291:ERROR:x11_util.cc(90)] X IO error received (X server probably went away)
[13856:13864:0328/180732.749165:51123064148:INFO:service_process_launcher.cc(195)] Launched child process pid=13891, instance=, name=ui, user_id=75fc62da-8d8a-498e-bd4f-35f8084f4f81
/b/s/w/ir/out/Release/ui.service: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0: no version information available (required by /b/s/w/ir/out/Release/ui.service)
[13865:13865:0328/180732.747523:51123062502:FATAL:context_provider_command_buffer.cc(175)] Check failed: channel_.
#0 0x0000008f569c base::debug::StackTrace::StackTrace()
#1 0x000000902e0b logging::LogMessage::~LogMessage()
#2 0x0000008ea091 ui::ContextProviderCommandBuffer::ContextProviderCommandBuffer()
#3 0x0000008edf9c ui::Gpu::CreateContextProvider()
#4 0x000000ec40b1 aura::MusContextFactory::OnEstablishedGpuChannel()
#5 0x000000ec4617 _ZN4base8internal13FunctorTraitsIMN4aura17MusContextFactoryEFvNS_7WeakPtrIN2ui10CompositorEEE13scoped_refptrIN3gpu14GpuChannelHostEEEvE6InvokeINS4_IS3_EEJS7_SB_EEEvSD_OT_DpOT0_
#6 0x0000008eefb1 ui::Gpu::OnEstablishedGpuChannel()
#7 0x0000008eeb01 ui::Gpu::EstablishRequest::FinishOnMain()
#8 0x00000053cd4b _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo3edk12_GLOBAL__N_112ChannelPosixEFvvEJ13scoped_refptrIS6_EEEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#9 0x00000090bf5f base::debug::TaskAnnotator::RunTask()
#10 0x000000909d56 base::internal::IncomingTaskQueue::RunTask()
#11 0x0000009081c7 base::MessageLoop::RunTask()
#12 0x0000009085ea base::MessageLoop::DeferOrRunPendingTask()
#13 0x00000090887e base::MessageLoop::DoWork()
#14 0x00000090c726 base::MessagePumpDefault::Run()
#15 0x000000907a3c base::MessageLoop::Run()
#16 0x000000920246 base::RunLoop::Run()
#17 0x0000009e6295 service_manager::ServiceRunner::Run()
#18 0x0000009e631b service_manager::ServiceRunner::Run()
#19 0x0000004d813f ServiceMain
#20 0x0000004d82c8 (anonymous namespace)::RunServiceMain()
#21 0x0000004d91bd _ZN4base8internal7InvokerINS0_9BindStateIPFvN4mojo16InterfaceRequestIN15service_manager5mojom7ServiceEEEEJEEES9_E3RunEPNS0_13BindStateBaseEOS8_
#22 0x0000004ff1ad service_manager::RunStandaloneService()
#23 0x0000004d8263 main
#24 0x7fceb1ecbf45 __libc_start_main
#25 0x0000004d802a _start
Received signal 6
#0 0x0000008f569c base::debug::StackTrace::StackTrace()
#1 0x0000008f5211 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fceb3f65330 <unknown>
#3 0x7fceb1ee0c37 gsignal
#4 0x7fceb1ee4028 abort
#5 0x0000008f4015 base::debug::BreakDebugger()
#6 0x00000090320f logging::LogMessage::~LogMessage()
#7 0x0000008ea091 ui::ContextProviderCommandBuffer::ContextProviderCommandBuffer()
#8 0x0000008edf9c ui::Gpu::CreateContextProvider()
#9 0x000000ec40b1 aura::MusContextFactory::OnEstablishedGpuChannel()
#10 0x000000ec4617 [13856:13864:0328/180732.759008:51123074000:INFO:service_process_launcher.cc(195)] Launched child process pid=13899, instance=, name=test_ime_driver, user_id=75fc62da-8d8a-498e-bd4f-35f8084f4f81
_ZN4base8internal13FunctorTraitsIMN4aura17MusContextFactoryEFvNS_7WeakPtrIN2ui10CompositorEEE13scoped_refptrIN3gpu14GpuChannelHostEEEvE6InvokeINS4_IS3_EEJS7_SB_EEEvSD_OT_DpOT0_
#11 0x0000008eefb1 ui::Gpu::OnEstablishedGpuChannel()
#12 0x0000008eeb01 ui::Gpu::EstablishRequest::FinishOnMain()
#13 0x00000053cd4b _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo3edk12_GLOBAL__N_112ChannelPosixEFvvEJ13scoped_refptrIS6_EEEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#14 0x00000090bf5f base::debug::TaskAnnotator::RunTask()
#15 0x000000909d56 base::internal::IncomingTaskQueue::RunTask()
#16 0x0000009081c7 base::MessageLoop::RunTask()
#17 0x0000009085ea base::MessageLoop::DeferOrRunPendingTask()
#18 0x00000090887e base::MessageLoop::DoWork()
#19 0x00000090c726 base::MessagePumpDefault::Run()
#20 0x000000907a3c base::MessageLoop::Run()
#21 0x000000920246 base::RunLoop::Run()
#22 0x0000009e6295 service_manager::ServiceRunner::Run()
#23 0x0000009e631b service_manager::ServiceRunner::Run()
#24 0x0000004d813f ServiceMain
#25 0x0000004d82c8 (anonymous namespace)::RunServiceMain()
#26 0x0000004d91bd _ZN4base8internal7InvokerINS0_9BindStateIPFvN4mojo16InterfaceRequestIN15service_manager5mojom7ServiceEEEEJEEES9_E3RunEPNS0_13BindStateBaseEOS8_
#27 0x0000004ff1ad service_manager::RunStandaloneService()
#28 0x0000004d8263 main
#29 0x7fceb1ecbf45 __libc_start_main
#30 0x0000004d802a _start
  r8: 00007fceb436a740  r9: 00001995c39cb000 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007ffc27a748c8 r13: 00007ffc27a748b8 r14: 00007ffc27a748c0 r15: 00007ffc27a74449
  di: 0000000000003629  si: 0000000000003629  bp: 00007ffc27a743f0  bx: 00007ffc27a74460
  dx: 0000000000000006  ax: 0000000000000000  cx: ffffffffffffffff  sp: 00007ffc27a742b8
  ip: 00007fceb1ee0c37 efl: 0000000000000202 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

This is happening moderately frequently based on:
https://ci.chromium.org/buildbot/tryserver.chromium.linux/linux_chromium_ozone_compile_only_ng/?limit=200

Marking P1. CQ must be reliable.

I'm not sure which component to use to target the right folks to look at this.

 
Cc: sadrul@chromium.org kylec...@chromium.org
Components: -Internals>Services>Ash
Owner: penghuang@chromium.org
Status: Assigned (was: Untriaged)
Peng: can you have a look at this. Possibly in cooperation with Sadrul. This is seems like a threading race in how the gpu service is getting launched.

Base on the code, the MusContextFactory::OnEstablishedGpuChannel() could be called with a null gpu channel. It is because the connection error (error[1]).

[1] https://cs.chromium.org/chromium/src/services/ui/public/cpp/gpu/gpu.cc?type=cs&sq=package:chromium&l=209
What should we do in this case? Should we try to create the gpu channel again? or maybe switch to software rendering?
I think this was my bad. The GPU process was probably crashing due to the now reverted https://crrev.com/c/980596.
Cc: -kylec...@chromium.org penghuang@chromium.org
Owner: kylec...@chromium.org
Status: Fixed (was: Assigned)

Comment 6 by kbr@chromium.org, Mar 29 2018

Mergedinto: 806508
Status: Duplicate (was: Fixed)
Thanks for triaging. Duplicating into the other bug.

Sign in to add a comment