Hit MOZ_CRASH(Unexpected backend Empty) at gfx/wgpu_bindings/src/server.rs:446
Categories
(Core :: Graphics: WebGPU, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox118 | --- | unaffected |
firefox119 | --- | unaffected |
firefox120 | --- | disabled |
firefox121 | --- | fixed |
People
(Reporter: tsmith, Assigned: bradwerth)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: assertion, regression, testcase, Whiteboard: [bugmon:bisected,confirmed])
Attachments
(1 file)
755 bytes,
text/html
|
Details |
Found while fuzzing m-c 20231018-1fdbab33412d (--enable-address-sanitizer --enable-fuzzing)
To reproduce via Grizzly Replay:
$ pip install fuzzfetch grizzly-framework
$ python -m fuzzfetch -a --fuzzing -n firefox
$ python -m grizzly.replay ./firefox/firefox testcase.html
Hit MOZ_CRASH(Unexpected backend Empty) at gfx/wgpu_bindings/src/server.rs:446
#0 0x7fca0b6609c7 in MOZ_Crash /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:281:3
#1 0x7fca0b6609c7 in RustMozCrash /builds/worker/checkouts/gecko/mozglue/static/rust/wrappers.cpp:18:3
#2 0x7fca0b660895 in mozglue_static::panic_hook::hd80c17bcc51bbfda /builds/worker/checkouts/gecko/mozglue/static/rust/lib.rs:96:9
#3 0x7fca0b65ee65 in core::ops::function::Fn::call::hc7f4c01788a08324 /builds/worker/fetches/rust/library/core/src/ops/function.rs:79:5
#4 0x7fca0f67b566 in std::panicking::rust_panic_with_hook::h92826d2d473a496a std.3df09710191fa715-cgu.08
#5 0x7fca0f63be26 in std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h503494dd53828311 std.3df09710191fa715-cgu.00
#6 0x7fca0f63bc15 in std::sys_common::backtrace::__rust_end_short_backtrace::h848b048e3ffeb3a6 std.3df09710191fa715-cgu.00
#7 0x7fca0f67b101 in rust_begin_unwind std.3df09710191fa715-cgu.08
#8 0x7fca0f6ea7c2 in core::panicking::panic_fmt::h9dcf2f1ed75a280b core.bfe18676e6579eaf-cgu.10
#9 0x7fca07b3c85f in wgpu_server_buffer_drop /builds/worker/checkouts/gecko/gfx/wgpu_bindings/src/server.rs:446:5
#10 0x7fc9faa454fc in mozilla::webgpu::WebGPUParent::RecvBufferDrop(unsigned long) /builds/worker/checkouts/gecko/dom/webgpu/ipc/WebGPUParent.cpp:683:3
#11 0x7fc9faa71dc5 in mozilla::webgpu::PWebGPUParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PWebGPUParent.cpp:1159:80
#12 0x7fc9f6ebd506 in mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCanvasManagerParent.cpp:269:32
#13 0x7fc9f56ddca5 in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1800:25
#14 0x7fc9f56d96cb in mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message>>) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1725:9
#15 0x7fc9f56daa79 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1525:3
#16 0x7fc9f56dbff3 in mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1623:14
#17 0x7fc9f3acb75f in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1192:16
#18 0x7fc9f3ad904a in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10
#19 0x7fc9f56e8cb9 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5
#20 0x7fc9f551080a in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10
#21 0x7fc9f551080a in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3
#22 0x7fc9f551080a in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3
#23 0x7fc9f3ac2860 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:370:10
#24 0x7fca1b30410f in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
#25 0x55a10b0ee74a in asan_thread_start(void*) /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:225:31
#26 0x7fca1b094ac2 in start_thread nptl/pthread_create.c:442:8
#27 0x7fca1b126a3f misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 1•9 months ago
|
||
Verified bug as reproducible on mozilla-central 20231019213231-fafeb43eefd1.
The bug appears to have been introduced in the following build range:
Start: e0dd0b10e8fd0ea751f11fb0a6548ad9b6780e16 (20231016153418)
End: fa12efd7ca249d06b27ea86690ae0d0478f5dcce (20231016182434)
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e0dd0b10e8fd0ea751f11fb0a6548ad9b6780e16&tochange=fa12efd7ca249d06b27ea86690ae0d0478f5dcce
Comment 2•9 months ago
|
||
Set release status flags based on info from the regressing bug 1838693
:bradwerth, since you are the author of the regressor, bug 1838693, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 3•9 months ago
|
||
I'll figure this out.
Updated•9 months ago
|
Assignee | ||
Comment 4•9 months ago
|
||
Because this appears to be due to a double call to Buffer::Drop
, this should be fixed by the patch for Bug 1859825.
Comment 5•9 months ago
|
||
Set release status flags based on info from the regressing bug 1838693
Assignee | ||
Comment 6•8 months ago
|
||
Because this is due to a Buffer with id 0, this will be fixed by the patches for Bug 1861751.
Comment 7•8 months ago
|
||
No valid actions for resolution (DUPLICATE).
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.
Updated•7 months ago
|
Description
•