[Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

[Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by jobbautista9 » 2023-01-30, 13:39

Operating system: Devuan GNU/Linux testing
Browser version: 32.0.0
32-bit or 64-bit browser?: 64-bit
Problem URL: https://www.youtube.com/watch?v=EKJr_e8ojzA (example livestream, if it ended, try a lofi stream with a decent amount of activity in live chat)
Browser theme (if not default): Default
Installed add-ons: None
Installed plugins: (about:plugins): DjView-4.12, VLC Web Plugin, Adobe Flash 34.0.0.137, Java(TM) Plug-in 11.261.2

If possible, please include the output of help->troubleshooting information (as text):
Application Basics
------------------

Name: Pale Moon
Version: 32.0.0 (64-bit)
Build ID: 20230123173541
Update Channel: release
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Goanna/6.0 Firefox/102.0 PaleMoon/32.0.0
OS: Linux 6.1.0-1-amd64
Safe Mode: false

Extensions
----------

Graphics
--------

Features
Compositing: Basic
GPU Accelerated Windows: 0/1 Basic (OMTC)
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_no_config_context GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
WebGL 1 Driver Renderer: Intel -- Mesa Intel(R) HD Graphics 520 (SKL GT2)
WebGL 1 Driver Version: 4.6 (Compatibility Profile) Mesa 22.3.3
WebGL 1 Driver Extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_vertex_attrib_64bit GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_AMD_pinned_memory GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_debug_label GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_ES3_2_compatibility GL_ARB_fragment_shader_interlock GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_post_depth_coverage GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_INTEL_shader_atomic_float_minmax GL_INTEL_shader_integer_functions2 GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_EGL_sync GL_EXT_demote_to_helper_invocation GL_NV_ES1_1_compatibility
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture
WebGL 2 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_no_config_context GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
WebGL 2 Driver Renderer: Intel -- Mesa Intel(R) HD Graphics 520 (SKL GT2)
WebGL 2 Driver Version: 4.6 (Core Profile) Mesa 22.3.3
WebGL 2 Driver Extensions: GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_fragment_shader_interlock GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ATI_blend_equation_separate GL_ATI_texture_float GL_EXT_EGL_image_storage GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_debug_label GL_EXT_demote_to_helper_invocation GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_shader_framebuffer_fetch GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_multimode_draw_arrays GL_INTEL_blackhole_render GL_INTEL_conservative_rasterization GL_INTEL_performance_query GL_INTEL_shader_atomic_float_minmax GL_INTEL_shader_integer_functions2 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_framebuffer_flip_y GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_copy_image GL_NV_depth_clamp GL_NV_fragment_shader_interlock GL_NV_packed_depth_stencil GL_NV_texture_barrier GL_OES_EGL_image GL_S3_s3tc
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get OES_texture_float_linear WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc
Hardware H264 Decoding: No
Audio Backend: alsa
GPU #1
Active: Yes
Description: Intel -- Mesa Intel(R) HD Graphics 520 (SKL GT2)
Vendor ID: Intel
Device ID: Mesa Intel(R) HD Graphics 520 (SKL GT2)
Driver Version: 4.6 (Compatibility Profile) Mesa 22.3.3

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
CairoUseXRender: 1
Decision Log
HW_COMPOSITING:
disabled by user: Disabled by pref
OPENGL_COMPOSITING:
unavailable by default: Hardware compositing is disabled




Important Modified Preferences
------------------------------

browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 4
browser.startup.homepage_override.buildID: 20230123173541
browser.startup.homepage_override.mstone: 6.0.0
extensions.lastAppVersion: 32.0.0
network.cookie.prefsMigrated: true
places.history.expiration.transient_current_max_pages: 122334
privacy.sanitize.migrateFx3Prefs: true

Important Locked Preferences
----------------------------

Places Database
---------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 1

Library Versions
----------------

NSPR
Expected minimum version: 4.25
Version in use: 4.25

NSS
Expected minimum version: 3.52.8
Version in use: 3.52.8

NSSSMIME
Expected minimum version: 3.52.8
Version in use: 3.52.8

NSSSSL
Expected minimum version: 3.52.8
Version in use: 3.52.8

NSSUTIL
Expected minimum version: 3.52.8
Version in use: 3.52.8
I don't usually watch livestreams on YouTube, but one time I did yesterday, and I left it on for some minutes with the live chat popped out into its own window while I'm dealing with other stuff away from my computer. When I returned the browser windows are gone, and when I opened Pale Moon again, I realized it crashed while I was away. I tried reproducing the crash again, and I was able to get one, this time with the live chat not popped out (but still active). So whatever the live chat is doing is triggering something that causes Pale Moon to crash.

Since I was using a personal build of the trunk at the time, I checked if the crash still occurs on a clean profile on a official 32.0.0 build. And sure enough I was able to get a crash. Attached to gdb, it's apparently a SIGPIPE:

Code: Select all

Thread 42 "Socket Thread" received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7fffed9ff6c0 (LWP 10203)]
__libc_send (flags=<optimized out>, len=24, buf=0x7fff804ca000, fd=109) at ../sysdeps/unix/sysv/linux/send.c:28
28      ../sysdeps/unix/sysv/linux/send.c: No such file or directory.
I can tell gdb to continue running, and it does sometimes. Then crashes after some time again during the livestream. Sometimes continuing immediately results in a crash. And continuing from that works again properly.

So I'm not sure if this is the browser's fault, as gdb gives me a call stack from glibc. I'm going to test if I can get the browser to crash previous to version 32 as well and see if this is a regression.

EDIT: Ok, I was able to get a crash in 31.4.2 too:

Code: Select all

Thread 41 "Socket Thread" received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7fffed9ff6c0 (LWP 12721)]
__libc_send (flags=<optimized out>, len=24, buf=0x7fffc3f92000, fd=74) at ../sysdeps/unix/sysv/linux/send.c:28
28      ../sysdeps/unix/sysv/linux/send.c: No such file or directory.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by jobbautista9 » 2023-01-30, 15:23

