Closed Bug 1873799 Opened 1 year ago Closed 1 year ago

Crash in [@ wgpu_server_adapter_pack_info]

Categories

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

Desktop
Linux
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: aosmond, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/213d1c46-c198-418c-8aad-358790240109

MOZ_CRASH Reason: Expected a hardware gpu adapter, got Cpu

Top 10 frames of crashing thread:

0  libxul.so  MOZ_Crash  mfbt/Assertions.h:281
0  libxul.so  RustMozCrash  mozglue/static/rust/wrappers.cpp:18
1  libxul.so  mozglue_static::panic_hook  mozglue/static/rust/lib.rs:96
2  libxul.so  core::ops::function::Fn::call  library/core/src/ops/function.rs:79
3  libxul.so  <alloc::boxed::Box<F, A> as core::ops::function::Fn<Args>>::call  library/alloc/src/boxed.rs:2021
3  libxul.so  std::panicking::rust_panic_with_hook  library/std/src/panicking.rs:783
4  libxul.so  std::panicking::begin_panic_handler::{{closure}}  library/std/src/panicking.rs:657
5  libxul.so  std::sys_common::backtrace::__rust_end_short_backtrace  library/std/src/sys_common/backtrace.rs:170
6  libxul.so  rust_begin_unwind  library/std/src/panicking.rs:645
7  libxul.so  core::panicking::panic_fmt  library/core/src/panicking.rs:72

This is expected behavior for the opt-in dom.webgpu.testing.assert-hardware-adapter pref., which is what gates this panic on systems where a compliant GPU is not found. This pref. is not intended for general consumption, but for testing environments where we want to fail fast if the CI environment isn't what our WebGPU implementation needs to run tests.

IOW, if someone is running into this, they need to disable the pref. If they're not a member of the WebGPU team, they're not its target audience. Closing as INVALID. CC'ing other members of the WebGPU team as a heads-up.

Severity: -- → S2
Status: NEW → RESOLVED
Closed: 1 year ago
Priority: -- → P1
Resolution: --- → INVALID
See Also: → 1853952
You need to log in before you can comment on or make changes to this bug.