Crash in [@ cubeb_coreaudio::backend::set_volume]
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Tracking
()
People
(Reporter: mstange, Assigned: chunmin)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(3 files)
Crash report: https://crash-stats.mozilla.org/report/index/c83a4ba8-25b0-41a3-b141-08d9a0210214
MOZ_CRASH Reason: assertion failed: !unit.is_null()
Top 10 frames of crashing thread:
0 XUL RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 XUL mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 XUL core::ops::function::Fn::call /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:70
3 XUL std::panicking::rust_panic_with_hook library/std/src/panicking.rs:595
4 XUL std::panicking::begin_panic_handler::{{closure}} library/std/src/panicking.rs:495
5 XUL std::sys_common::backtrace::__rust_end_short_backtrace library/std/src/sys_common/backtrace.rs:141
6 XUL rust_begin_unwind library/std/src/panicking.rs:493
7 XUL core::panicking::panic_fmt library/core/src/panicking.rs:92
8 XUL core::panicking::panic library/core/src/panicking.rs:50
9 XUL cubeb_coreaudio::backend::set_volume third_party/rust/cubeb-coreaudio/src/backend/mod.rs:268
Comment 1•5 years ago
|
||
Perhaps this can happen if reinit fails, resulting in a null output_device used in set_volume where the assert triggers. That might require a race between the set_volume call and reinit closing the devices and the error callback being handled upstream.
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
I'll take a look and see if I can reproduce this.
(In reply to Matthew Gregan [:kinetik] from comment #1)
Perhaps this can happen if
reinitfails, resulting in a nulloutput_deviceused inset_volumewhere the assert triggers. That might require a race between theset_volumecall andreinitclosing the devices and the error callback being handled upstream.
It seems it's a possible cause. I'll test it. Thanks for the hints! Keep the NI for now until I get back to this bug.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Comment 5•5 years ago
|
||
Depends on D106252
Comment 7•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/198f8a1be146
https://hg.mozilla.org/mozilla-central/rev/dbee99d1a1b7
Updated•5 years ago
|
Description
•