Interestingly I got a different crash while using a debug build, this time a segfault in JS Helper:

Code: Select all

Assertion failure: arena != ((void *)0), at /home/job/Software/uxp-work/platform/memory/mozjemalloc/jemalloc.c:4216

Thread 50 "JS Helper" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe57ff6c0 (LWP 14896)]
0x0000555555583a85 in arena_dalloc (ptr=0x7fffc33551b0, offset=<optimized out>) at /home/job/Software/uxp-work/platform/memory/mozjemalloc/jemalloc.c:4216
4216            assert(arena != NULL);
(gdb) bt
#0  0x0000555555583a85 in arena_dalloc
    (ptr=0x7fffc33551b0, offset=<optimized out>)
    at /home/job/Software/uxp-work/platform/memory/mozjemalloc/jemalloc.c:4216
#1  0x000055555558418d in free (ptr=<optimized out>)
    at /home/job/Software/uxp-work/platform/memory/mozjemalloc/jemalloc.c:6107
#2  0x00007ffff3909da2 in js_free (p=<optimized out>)
    at /home/job/Software/uxp-work/palemoon/obj-x86_64-pc-linux-gnu/dist/include/js/Utility.h:256
#3  js::SystemAllocPolicy::free_(void*)
    (p=<optimized out>, this=0x7fffa79bacd8)
    at /home/job/Software/uxp-work/platform/js/src/jsalloc.h:45
#4  mozilla::Vector<unsigned char*, 0ul, js::SystemAllocPolicy>::~Vector()
    (this=0x7fffa79bacd8, __in_chrg=<optimized out>)
    at /home/job/Software/uxp-work/palemoon/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Vector.h:833
#5  js::RegExpShared::finalize(js::FreeOp*)
    (this=this@entry=0x7fffa79bac70, fop=fop@entry=0x7fffe57febe0)
    at /home/job/Software/uxp-work/platform/js/src/vm/RegExpObject.cpp:982
