Closed Bug 1683633 Opened 5 years ago Closed 5 years ago

Crash in [@ core::result::unwrap_failed | lucet_wasi::ctx::WasiCtxBuilder::fd_dup_for_io_desc]

Categories

(Core :: Security: Process Sandboxing, defect)

Unspecified
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1670878
Tracking Status
thunderbird_esr78 --- unaffected
firefox-esr78 --- unaffected
firefox84 - fix-optional
firefox85 + fixed
firefox86 + fixed

People

(Reporter: aryx, Unassigned)

References

Details

(Keywords: crash)

Crash Data

New macOS crash (in Firefox 84).

Crash report: https://crash-stats.mozilla.org/report/index/2ca602a7-5614-4883-9776-ecd460201221

MOZ_CRASH Reason: called `Result::unwrap()` on an `Err` value: Sys(EMFILE)

Top 10 frames of crashing thread:

0 XUL RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 XUL core::ops::function::Fn::call /builds/worker/fetches/rustc/lib/rustlib/src/rust/library/core/src/ops/function.rs:70
2 XUL std::panicking::rust_panic_with_hook library/std/src/panicking.rs:573
3 XUL std::panicking::begin_panic_handler::{{closure}} library/std/src/panicking.rs:476
4 XUL std::sys_common::backtrace::__rust_end_short_backtrace library/std/src/sys_common/backtrace.rs:153
5 XUL rust_begin_unwind library/std/src/panicking.rs:475
6 XUL core::panicking::panic_fmt library/core/src/panicking.rs:85
7 XUL core::result::unwrap_failed library/core/src/option.rs:1221
8 XUL lucet_wasi::ctx::WasiCtxBuilder::fd_dup_for_io_desc third_party/rust/lucet-wasi-wasmsbx/src/ctx.rs:127
9 XUL lucet_wasi::ctx::WasiCtxBuilder::new third_party/rust/lucet-wasi-wasmsbx/src/ctx.rs:23
Flags: needinfo?(lhansen)

Looks like this is lucet, so I believe it's RLBox related. Redirecting to someone who I believe can point this in the right direction.

Flags: needinfo?(lhansen) → needinfo?(deian)

Shravan has been looking into this, but I didn't needinfo him so may have dropped off his plate. Sorry!

Flags: needinfo?(deian) → needinfo?(shravanrn)

RLBox is not js:wasm, but sandboxing.

Component: Javascript: WebAssembly → Security: Process Sandboxing
See Also: → 1670878

This looks like it's a duplicate of bug 1670878, and thus fixed in 85, right?

Flags: needinfo?(aryx.bugmail)
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(aryx.bugmail)
Resolution: --- → DUPLICATE

Yup, I believe this is a duplicate and has been addressed.

Flags: needinfo?(shravanrn)
You need to log in before you can comment on or make changes to this bug.