Closed Bug 1738034 Opened 3 months ago Closed 3 months ago

Windows startup Crash in [@ winapi_util::console::Console::create_for_stream]

Categories

(Core :: Networking: HTTP, defect, P1)

All
Windows
defect

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- unaffected
firefox95 blocking fixed

People

(Reporter: aryx, Unassigned)

References

(Regression)

Details

(Keywords: crash, regression, topcrash-thunderbird)

Crash Data

Firefox 95.0a1 20211027093708 - update was live only for a short time but already 400 crashes from 100 installations.

Maybe Fission related. (DOMFissionEnabled=1)

Crash report: https://crash-stats.mozilla.org/report/index/88db24f2-704e-426b-ae94-e6d210211027

MOZ_CRASH Reason: assertion failed: !handle.is_null()

Top 10 frames of crashing thread:

0 xul.dll RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 xul.dll mozglue_static::panic_hook mozglue/static/rust/lib.rs:91
2 xul.dll core::ops::function::Fn::call<void  ../09c42c45858d5f3aedfa670698275303a3d19afa/library/core/src/ops/function.rs:227
3 xul.dll std::panicking::rust_panic_with_hook ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/panicking.rs:628
4 xul.dll std::panicking::begin_panic_handler::closure$0 ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/panicking.rs:519
5 xul.dll std::sys_common::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure$0, never$> ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/sys_common/backtrace.rs:141
6 xul.dll std::panicking::begin_panic_handler ../09c42c45858d5f3aedfa670698275303a3d19afa//library/std/src/panicking.rs:517
7 xul.dll core::panicking::panic_fmt ../09c42c45858d5f3aedfa670698275303a3d19afa//library/core/src/panicking.rs:101
8 xul.dll core::panicking::panic ../09c42c45858d5f3aedfa670698275303a3d19afa//library/core/src/panicking.rs:50
9 xul.dll static winapi_util::console::Console::create_for_stream third_party/rust/winapi-util/src/console.rs:208

I'm seeing this with my local builds as well. Interestingly, if I launch Firefox from Visual Studio with the debugger attached, it works fine.

Severity: S2 → S1
Priority: -- → P1

The same build also launches fine if I invoke it with ./mach run.

This is also affecting the latest Thunderbird Daily too.

Crash Signature: [@ winapi_util::console::Console::create_for_stream] → [@ core::ops::function::Fn::call<T> | termcolor::BufferWriter::create] [@ winapi_util::console::Console::create_for_stream]

Regressing changes in bug 1736459 have been backed out and new Firefox Nightly updates are available.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Great... there are more places that can initialize env_logger.

You need to log in before you can comment on or make changes to this bug.