Closed Bug 1696870 Opened 3 years ago Closed 2 years ago

Crash in [@ (anonymous namespace)::wasapi_register_device_collection_changed]

Categories

(Core :: Audio/Video: cubeb, defect, P2)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox99 --- wontfix
firefox100 --- fixed

People

(Reporter: gsvelto, Assigned: kinetik)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/e27dc749-a81e-4345-b521-29bfd0210307

MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(((devtype & CUBEB_DEVICE_TYPE_INPUT) && !context->input_collection_changed_callback) || ((devtype & CUBEB_DEVICE_TYPE_OUTPUT) && !context->output_collection_changed_callback))

Top 10 frames of crashing thread:

0 xul.dll `anonymous namespace'::wasapi_register_device_collection_changed media/libcubeb/src/cubeb_wasapi.cpp:3181
1 xul.dll cubeb_core::context::ContextRef::register_device_collection_changed third_party/rust/cubeb-core/src/context.rs:132
2 xul.dll audioipc_server::server::CubebServer::process_msg third_party/rust/audioipc-server/src/server.rs:611
3 xul.dll futures::future::map_err::{{impl}}::poll<tuple<>, audioipc::rpc::driver::Driver<audioipc::rpc::server::ServerHandler<audioipc_server::server::CubebServer>>, closure-0> third_party/rust/futures-0.1.29/src/future/map_err.rs:35
4 xul.dll tokio::runtime::current_thread::runtime::Runtime::block_on<futures::sync::oneshot::Receiver<tuple<>>> third_party/rust/tokio-0.1.11/src/runtime/current_thread/runtime.rs:185
5 xul.dll std::sys_common::backtrace::__rust_begin_short_backtrace<closure-0, tuple<>> ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys_common/backtrace.rs:125
6 xul.dll core::ops::function::FnOnce::call_once<closure-0, tuple<>> ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/ops/function.rs:227
7 xul.dll std::sys::windows::thread::{{impl}}::new::thread_start ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/std/src/sys/windows/thread.rs:56
8 kernel32.dll BaseThreadInitThunk 
9 ntdll.dll RtlUserThreadStart 

I found this during nightly crash triage but the issue seems to have been around for a while.

The oldest crash we have on file is for Firefox 83.0 buildid 20201112153044.

Component: Audio/Video → Audio/Video: cubeb
Assignee: nobody → kinetik
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P3
Priority: P3 → P2

I'm fairly confident the cause of this was fixed as part of the updates landed in bug 1760774.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Depends on: 1760774
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.