#6  0x00007ffff363a0ae in js::gc::Arena::finalize<js::RegExpShared>(js::FreeOp*, js::gc::AllocKind, unsigned long)
    (this=this@entry=0x7fffa79ba000, fop=fop@entry=0x7fffe57febe0, thingKind=thingKind@entry=js::gc::AllocKind::REGEXP_SHARED, thingSize=thingSize@entry=152)
    at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:460
#7  0x00007ffff365b1e9 in FinalizeTypedArenas<js::RegExpShared>
    (keepArenas=js::gc::ArenaLists::KEEP_ARENAS, budget=..., thingKind=<optimized out>, dest=..., src=0x7fffe57fdaf8, fop=0x7fffe57febe0)
    at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:518
#8  FinalizeArenas(js::FreeOp*, js::gc::Arena**, js::gc::SortedArenaList&, js::gc::AllocKind, js::SliceBudget&, js::gc::ArenaLists::KeepArenasEnum)
    (fop=fop@entry=0x7fffe57febe0, src=src@entry=0x7fffe57fdaf8, dest=..., thingKind=thingKind@entry=js::gc::AllocKind::REGEXP_SHARED, budget=..., keepArenas=keepArenas@entry=js::gc::ArenaLists::KEEP_ARENAS)
    at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:552
#9  0x00007ffff365b427 in js::gc::ArenaLists::backgroundFinalize(js::FreeOp*, js::gc::Arena*, js::gc::Arena**)
    (fop=fop@entry=0x7fffe57febe0, listHead=<optimized out>, empty=empty@entry=0x7fffe57fec50) at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:2594
#10 0x00007ffff365be32 in js::gc::GCRuntime::sweepBackgroundThings(js::gc::ZoneList&, js::LifoAlloc&) (this=0x7fffeb159ae0, zones=..., freeBlocks=...)
    at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:2982
#11 0x00007ffff365c195 in js::GCHelperState::doSweep(js::AutoLockGC&)
    (this=this@entry=0x7fffeb15c510, lock=...)
    at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:3182
#12 0x00007ffff365c57a in js::GCHelperState::work()
    (this=this@entry=0x7fffeb15c510)
    at /home/job/Software/uxp-work/platform/js/src/jsgc.cpp:3101
#13 0x00007ffff3879476 in js::HelperThread::handleGCHelperWorkload(js::AutoLockHelperThreadState&) (this=this@entry=0x7fffeb1653a8, locked=...)
    at /home/job/Software/uxp-work/platform/js/src/vm/HelperThreads.cpp:1822
#14 0x00007ffff3885b7e in js::HelperThread::threadLoop() (this=this@entry=0x7fffeb1653a8) at /home/job/Software/uxp-work/platform/js/src/vm/HelperThreads.cpp:1887
#15 0x00007ffff3885c11 in js::HelperThread::ThreadMain(void*) (arg=0x7fffeb1653a8) at /home/job/Software/uxp-work/platform/js/src/vm/HelperThreads.cpp:1409
#16 0x00007ffff388ecb1 in js::detail::ThreadTrampoline<void (&)(void*), js::HelperThread*>::callMain<0ul>(mozilla::IndexSequence<0ul>) (this=0x7fffee19ebe0)
    at /home/job/Software/uxp-work/platform/js/src/threading/Thread.h:233
#17 js::detail::ThreadTrampoline<void (&)(void*), js::HelperThread*>::Start(void*) (aPack=0x7fffee19ebe0) at /home/job/Software/uxp-work/platform/js/src/threading/Thread.h:226
#18 0x00007ffff7aa7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#19 0x00007ffff7b2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Same setup as before. Open a livestream, pop out the live chat into its own window, and... just wait.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2021-01-26, 11:18

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by Kris_88 » 2023-01-30, 15:29

According to my previous observations, LiveChat loads the processor and causes memory leak, even if the chat is hidden.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by Moonchild » 2023-01-30, 17:46

We're actually working on improving the way RegExpShared (mentioned in your callstack) is handled. See Issue #2083 (UXP) So once that lands, this might actually become a little more robust than it is now.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by jobbautista9 » 2023-01-31, 02:37

