GPU process usually DCHECKs when running DesktopCaptureApiTest.ChooseDesktopMedia |
||||
Issue description
Chrome Version: 64.0.3268.0 (Developer Debug build)
OS: Linux
What steps will reproduce the problem?
(1) Build browser_tests.
(2) Run the DesktopCaptureApitTest.ChooseDesktopMedia.
What is the expected result?
Expect that the test runs cleanly, with no process crashes or other errors.
Expect that if the test has errors (e.g. processes crash) then it fails.
What happens instead?
Sometimes the test runs without a GPU process crash, but usually the GPU process will DCHECK. Even when the GPU process crashes, though, the test will still pass.
./../third_party/swiftshader/src/OpenGL/libEGL/libEGL.cpp:480: EGLBoolean egl::WaitClient(): Assertion `false' failed.
Received signal 6
#0 0x7feaf3a29ebd base::debug::StackTrace::StackTrace()
#1 0x7feaf3a282ec base::debug::StackTrace::StackTrace()
#2 0x7feaf3a29875 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7feaf3ddc0c0 <unknown>
#4 0x7feada6d3fcf gsignal
#5 0x7feada6d53fa abort
#6 0x7feada6cce37 <unknown>
#7 0x7feada6ccee2 __assert_fail
#8 0x7feaf41f0c31 <unknown>
#9 0x7feae908572a gl::EGLApiBase::eglWaitGLFn()
#10 0x7feae90b6dfb gl::NativeViewGLSurfaceEGLX11::Resize()
#11 0x7feae9070ac7 gl::GLSurfaceAdapter::Resize()
#12 0x7feae9376c3c gpu::gles2::GLES2DecoderImpl::HandleResizeCHROMIUM()
#13 0x7feae93e5048 gpu::gles2::GLES2DecoderImpl::DoCommandsImpl<>()
#14 0x7feae93a08c5 gpu::gles2::GLES2DecoderImpl::DoCommands()
#15 0x7feae92f227d gpu::CommandBufferService::Flush()
#16 0x7feae96423bb gpu::GpuCommandBufferStub::OnAsyncFlush()
#17 0x7feae964f54f _ZN4base20DispatchToMethodImplIPN3gpu20GpuCommandBufferStubEMS2_FvijRKNSt3__16vectorIN2ui11LatencyInfoENS4_9allocatorIS7_EEEEENS4_5tupleIJijSA_EEEJLm0ELm1ELm2EEEEvRKT_T0_OT1_NS4_16integer_sequenceImJXspT2_EEEE
#18 0x7feae964f448 _ZN4base16DispatchToMethodIPN3gpu20GpuCommandBufferStubEMS2_FvijRKNSt3__16vectorIN2ui11LatencyInfoENS4_9allocatorIS7_EEEEENS4_5tupleIJijSA_EEEEEvRKT_T0_OT1_
#19 0x7feae964f3d7 _ZN3IPC16DispatchToMethodIN3gpu20GpuCommandBufferStubEMS2_FvijRKNSt3__16vectorIN2ui11LatencyInfoENS3_9allocatorIS6_EEEEEvNS3_5tupleIJijS9_EEEEEvPT_T0_PT1_OT2_
#20 0x7feae964d09b _ZN3IPC8MessageTI35GpuCommandBufferMsg_AsyncFlush_MetaNSt3__15tupleIJijNS2_6vectorIN2ui11LatencyInfoENS2_9allocatorIS6_EEEEEEEvE8DispatchIN3gpu20GpuCommandBufferStubESE_vMSE_FvijRKS9_EEEbPKNS_7MessageEPT_PT0_PT1_T2_
#21 0x7feae963fc5f gpu::GpuCommandBufferStub::OnMessageReceived()
#22 0x7feaef56bb9b IPC::MessageRouter::RouteMessage()
#23 0x7feae962d3a0 gpu::GpuChannel::HandleMessageHelper()
#24 0x7feae9629e93 gpu::GpuChannel::HandleMessage()
#25 0x7feae96349e2 _ZN4base8internal13FunctorTraitsIMN3gpu10GpuChannelEFvRKN3IPC7MessageEEvE6InvokeINS_7WeakPtrIS3_EEJNS4_8MessageTI35GpuCommandBufferMsg_AsyncFlush_MetaNSt3__15tupleIJijNSG_6vectorIN2ui11LatencyInfoENSG_9allocatorISK_EEEEEEEvEEEEEvS9_OT_DpOT0_
#26 0x7feae9634945 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIMN3gpu10GpuChannelEFvRKN3IPC7MessageEENS_7WeakPtrIS5_EEJNS6_8MessageTI35GpuCommandBufferMsg_AsyncFlush_MetaNSt3__15tupleIJijNSG_6vectorIN2ui11LatencyInfoENSG_9allocatorISK_EEEEEEEvEEEEEvOT_OT0_DpOT1_
#27 0x7feae96348bd _ZN4base8internal7InvokerINS0_9BindStateIMN3gpu10GpuChannelEFvRKN3IPC7MessageEEJNS_7WeakPtrIS4_EENS5_8MessageTI35GpuCommandBufferMsg_AsyncFlush_MetaNSt3__15tupleIJijNSF_6vectorIN2ui11LatencyInfoENSF_9allocatorISJ_EEEEEEEvEEEEEFvvEE7RunImplISA_NSG_IJSC_SO_EEEJLm0ELm1EEEEvOT_OT0_NSF_16integer_sequenceImJXspT1_EEEE
#28 0x7feae96347d9 _ZN4base8internal7InvokerINS0_9BindStateIMN3gpu10GpuChannelEFvRKN3IPC7MessageEEJNS_7WeakPtrIS4_EENS5_8MessageTI35GpuCommandBufferMsg_AsyncFlush_MetaNSt3__15tupleIJijNSF_6vectorIN2ui11LatencyInfoENSF_9allocatorISJ_EEEEEEEvEEEEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#29 0x7feae9522211 _ZNO4base12OnceCallbackIFvvEE3RunEv
#30 0x7feae951fcba gpu::Scheduler::RunNextTask()
#31 0x7feae950ccbf _ZN4base8internal13FunctorTraitsIMN3gpu5gles229AsyncReadPixelsCompletedQueryEFvvEvE6InvokeIRKNS_7WeakPtrIS4_EEJEEEvS6_OT_DpOT0_
#32 0x7feae950cc3a _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN3gpu5gles229AsyncReadPixelsCompletedQueryEFvvERKNS_7WeakPtrIS6_EEJEEEvOT_OT0_DpOT1_
#33 0x7feae950cbd0 _ZN4base8internal7InvokerINS0_9BindStateIMN3gpu5gles229AsyncReadPixelsCompletedQueryEFvvEJNS_7WeakPtrIS5_EEEEEFvvEE7RunImplIRKS7_RKNSt3__15tupleIJS9_EEEJLm0EEEEvOT_OT0_NSG_16integer_sequenceImJXspT1_EEEE
#34 0x7feae950cb6c _ZN4base8internal7InvokerINS0_9BindStateIMN3gpu5gles229AsyncReadPixelsCompletedQueryEFvvEJNS_7WeakPtrIS5_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#35 0x7feaf39d6051 _ZNO4base12OnceCallbackIFvvEE3RunEv
#36 0x7feaf3a2e6aa base::debug::TaskAnnotator::RunTask()
#37 0x7feaf3acf065 base::internal::IncomingTaskQueue::RunTask()
#38 0x7feaf3ad7fc0 base::MessageLoop::RunTask()
#39 0x7feaf3ad8276 base::MessageLoop::DeferOrRunPendingTask()
#40 0x7feaf3ad85c0 base::MessageLoop::DoWork()
#41 0x7feaf3adbc8c base::MessagePumpGlib::HandleDispatch()
#42 0x7feaf3adc431 base::(anonymous namespace)::WorkSourceDispatch()
#43 0x7feadcd6a7f7 g_main_context_dispatch
#44 0x7feadcd6aa60 <unknown>
#45 0x7feadcd6ab0c g_main_context_iteration
#46 0x7feaf3adbd8f base::MessagePumpGlib::Run()
#47 0x7feaf3ad773c base::MessageLoop::Run()
#48 0x7feaf3b8472b base::RunLoop::Run()
#49 0x7feaeb3281d6 content::GpuMain()
#50 0x7feaedf547d8 content::RunNamedProcessTypeMain()
#51 0x7feaedf573ca content::ContentMainRunnerImpl::Run()
#52 0x7feaedf4d88d content::ContentServiceManagerMainDelegate::RunEmbedderProcess()
#53 0x7feae771589d service_manager::Main()
#54 0x7feaedf5361f content::ContentMain()
#55 0x000005febbfe content::LaunchTests()
#56 0x000004f7e51f LaunchChromeTests()
#57 0x000004f7d62b main
#58 0x7feada6c12b1 __libc_start_main
#59 0x000001a22029 <unknown>
r8: 0000000000000000 r9: 00007ffc82c31060 r10: 0000000000000008 r11: 0000000000000246
r12: 00000000000001e0 r13: 00007feaf41e3657 r14: 00002f7c7f450bfe r15: 00007feaf3adc410
di: 0000000000000002 si: 00007ffc82c31060 bp: 00007feaf41e3986 bx: 0000000000000006
dx: 0000000000000000 ax: 0000000000000000 cx: 00007feada6d3fcf sp: 00007ffc82c310d8
ip: 00007feada6d3fcf efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[33131:33131:1113/113703.001566:ERROR:program_binding.cc(232)] Error compiling shader:
shader program: #define TexCoordPrecision highp
attribute float a_index;
attribute TexCoordPrecision vec4 a_position;
uniform TexCoordPrecision vec2 quad[4];
uniform mat4 matrix;
varying TexCoordPrecision vec2 v_texCoord;
attribute TexCoordPrecision vec2 a_texCoord;
uniform TexCoordPrecision vec4 vertexTexTransform;
void main() {
// Compute indices for uniform arrays.
int vertex_index = int(a_index);
// Compute the position.
vec4 pos = vec4(quad[vertex_index], a_position.z, a_position.w);
gl_Position = matrix * pos;
// Compute texture coordinates.
vec2 texCoord = a_texCoord;
texCoord = texCoord * vertexTexTransform.zw +
vertexTexTransform.xy;
v_texCoord = texCoord;
}
,
Nov 13 2017
,
Nov 13 2017
Also note that the runs of this test featuring the crash also report: [33131:33162:1113/113703.358910:ERROR:browser_gpu_channel_host_factory.cc(123)] Failed to launch GPU process. Runs without the crash do not.
,
Nov 14 2017
,
Nov 14 2017
,
Jan 23 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by w...@chromium.org
, Nov 13 2017