New issue
Advanced search Search tips

Issue 787871 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug

Blocking:
issue 703263



Sign in to add a comment

GpuHostTest.GpuClientDestroyedWhileChannelRequestInFlight crashes when run in the suite

Project Member Reported by danakj@chromium.org, Nov 22 2017

Issue description

It passes when run alone.

[ RUN      ] GpuHostTest.GpuClientDestroyedWhileChannelRequestInFlight
[14339:15909:1122/122916.216132:698292214608:FATAL:gl_factory.cc(22)] Check failed: kGLImplementationNone == GetGLImplementation() (0 vs. 1)
#0 0x7f0b8c6b0ecc base::debug::StackTrace::StackTrace()
#1 0x7f0b8c6dad7c logging::LogMessage::~LogMessage()
#2 0x7f0b854b7857 gl::init::(anonymous namespace)::InitializeGLOneOffHelper()
#3 0x7f0b854b7c3b gl::init::InitializeGLNoExtensionsOneOff()
#4 0x7f0b8ac57ee0 gpu::GpuInit::InitializeInProcess()
#5 0x0000007ca32d viz::VizMainImpl::VizMainImpl()
#6 0x000000901b9f ui::ws::DefaultGpuHost::InitializeVizMain()
#7 0x0000004bf1f0 _ZN4base8internal7InvokerINS0_9BindStateIMN2ui12_GLOBAL__N_111TestGpuImplEFvN4mojo16InterfaceRequestINS3_5mojom3GpuEEEEJNS0_17UnretainedWrapperIS5_EENS0_13PassedWrapperISA_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#8 0x7f0b8c6b17ea base::debug::TaskAnnotator::RunTask()
#9 0x7f0b8c6e5a06 base::internal::IncomingTaskQueue::RunTask()
#10 0x7f0b8c6e9ad7 base::MessageLoop::RunTask()
#11 0x7f0b8c6e9efb base::MessageLoop::DeferOrRunPendingTask()
#12 0x7f0b8c6ea1c8 base::MessageLoop::DoWork()
#13 0x7f0b8c6eb5ca base::MessagePumpDefault::Run()
#14 0x7f0b8c6e930c base::MessageLoop::Run()
#15 0x7f0b8c71f405 base::RunLoop::Run()
#16 0x7f0b8c761eca base::Thread::Run()
#17 0x7f0b8c7624c3 base::Thread::ThreadMain()
#18 0x7f0b8c75865f base::(anonymous namespace)::ThreadFunc()
 

Comment 1 by danakj@chromium.org, Nov 22 2017

Blocking: 703263

Comment 2 by sadrul@chromium.org, Nov 22 2017

What config does it fail in? (when I run it locally on a chromeos build, it works OK)

Comment 3 by danakj@chromium.org, Nov 22 2017

Linux+release+dcheck

Comment 4 by danakj@chromium.org, Nov 22 2017

Labels: OS-Linux

Comment 5 by sadrul@chromium.org, Nov 22 2017

Status: Started (was: Assigned)
CL up for review https://chromium-review.googlesource.com/c/chromium/src/+/785991
Project Member

Comment 6 by bugdroid1@chromium.org, Nov 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/787ac3a06ec1fc3003031ef2612326e5476ecfb6

commit 787ac3a06ec1fc3003031ef2612326e5476ecfb6
Author: Sadrul Habib Chowdhury <sadrul@chromium.org>
Date: Fri Nov 24 19:11:45 2017

glx: Fix shutting down.

Make sure the global states for glx are cleared during shutdown.
Fix the flaky test in services/ui by shutting down glx after a
test.

BUG=787871

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I957f19255eca380297bd01272bcf6790a9ec1f36
Reviewed-on: https://chromium-review.googlesource.com/785991
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519151}
[modify] https://crrev.com/787ac3a06ec1fc3003031ef2612326e5476ecfb6/services/ui/ws/gpu_host_unittest.cc
[modify] https://crrev.com/787ac3a06ec1fc3003031ef2612326e5476ecfb6/ui/gl/gl_surface_glx.cc
[modify] https://crrev.com/787ac3a06ec1fc3003031ef2612326e5476ecfb6/ui/gl/gl_surface_glx.h
[modify] https://crrev.com/787ac3a06ec1fc3003031ef2612326e5476ecfb6/ui/gl/init/gl_initializer_x11.cc

Comment 7 by sadrul@chromium.org, Nov 24 2017

Status: Fixed (was: Started)
Status: Assigned (was: Fixed)
This has regressed (or there's a similar new issue):

$ out/Default/services_unittests
...
[2329/2719] GpuHostTest.GpuClientDestructionOrder (647 ms)
[ RUN      ] GpuHostTest.GpuClientDestroyedWhileChannelRequestInFlight
Received signal 11 SEGV_MAPERR 000000000000
#0 0x7fb28f56309f base::debug::StackTrace::StackTrace()
#1 0x7fb28f562ba1 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fb288d090c0 <unknown>
  r8: 00000744ba1dcdc0  r9: 00000744ba1dcdc0 r10: 0000000000000000 r11: 0000000000000000
 r12: 00007fb2828d5c40 r13: 00000744ba22ae88 r14: 00000744ba22ad80 r15: 00007fb27d45d660
  di: 00000744ba1e1800  si: 00000744ba1dea50  bp: 00007fb27d45d820  bx: 00000744ba1e1800
  dx: 0000000000000000  ax: 0000000000000000  cx: 0000000000000001  sp: 00007fb27d45d658
  ip: 0000000000000000 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000014
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[2330/2719] GpuHostTest.GpuClientDestroyedWhileChannelRequestInFlight (CRASHED)
...
Retrying 1 test (retry #1)
[2720/2720] GpuHostTest.GpuClientDestroyedWhileChannelRequestInFlight (253 ms)
SUCCESS: all tests passed.

Sign in to add a comment