Render process hung waiting for a condition variable in HTMLMediaElement::resetMediaPlayerAndMediaSource on Facebook.com
Reported by
vladandj...@gmail.com,
Apr 10 2017
|
||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Example URL: Steps to reproduce the problem: 1. Go to facebook.com (while logged in) 2. Click on Notifications globe and select a post from a Facebook Group What is the expected behavior? No hangs What went wrong? Render process hangs, specifically main thread gets stuck waiting on a condition variable forever. See attached C++ hang stack. JavaScript on the main thread (Thread_211680) is setting the source property of an HTMLMediaElement which results in a (infinite) wait on a condition variable. Compositor thread (Thread_211694) is attempting to acquire a mutex lock. Media thread (Thread_215631) is attempting to acquire a mutex lock. Did this work before? N/A Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 57.0.2987.133 Channel: stable OS Version: OS X 10.12.4 Flash Version: Contents of chrome://gpu: Graphics Feature Status Canvas: Hardware accelerated Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Native GpuMemoryBuffers: Hardware accelerated Rasterization: Hardware accelerated Video Decode: Hardware accelerated Video Encode: Hardware accelerated VPx Video Decode: Hardware accelerated WebGL: Hardware accelerated WebGL2: Hardware accelerated Driver Bug Workarounds add_and_true_to_loop_condition adjust_src_dst_region_for_blitframebuffer decode_encode_srgb_for_generatemipmap disable_framebuffer_cmaa disable_multimonitor_multisampling disable_webgl_rgb_multisampling_usage emulate_abs_int_function get_frag_data_info_bug init_two_cube_map_levels_before_copyteximage msaa_is_slow pack_parameters_workaround_with_pack_buffer rebind_transform_feedback_before_resume regenerate_struct_names remove_invariant_and_centroid_for_essl3 reset_base_mipmap_level_before_texstorage rewrite_texelfetchoffset_to_texelfetch scalarize_vec_and_mat_constructor_args set_zero_level_before_generating_mipmap unfold_short_circuit_as_ternary_operation unpack_alignment_workaround_with_unpack_buffer unpack_image_height_workaround_with_unpack_buffer use_intermediary_for_copy_texture_image use_unused_standard_shared_blocks Problems Detected Multisampling is buggy on OSX when multiple monitors are connected: 237931 Applied Workarounds: disable_multimonitor_multisampling Unfold short circuit on Mac OS X: 307751 Applied Workarounds: unfold_short_circuit_as_ternary_operation Always rewrite vec/mat constructors to be consistent: 398694 Applied Workarounds: scalarize_vec_and_mat_constructor_args Mac drivers handle struct scopes incorrectly: 403957 Applied Workarounds: regenerate_struct_names On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565 Applied Workarounds: msaa_is_slow glGenerateMipmap fails if the zero texture level is not set on some Mac drivers: 560499 Applied Workarounds: set_zero_level_before_generating_mipmap Pack parameters work incorrectly with pack buffer bound: 563714 Applied Workarounds: pack_parameters_workaround_with_pack_buffer Alignment works incorrectly with unpack buffer bound: 563714 Applied Workarounds: unpack_alignment_workaround_with_unpack_buffer copyTexImage2D fails when reading from IOSurface on multiple GPU types.: 581777 Applied Workarounds: use_intermediary_for_copy_texture_image Multisample renderbuffers with format GL_RGB8 have performance issues on Intel GPUs.: 607130 Applied Workarounds: disable_webgl_rgb_multisampling_usage Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198 Applied Workarounds: disable_framebuffer_cmaa glGetFragData{Location|Index} works incorrectly on Max: 638340 Applied Workarounds: get_frag_data_info_bug glResumeTransformFeedback works incorrectly on Intel GPUs: 638514 Applied Workarounds: rebind_transform_feedback_before_resume glTexStorage* are buggy when base mipmap level is not 0: 640506 Applied Workarounds: reset_base_mipmap_level_before_texstorage Result of abs(i) where i is an integer in vertex shader is wrong: 642227 Applied Workarounds: emulate_abs_int_function Rewrite texelFetchOffset to texelFetch for Intel Mac: 642605 Applied Workarounds: rewrite_texelfetchoffset_to_texelfetch Rewrite condition in for and while loops for Intel Mac: 644669 Applied Workarounds: add_and_true_to_loop_condition Decode and encode before generateMipmap for srgb format textures on macosx: 634519 Applied Workarounds: decode_encode_srgb_for_generatemipmap Init first two levels before CopyTexImage2D for cube map texture on Intel Mac 10.12: 648197 Applied Workarounds: init_two_cube_map_levels_before_copyteximage Insert statements to reference all members in unused std140/shared blocks on Mac: 618464 Applied Workarounds: use_unused_standard_shared_blocks Tex(Sub)Image3D performs incorrectly when uploading from unpack buffer with GL_UNPACK_IMAGE_HEIGHT greater than zero on Intel Macs: 654258 Applied Workarounds: unpack_image_height_workaround_with_unpack_buffer adjust src/dst region if blitting pixels outside read framebuffer on Mac: 644740 Applied Workarounds: adjust_src_dst_region_for_blitframebuffer Mac driver GL 4.1 requires invariant and centroid to match between shaders: 639760, 641129 Applied Workarounds: remove_invariant_and_centroid_for_essl3 Disable KHR_blend_equation_advanced until cc shaders are updated: 661715 Version Information Data exported 4/10/2017, 3:06:28 PM Chrome version Chrome/57.0.2987.133 Operating system Mac OS X 10.12.4 Software rendering list version 12.13 Driver bug list version 9.29 ANGLE commit id c1a5d16e964a 2D graphics backend Skia/57 ae9cc5d3588d52f4b371b55845704b25d88cf06d Command Line Args Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end Driver Information Initialization time 57 In-process GPU false Passthrough Command Decoder false Sandboxed true GPU0 VENDOR = 0x8086, DEVICE= 0x0d26 *ACTIVE* Optimus false AMD switchable false Driver vendor Driver version 10.24.45 Driver date Pixel shader version 4.10 Vertex shader version 4.10 Max. MSAA samples 8 Machine model name MacBookPro Machine model version 11.2 GL_VENDOR Intel Inc. GL_RENDERER Intel Iris Pro OpenGL Engine GL_VERSION 4.1 INTEL-10.24.45 GL_EXTENSIONS GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent Window system binding vendor Window system binding version Window system binding extensions Direct rendering Yes Reset notification strategy 0x0000 GPU process crash count 0 Compositor Information Tile Update Mode Zero-copy Partial Raster Enabled GpuMemoryBuffers Status ATC Software only ATCIA Software only DXT1 Software only DXT5 Software only ETC1 Software only R_8 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT RG_88 Software only BGR_565 Software only RGBA_4444 Software only RGBX_8888 Software only RGBA_8888 GPU_READ, SCANOUT BGRX_8888 GPU_READ, SCANOUT BGRA_8888 GPU_READ, SCANOUT, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT YVU_420 Software only YUV_420_BIPLANAR GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT UYVY_422 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT Log Messages [12980:775:0410/111115.650673:ERROR:latency_info.cc(163)] : GpuCommandBufferStub::OnAsyncFlush, LatencyInfo vector size 168 is too big. [12980:775:0410/114328.201089:ERROR:latency_info.cc(163)] : GpuCommandBufferStub::OnAsyncFlush, LatencyInfo vector size 946 is too big. [12980:775:0410/114509.559821:ERROR:gles2_cmd_decoder.cc(4320)] : [.Offscreen-MainThread-0x7fd6e89d3c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete [12980:775:0410/114858.203346:ERROR:latency_info.cc(163)] : GpuCommandBufferStub::OnAsyncFlush, LatencyInfo vector size 953 is too big. [12980:775:0410/125311.029157:ERROR:gles2_cmd_decoder.cc(2463)] : [.Offscreen-For-WebGL-0x7fd6eac05c00]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoCopyTexImageIfNeeded: was unhandled [12980:775:0410/125851.073038:ERROR:interface_registry.cc(203)] : Failed to locate a binder for interface: chrome::mojom::ResourceUsageReporter requested by: exposed by: via InterfaceProviderSpec "service_manager:connector". [12980:775:0410/125851.073089:WARNING:interface_registry.cc(210)] : InterfaceRegistry(service_manager:connector): --> InterfaceRegistry is not yet bound to a pipe. [12980:775:0410/130640.215570:ERROR:interface_registry.cc(203)] : Failed to locate a binder for interface: chrome::mojom::ResourceUsageReporter requested by: exposed by: via InterfaceProviderSpec "service_manager:connector". [12980:775:0410/130640.215600:WARNING:interface_registry.cc(210)] : InterfaceRegistry(service_manager:connector): --> InterfaceRegistry is not yet bound to a pipe. [12980:775:0410/130802.138398:ERROR:interface_registry.cc(203)] : Failed to locate a binder for interface: chrome::mojom::ResourceUsageReporter requested by: exposed by: via InterfaceProviderSpec "service_manager:connector". [12980:775:0410/130802.138423:WARNING:interface_registry.cc(210)] : InterfaceRegistry(service_manager:connector): --> InterfaceRegistry is not yet bound to a pipe. [12980:775:0410/134843.170677:ERROR:latency_info.cc(163)] : GpuCommandBufferStub::OnAsyncFlush, LatencyInfo vector size 277 is too big. [12980:775:0410/135849.122658:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135851.454416:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135851.969890:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135852.971902:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135855.509565:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135855.580841:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135855.587947:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135856.027732:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135858.566274:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135903.141550:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135905.676314:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135908.728186:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135911.278107:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135913.824656:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135916.879377:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135919.926325:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135922.977039:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135925.520088:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135928.574097:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135931.626396:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135934.674384:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135937.218053:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135939.790033:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135940.279752:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135943.334346:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135945.877858:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135948.410701:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135951.461232:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135954.003938:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135957.058702:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/135959.600805:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140002.153112:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140004.701115:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140006.750862:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140007.068601:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140111.545007:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140113.587353:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140114.082995:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140114.592137:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140118.647982:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140122.711861:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140125.250795:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/140125.615508:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe2393b9c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/141129.789819:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141129.789891:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141129.789947:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141129.790000:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141129.790184:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/141130.573903:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141130.573996:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141130.574057:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141130.574115:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141130.574424:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/141131.041205:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.041284:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.041342:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.041405:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.041673:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/141131.540547:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.540599:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.540642:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.540676:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141131.540923:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/141132.051690:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.051755:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.051816:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.051875:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.052139:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command [12980:775:0410/141132.338836:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.338935:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.338974:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.339026:ERROR:gles2_cmd_decoder.cc(4320)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [12980:775:0410/141132.339230:ERROR:gles2_cmd_decoder.cc(2459)] : [.DisplayCompositor-0x7fe23b808200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : ScopedFramebufferBinder::dtor: <- error from previous GL command
,
Apr 10 2017
,
Apr 10 2017
Seems to be something specific to hardware video decode since it's waiting on Sync tokens. Are you able to reproduce Dan?
,
Apr 10 2017
Actually, SyncToken might be from GpuMemoryBuffers, so not hardware decode. +dcastagna.
,
Apr 10 2017
,
Apr 10 2017
,
Apr 10 2017
Does this repro for you everytime? Doesn't repro on Linux AFAICT.
,
Apr 10 2017
,
Apr 10 2017
This reproduces inconsistently. There was a period of time, a couple weeks leading up to around 3/24 (when I first raised this issue internally), where a coworker and I both would reproduce this several times a week. When it happens, that particular tab/process is impossible to salvage and must be force killed. Also, reloading the same url would hang that same tab instantly. The same url in a new tab would not reproduce the problem. Since that time, I was unable to reproduce again until today. But the hang seemed to have occurred simply on www.facebook.com, not on any particular page. I'm not 100% sure of that, though, because I tried to take some other actions before I noticed the tab had hung, and one of them might have been a navigation to the homepage, which would change the url.
,
Apr 10 2017
Is this happening on Windows? Dale, I thought GMBs on windows for SW video playback are not currently used. CCing jbauman that recently slightly changed how resources are returned to the renderer (crrev.com/2769573002)
,
Apr 10 2017
Hmm, seems like we shouldn't be destructing video frames while holding the render lock. I think I broke this when I avoided the trampoline in GVD here: https://codereview.chromium.org/1921803002/ Will revert that portion of GVD and retest performance on the N7v2.
,
Apr 10 2017
This particular instance is from OSX, but similar hangs were frequently observed on Windows. I haven't gotten stack traces/instrumentation from the Windows hangs though, because none have happened since I got debugging instructions.
,
Apr 12 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0a9f673ccd4f82b350c06df622f323b255ebab21 commit 0a9f673ccd4f82b350c06df622f323b255ebab21 Author: dalecurtis <dalecurtis@chromium.org> Date: Wed Apr 12 00:36:15 2017 Always post mailbox release in GpuVideoDecoder; avoids deadlock. We can get into a situation where GVD::ReleaseMailbox() attempts to grab the GL context lock while the compositor holds it wheil waiting on a lock in VideoRendererImpl which may also be held during a call to GVD::ReleaseMailbox(). Not sure how to test this since we have no test harness capable of instantiating all these components at the same time and some live across content/ and media/ boundaries. BUG= 710209 TEST=none Review-Url: https://codereview.chromium.org/2812783002 Cr-Commit-Position: refs/heads/master@{#463857} [modify] https://crrev.com/0a9f673ccd4f82b350c06df622f323b255ebab21/media/filters/gpu_video_decoder.cc
,
Apr 26 2017
This hang was not possible for me to deterministically reproduce. I will run the canary for a few days to get extra coverage in case of breakage, but given the difficulty in getting this hang in the first place that might not give great signal on the actual fix/
,
Apr 26 2017
Okay, I just realized this is already in the M59 branch, so there's nothing to merge here. It's too late to land this in M58 given it's been there since M52 without huge issue. Thanks for trying though! |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by vdje...@fb.com
, Apr 10 2017Labels: OS-Windows