Closed Bug 1635031 Opened 2 years ago Closed 2 years ago

Crash in [@ wgpu_core::command::render::<T>::command_encoder_run_render_pass]

Categories

(Core :: Graphics: WebGPU, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr68 --- unaffected
firefox76 --- disabled
firefox77 --- disabled
firefox78 --- disabled

People

(Reporter: gsvelto, Unassigned)

References

Details

(Keywords: crash)

Crash Data

This bug is for crash report bp-5ed62c5d-9878-4035-859d-5e5570200502.

Top 10 frames of crashing thread:

0 libxul.so RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 libxul.so mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 libxul.so core::ops::function::Fn::call src/libcore/ops/function.rs:72
3 libxul.so std::panicking::rust_panic_with_hook src/libstd/panicking.rs:475
4 libxul.so std::panicking::begin_panic src/libstd/panicking.rs:404
5 libxul.so wgpu_core::command::render::<impl wgpu_core::hub::Global<G>>::command_encoder_run_render_pass hg:hg.mozilla.org/mozilla-central:<::std::macros::panic macros>:0f9c5a59e45d34f53ab4d44058ed016d4bacf942:3
6 libxul.so mozilla::webgpu::WebGPUParent::RecvCommandEncoderRunRenderPass dom/webgpu/ipc/WebGPUParent.cpp:345
7 libxul.so mozilla::webgpu::PWebGPUParent::OnMessageReceived ipc/ipdl/PWebGPUParent.cpp:1503
8 libxul.so mozilla::layers::PCompositorManagerParent::OnMessageReceived ipc/ipdl/PCompositorManagerParent.cpp:197
9 libxul.so mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2186

Multiple different crashes under this signature, starting with buildid 20200425220031. The raw crash reasons are:

  • The render pipeline is not compatible with the pass!
  • RenderPassColorAttachmentDescriptor with a resolve_target must have an attachment with sample_count > 1
  • Attachment sample_count must be supported by physical device limits

If the volume increases maybe we should consider addition this function to the prefix list to be able to tell these crashes apart.

This validation logic needs to be transformed into the actual WebGPU error model.

Blocks: 1602885
Severity: -- → S3
Priority: -- → P3

We have the basic error model landed in bug 1680376

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.