Hit MOZ_CRASH(called `Result::unwrap()` on an `Err` value: Custom("Invalid bits for ColorWrites")) at gfx/wgpu_bindings/src/server.rs:686
Categories
(Core :: Graphics: WebGPU, defect, P3)
Tracking
()
People
(Reporter: jkratzer, Assigned: nical)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression, testcase, Whiteboard: [bugmon:bisected,confirmed])
Crash Data
Attachments
(1 file)
915 bytes,
text/plain
|
Details |
Testcase found while fuzzing mozilla-central rev 59ab3186dfd4 (built with: --enable-debug --enable-fuzzing).
Testcase can be reproduced using the following commands:
$ pip install fuzzfetch grizzly-framework
$ python -m fuzzfetch --build 59ab3186dfd4 --debug --fuzzing -n firefox
$ python -m grizzly.replay ./firefox/firefox testcase.html
Hit MOZ_CRASH(called `Result::unwrap()` on an `Err` value: Custom("Invalid bits for ColorWrites")) at gfx/wgpu_bindings/src/server.rs:686
==590917==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f8321568d75 bp 0x7f82d5540860 sp 0x7f82d5540850 T590991)
==590917==The signal is caused by a WRITE memory access.
==590917==Hint: address points to the zero page.
#0 0x7f8321568d75 in MOZ_Crash /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:261:3
#1 0x7f8321568d75 in RustMozCrash /mozglue/static/rust/wrappers.cpp:18:3
#2 0x7f8321568cf8 in mozglue_static::panic_hook::h78973aca7351e0a7 /mozglue/static/rust/lib.rs:91:9
#3 0x7f832156877b in core::ops::function::Fn::call::h39922ba40a8415bd /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:77:5
#4 0x7f83224fc659 in std::panicking::rust_panic_with_hook::hf26e9d4f97b40096 /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:702:17
#5 0x7f83224fc496 in std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::hfab912107608087a /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:588:13
#6 0x7f83224f9753 in std::sys_common::backtrace::__rust_end_short_backtrace::h434b685ce8d9965b /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:138:18
#7 0x7f83224fc1c8 in rust_begin_unwind /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
#8 0x7f8317939342 in core::panicking::panic_fmt::ha6dc7f2ab2479463 /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
#9 0x7f8317939492 in core::result::unwrap_failed::h42ad8e915aa0a906 /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/result.rs:1814:5
#10 0x7f83208ca3cb in core::result::Result$LT$T$C$E$GT$::unwrap::h3ebb8c6d6395fdbb /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/result.rs:1107:23
#11 0x7f83208ca3cb in wgpu_server_device_action /gfx/wgpu_bindings/src/server.rs:686:18
#12 0x7f831b2f4f8e in mozilla::webgpu::WebGPUParent::RecvDeviceActionWithAck(unsigned long, mozilla::ipc::ByteBuf const&, std::function<void (bool const&)>&&) /dom/webgpu/ipc/WebGPUParent.cpp:1042:3
#13 0x7f831b3099c5 in mozilla::webgpu::PWebGPUParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PWebGPUParent.cpp:309:80
#14 0x7f83192b264e in mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCanvasManagerParent.cpp:214:32
#15 0x7f83188cf5d1 in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /ipc/glue/MessageChannel.cpp:1756:25
#16 0x7f83188cc125 in mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message> >) /ipc/glue/MessageChannel.cpp:1681:9
#17 0x7f83188cccc6 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /ipc/glue/MessageChannel.cpp:1481:3
#18 0x7f83188ce051 in mozilla::ipc::MessageChannel::MessageTask::Run() /ipc/glue/MessageChannel.cpp:1579:14
#19 0x7f8317ced487 in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1199:16
#20 0x7f8317cf39cd in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:465:10
#21 0x7f83188d62d4 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:330:5
#22 0x7f83187fa6b7 in MessageLoop::RunInternal() /ipc/chromium/src/base/message_loop.cc:381:10
#23 0x7f83187fa5c2 in RunHandler /ipc/chromium/src/base/message_loop.cc:374:3
#24 0x7f83187fa5c2 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:356:3
#25 0x7f8317ce87b6 in nsThread::ThreadFunc(void*) /xpcom/threads/nsThread.cpp:384:10
#26 0x7f832ee7b557 in _pt_root /nsprpub/pr/src/pthreads/ptthread.c:201:5
#27 0x7f832f731b42 in start_thread nptl/./nptl/pthread_create.c:442:8
#28 0x7f832f7c39ff misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
UndefinedBehaviorSanitizer can not provide additional info.
SUMMARY: UndefinedBehaviorSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:261:3 in MOZ_Crash
==590917==ABORTING
Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
Bugmon Analysis
Verified bug as reproducible on mozilla-central 20220929093914-a2601693650d.
The bug appears to have been introduced in the following build range:
Start: 10e25f230d3ff52597680072fad4f259ae31614a (20220122120424)
End: 336a9119e1eea1ea7639a27b61877a733e84c18e (20220122174637)
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=10e25f230d3ff52597680072fad4f259ae31614a&tochange=336a9119e1eea1ea7639a27b61877a733e84c18e
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Set release status flags based on info from the regressing bug 1710680
Updated•2 years ago
|
Comment 4•2 years ago
|
||
The severity field is not set for this bug.
:jimb, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 5•2 years ago
|
||
Set release status flags based on info from the regressing bug 1710680
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 6•2 years ago
|
||
Successfully recorded a pernosco session. A link to the pernosco-session will be added here shortly.
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Upstream fix made it to m-c.
Assignee | ||
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Verified bug as fixed on rev mozilla-central 20221219162526-91a9bbbe6bea.
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.
Updated•2 years ago
|
Description
•