The debug build includes the PR that will resolve that issue (whoops should've mentioned this at the start, sorry), so it might be something else... (Or something wrong with my PR, who knows)

This part from my first post:
jobbautista9 wrote:
2023-01-30, 13:39
Since I was using a personal build of the trunk at the time,
Also included PR #2095.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by Moonchild » 2023-01-31, 09:45

Right, right.
Well I'm not sure. It does seem like an issue with memory pressure combined with Linux (filesystem) sockets. I've had nothing but inconsistent experiences trying to use Linux sockets on my servers, for example. It's supposed to be faster and what not but e.g. using them with nginx to pipe to a back-end failed inconsistently but regularly.
Maybe some people with Linux kernel understanding can weigh in. The browser and platform do use some loopback connections for some things, AFAIK, but that has not been touched in ages.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by jobbautista9 » 2023-01-31, 12:00

I've done a non-debug build with unstripped binaries, here's a backtrace from a SIGPIPE:

Code: Select all

Thread 42 "Socket Thread" received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7fffed9ff6c0 (LWP 15470)]
__libc_send (flags=<optimized out>, len=24, buf=0x7fffcac60000, fd=56) at ../sysdeps/unix/sysv/linux/send.c:28
28      ../sysdeps/unix/sysv/linux/send.c: No such file or directory.
(gdb) bt
#0  __libc_send (flags=<optimized out>, len=24, buf=0x7fffcac60000, fd=56)
    at ../sysdeps/unix/sysv/linux/send.c:28
