BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.84k stars 341 forks source link

Crashes in multi-process mode with WAH (WoW Auction Helper) 2.174.1: MozCrashReason: MOZ_CRASH(IPC message size is too large) #764

Closed grahamperrin closed 3 years ago

grahamperrin commented 6 years ago

Steps

Spun off from crashes Waterfox on load · Issue #59 · ukon1990/wow-auction-helper and summarised from https://redd.it/9o5jjx:

  1. https://wah.jonaskf.net
  2. "let's get started"
  3. "Next"
  4. "Next"
  5. "Complete the setup"
  6. let it download all the stuff it needs and finishes downloading auctions
  7. reload

Expected

  1. reload

Actual result

  1. a crash of the application (not just the content process).

Also: if there was preference for automated session restoration at start time, then the next start of Waterfox may result in an immediate crash.

Reproducibility

Not reproducible with a new profile with multi-process Waterfox 56.2.3 on FreeBSD-CURRENT.

Reproducible with 56.2.3 on Kubuntu.

I'll follow up with comparative information from about:buildconfig

grahamperrin commented 6 years ago

Workaround

Prefer single-process mode

Towards diagnosis

@tordenflesk please save your about:buildconfig to .html and attach the file to this issue.

@ukon1990 the same please for the two three or more systems (Linux, Mac OS X, Windows) where you reproduced this issue.

Thank you both

grahamperrin commented 6 years ago

From the FreeBSD-CURRENT system where the issue is not reproducible in multi-process mode:

tordenflesk commented 6 years ago

buildconfig.zip

grahamperrin commented 6 years ago

From the Kubuntu system:

grahamperrin@momh167-gjp4-ergovista621-kubuntu:~/Documents/waterfox$ ./waterfox -p caa
[Child 2477] WARNING: pipe error (3): Connection reset by peer: file /home/build/Waterfox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
Segmentation fault (core dumped)
grahamperrin@momh167-gjp4-ergovista621-kubuntu:~/Documents/waterfox$ Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=6.283) ^C
grahamperrin@momh167-gjp4-ergovista621-kubuntu:~/Documents/waterfox$ date ; time ; uname -v
Mon 15 Oct 18:54:17 BST 2018

real    0m0.000s
user    0m0.000s
sys     0m0.000s
#39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018
grahamperrin@momh167-gjp4-ergovista621-kubuntu:~/Documents/waterfox$ date ; time ; /home/grahamperrin/Documents/waterfox/waterfox --safe-mode -p caa
Mon 15 Oct 18:55:32 BST 2018

real    0m0.000s
user    0m0.000s
sys     0m0.000s
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=6.24059) [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[Child 3176] WARNING: pipe error (3): Connection reset by peer: file /home/build/Waterfox/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
Segmentation fault (core dumped)
grahamperrin@momh167-gjp4-ergovista621-kubuntu:~/Documents/waterfox$ date ; time exec /home/grahamperrin/Documents/waterfox/waterfox --safe-mode -p caa
Mon 15 Oct 18:56:42 BST 2018

Warning: Program '/bin/bash' crashed.

^C^C^T^C ha ha ha

about:buildconfig.html.zip

From about:support.txt:

Graphics
--------

Features
Compositing: Basic
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled
WebGL 1 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_create_context GLX_ARB_create_context_profile 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_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_multithread_makecurrent 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 Open Source Technology Center -- Mesa DRI Intel(R) 965GM
WebGL 1 Driver Version: 2.1 Mesa 18.0.5
WebGL 1 Driver Extensions: GL_3DFX_texture_compression_FXT1 GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_trinary_minmax GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_ARB_ES2_compatibility GL_ARB_arrays_of_arrays GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_half_float_pixel GL_ARB_half_float_vertex 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_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sync GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_window_pos GL_ATI_blend_equation_separate GL_ATI_draw_buffers GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robustness GL_MESA_pack_invert GL_MESA_texture_signed_rgba GL_MESA_window_pos GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_OES_EGL_image GL_OES_read_format GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
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 MOZ_debug 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_s3tc WEBGL_compressed_texture_s3tc_srgb 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: -
WebGL 2 Driver Renderer: WebGL creation failed: * Error during native OpenGL init. * Error during native OpenGL init. * Error during native OpenGL init. * Error during native OpenGL init. * Error during native OpenGL init. * Exhausted GL driver caps. * Exhausted GL driver options.
WebGL 2 Driver Version: -
WebGL 2 Driver Extensions: -
WebGL 2 Extensions: -
GPU #1
Active: Yes
Description: Intel Open Source Technology Center -- Mesa DRI Intel(R) 965GM
Vendor ID: Intel Open Source Technology Center
Device ID: Mesa DRI Intel(R) 965GM
Driver Version: 2.1 Mesa 18.0.5

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: none
CairoUseXRender: 0
Decision Log
HW_COMPOSITING:
blocked by default: Acceleration blocked by platform
OPENGL_COMPOSITING:
unavailable by default: Hardware compositing is disabled
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
unavailable by runtime: Build doesn't include WebRender

…

Sandbox
-------

Seccomp-BPF (System Call Filtering): true
Seccomp Thread Synchronization: true
User Namespaces: true
Content Process Sandboxing: true
Media Plugin Sandboxing: true
Content Process Sandbox Level: 1
Effective Content Process Sandbox Level: 1
grahamperrin commented 6 years ago

Reproducing the crash with a gdb run of 56.2.3 on Kubuntu:

Meta, tracking: #538

ukon1990 commented 6 years ago

Workaround

Prefer single-process mode

  • works for me with 56.2.3 on Kubuntu.

Towards diagnosis

...about:buildconfig to .html and attach the file to this issue. ...he two three or more systems (Linux, Mac OS X, Windows) where you reproduced this issue...

Thank you both

I don't have the windows machine at hand right now, and I am not going to my customer's office tomorrow so won't have it available until thursday. But here you have the about:buildconfig for Linux Mint 19 and macOS Mojave: waterfox-about-config.tar.gz

grahamperrin commented 6 years ago

@ukon1990 thanks, the additional build configuration information may be superfluous now.


Not limited to Waterfox; the crashes are reproducible with (outdated) Firefox ESR 52.1.0 on Windows 7.

Selected lines from crash reports:

IPCMessageName: PBackgroundIDBRequest::Msg___delete__

IPCMessageSize: 310518596

MozCrashReason: MOZ_CRASH(IPC message size is too large)

@MrAlex94 please, do you need more than that from the crash reports?