Hit MOZ_CRASH(Unexpected Vulkan error: ERROR_UNKNOWN) at /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/mod.rs:1731
Categories
(Core :: Graphics: WebGPU, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox144 | --- | affected |
People
(Reporter: tsmith, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Keywords: assertion, pernosco)
Found with m-c 20250822-85278cff23b3 (--enable-debug)
This was found by visiting a live website with a debug build.
STR:
- Launch browser and visit site
This issue was triggered by visiting https://wanghoi.github.io/sponza/melia_runner.html
.
Hit MOZ_CRASH(Unexpected Vulkan error: ERROR_UNKNOWN) at /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/mod.rs:1731
#0 0x7fffef010293 in MOZ_CrashSequence /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:248:3
#1 0x7fffef010293 in MOZ_Crash /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:381:3
#2 0x7fffef010293 in RustMozCrash /builds/worker/checkouts/gecko/mozglue/static/rust/wrappers.cpp:18:3
#3 0x7fffec216dfa in mozglue_static::panic_hook::h15a19b60df868674 /builds/worker/checkouts/gecko/mozglue/static/rust/lib.rs:99:9
#4 0x7fffec216dfa in core::ops::function::Fn::call::hae4e797f339fa1e8 /builds/worker/fetches/rust/library/core/src/ops/function.rs:79:5
#5 0x7fffecc45547 in std::panicking::rust_panic_with_hook::h089cf39f00799133 gkrust.8a2b7cd0e21bc022-cgu.0:0:0
#6 0x7fffecc3c2d4 in std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::hf02865fc1697377b gkrust.8a2b7cd0e21bc022-cgu.0:0:0
#7 0x7fffecc3c238 in std::sys::backtrace::__rust_end_short_backtrace::h92bc9e113a7f691d gkrust.8a2b7cd0e21bc022-cgu.0:0:0
#8 0x7fffecc44f93 in rust_begin_unwind gkrust.8a2b7cd0e21bc022-cgu.0:0:0
#9 0x7fffea941331 in core::panicking::panic_fmt::he169818ca2499665 gkrust.8a2b7cd0e21bc022-cgu.0:0:0
#10 0x7fffeeabd572 in wgpu_hal::vulkan::get_unexpected_err::h4853db79994ed283 /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/mod.rs:1731:5
#11 0x7fffeeabd572 in wgpu_hal::vulkan::map_host_device_oom_err::h5c0d7df1377d31e0 /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/mod.rs:1656:14
#12 0x7fffeeabd572 in wgpu_hal::vulkan::map_pipeline_err::hd476cb7abc0728ea /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/mod.rs:1724:5
#13 0x7fffeeabd572 in wgpu_hal::vulkan::device::_$LT$impl$u20$wgpu_hal..Device$u20$for$u20$wgpu_hal..vulkan..Device$GT$::create_compute_pipeline::_$u7b$$u7b$closure$u7d$$u7d$::h8965a45ed741ec3c /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/device.rs:2289:39
#14 0x7fffeeabd572 in core::result::Result$LT$T$C$E$GT$::map_err::h22a60346012b8acc /builds/worker/fetches/rust/library/core/src/result.rs:854:27
#15 0x7fffeeabd572 in wgpu_hal::vulkan::device::_$LT$impl$u20$wgpu_hal..Device$u20$for$u20$wgpu_hal..vulkan..Device$GT$::create_compute_pipeline::hcefc6037e8d957f6 /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/vulkan/device.rs:2289:22
#16 0x7fffee69fc64 in _$LT$D$u20$as$u20$wgpu_hal..dynamic..device..DynDevice$GT$::create_compute_pipeline::h72b7d4f63ef7de7c /builds/worker/checkouts/gecko/third_party/rust/wgpu-hal/src/dynamic/device.rs:437:18
#17 0x7fffee9f8785 in wgpu_core::device::resource::Device::create_compute_pipeline::h038daca6e5716fe9 /builds/worker/checkouts/gecko/third_party/rust/wgpu-core/src/device/resource.rs:3554:22
#18 0x7fffee9f8785 in wgpu_core::device::global::_$LT$impl$u20$wgpu_core..global..Global$GT$::device_create_compute_pipeline::h8902a4b995753c0e /builds/worker/checkouts/gecko/third_party/rust/wgpu-core/src/device/global.rs:1672:34
#19 0x7fffee619af6 in wgpu_bindings::server::Global::device_action::h8b59da983df83d59 /builds/worker/checkouts/gecko/gfx/wgpu_bindings/src/server.rs:2253:34
#20 0x7fffee619af6 in wgpu_bindings::server::process_message::hec06d633433ccbab /builds/worker/checkouts/gecko/gfx/wgpu_bindings/src/server.rs:2702:13
#21 0x7fffee5eaaa4 in wgpu_server_messages /builds/worker/checkouts/gecko/gfx/wgpu_bindings/src/server.rs:2550:9
#22 0x7fffe2791fc4 in mozilla::webgpu::WebGPUParent::RecvMessages(unsigned int, mozilla::ipc::ByteBuf&&, nsTArray<mozilla::ipc::ByteBuf>&&, nsTArray<mozilla::ipc::shared_memory::Handle<(mozilla::ipc::shared_memory::Type)0>>&&) /builds/worker/checkouts/gecko/dom/webgpu/ipc/WebGPUParent.cpp:1596:3
#23 0x7fffe2795c52 in mozilla::webgpu::PWebGPUParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PWebGPUParent.cpp:306:80
#24 0x7fffdf3ba559 in mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCanvasManagerParent.cpp:261:32
#25 0x7fffddc6ccea in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1797:25
#26 0x7fffddc6a2e6 in mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, std::unique_ptr<IPC::Message, mozilla::DefaultDelete<IPC::Message>>) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1723:9
#27 0x7fffddc6ae94 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1512:3
#28 0x7fffddc6bda2 in mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1614:14
#29 0x7fffdc7d2e5c in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153:16
#30 0x7fffdc7dd198 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10
#31 0x7fffddc74819 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:299:20
#32 0x7fffddb7fd44 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:374:10
#33 0x7fffddb7fd44 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:367:3
#34 0x7fffddb7fd44 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:349:3
#35 0x7fffdc7cbf67 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366:10
#36 0x7ffff73eb8ab in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:191:3
#37 0x5555556abb46 in asan_thread_start(void*) _asan_rtl_:28
#38 0x7ffff7abcac2 in start_thread ./nptl/pthread_create.c:442:8
Updated•2 months ago
|
Comment hidden (obsolete) |
Updated•2 months ago
|
Comment 2•2 months ago
|
||
We are explicitly panicking since we didn't expect VK_ERROR_UNKNOWN
to be returned.
VK_ERROR_UNKNOWN will be returned by an implementation when an unexpected error occurs that cannot be attributed to valid behavior of the application and implementation. Under these conditions, it may be returned from any command returning a VkResult.
Note
VK_ERROR_UNKNOWN is not expected to ever be returned if the application behavior is valid, and if the implementation is bug-free. If VK_ERROR_UNKNOWN is returned, the application should be checked against the latest validation layers to verify correct behavior as much as possible. If no issues are identified it could be an implementation issue, and the implementor should be contacted for support.
Judging by its description it sounds like we should turn it into device loss, if we are bug-free ourselves.
Comment 3•2 months ago
|
||
It would be nice to have a reduced stand-alone test case for this.
Updated•2 months ago
|
Reporter | ||
Comment 4•2 months ago
|
||
A Pernosco session is available here: https://pernos.co/debug/A5tbzkQRsrGah4Sje11Few/index.html
Description
•