#1  __libc_send
    (fd=56, buf=buf@entry=0x7fffcac60000, len=len@entry=24, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/send.c:23
#2  0x00007ffff7e53555 in pt_Send
    (fd=0x7fffcacbeeb0, buf=0x7fffcac60000, amount=24, flags=0, timeout=0)
    at /home/job/Software/uxp-work/platform/nsprpub/pr/src/pthreads/ptio.c:1993
#3  0x00007ffff7581348 in ssl_DefSend
    (ss=ss@entry=0x7fffc882f000, buf=0x7fffcac60000 "\027\003\003", len=24, flags=flags@entry=0)
    at /home/job/Software/uxp-work/platform/security/nss/lib/ssl/ssldef.c:105
#4  0x00007ffff756b30f in ssl3_SendRecord
    (ss=ss@entry=0x7fffc882f000, cwSpec=cwSpec@entry=0x0, ct=ct@entry=ssl_ct_alert, pIn=0x7fffed9feb2e "", pIn@entry=0x7fffed9feb2c "\001", nIn=0, 
    nIn@entry=2, flags=0)
    at /home/job/Software/uxp-work/platform/security/nss/lib/ssl/ssl3con.c:2551
#5  0x00007ffff756b7bf in SSL3_SendAlert
    (ss=ss@entry=0x7fffc882f000, level=level@entry=alert_warning, desc=desc@entry=close_notify)
    at /home/job/Software/uxp-work/platform/security/nss/lib/ssl/ssl3con.c:2876
#6  0x00007ffff7585dac in ssl_SecureClose (ss=<optimized out>)
    at /home/job/Software/uxp-work/platform/security/nss/lib/ssl/sslsecur.c:681
#7  0x00007ffff372d090 in nsNSSSocketInfo::CloseSocketAndDestroy(nsNSSShutDownPreventionLock const&) (this=0x7fffd2639280)
    at /home/job/Software/uxp-work/platform/security/manager/ssl/nsNSSIOLayer.cpp:939
#8  0x00007ffff372d0f2 in nsSSLIOLayerClose(PRFileDesc*) (fd=0x7fffcacbeb80)
    at /home/job/Software/uxp-work/platform/security/manager/ssl/nsNSSIOLayer.cpp:918
#9  0x00007ffff15e3765 in mozilla::net::nsSocketTransport::CloseSocket(PRFileDesc*) (aFd=<optimized out>)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransport2.cpp:3145
#10 mozilla::net::nsSocketTransport::ReleaseFD_Locked(PRFileDesc*)
    (this=this@entry=0x7fffa643a800, fd=<optimized out>)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransport2.cpp:1805
#11 0x00007ffff15e3e60 in mozilla::net::nsSocketTransport::ReleaseFD_Locked(PRFileDesc*) (fd=<optimized out>, this=0x7fffa643a800)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransport2.cpp:2042
#12 mozilla::net::nsSocketTransport::OnSocketDetached(PRFileDesc*)
    (this=0x7fffa643a800, fd=<optimized out>)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransport2.cpp:2080
#13 0x00007ffff15e4b3f in mozilla::net::nsSocketTransportService::DetachSocket(mozilla::net::nsSocketTransportService::SocketContext*, mozilla::net::nsSocketTransportService::SocketContext*)
    (this=this@entry=0x7ffff789fc60, listHead=0x7ffff7892000, sock=0x7ffff78920a8)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransportService2.cpp:268
#14 0x00007ffff15e57f8 in mozilla::net::nsSocketTransportService::DoPollIteration() (this=this@entry=0x7ffff789fc60)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransportService2.cpp:1069
#15 0x00007ffff15eb820 in mozilla::net::nsSocketTransportService::Run()
    (this=0x7ffff789fc60)
    at /home/job/Software/uxp-work/platform/netwerk/base/nsSocketTransportService2.cpp:868
#16 0x00007ffff1550bec in nsThread::ProcessNextEvent(bool, bool*)
    (aResult=0x7fffed9fed9f, aMayWait=<optimized out>, this=0x7ffff7841ae0)
    at /home/job/Software/uxp-work/platform/xpcom/threads/nsThread.cpp:1140
#17 nsThread::ProcessNextEvent(bool, bool*)
    (this=0x7ffff7841ae0, aMayWait=<optimized out>, aResult=0x7fffed9fed9f)
    at /home/job/Software/uxp-work/platform/xpcom/threads/nsThread.cpp:1076
#18 0x00007ffff157235a in NS_ProcessNextEvent(nsIThread*, bool)
    (aThread=<optimized out>, 
    aThread@entry=0x7ffff7841ae0, aMayWait=aMayWait@entry=false)
    at /home/job/Software/uxp-work/platform/xpcom/glue/nsThreadUtils.cpp:355
#19 0x00007ffff187198a in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) (this=0x7fffed018100, aDelegate=0x7fffed012180)
    at /home/job/Software/uxp-work/platform/ipc/glue/MessagePump.cpp:337
#20 0x00007ffff1852ef5 in MessageLoop::RunInternal() (this=0x7fffed012180)
    at /home/job/Software/uxp-work/platform/ipc/chromium/src/base/message_loop.cc:228
#21 MessageLoop::RunHandler() (this=0x7fffed012180)
    at /home/job/Software/uxp-work/platform/ipc/chromium/src/base/message_loop.cc:221
#22 MessageLoop::Run() (this=this@entry=0x7fffed012180)
    at /home/job/Software/uxp-work/platform/ipc/chromium/src/base/message_loop.cc:201
#23 0x00007ffff154ccd9 in nsThread::ThreadFunc(void*) (aArg=0x7ffff7841ae0)
    at /home/job/Software/uxp-work/platform/xpcom/threads/nsThread.cpp:458
#24 0x00007ffff7e57281 in _pt_root (arg=0x7ffff78bc6e0)
    at /home/job/Software/uxp-work/platform/nsprpub/pr/src/pthreads/ptthread.c:201
#25 0x00007ffff7aa7fd4 in start_thread (arg=<optimized out>)
    at ./nptl/pthread_create.c:442
#26 0x00007ffff7b2866c in clone3 ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
The earlier segfault in JS Helper might have been something totally irrelevant to the SIGPIPE, so hopefully this one is more helpful.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: [Linux] YouTube video with live chat crashes the browser sometimes with SIGPIPE

Unread post by Moonchild » 2023-01-31, 12:34

Still seems to be the same system-level issue that an IO operation wants to use a Linux socket, but the socket file is not there?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked