Closed Bug 1696409 Opened 3 years ago Closed 3 years ago

Crash in [@ core::option::expect_failed | style::properties::UnparsedValue::substitute_variables]

Categories

(Core :: CSS Parsing and Computation, defect)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- fixed
firefox88 --- fixed

People

(Reporter: aryx, Assigned: emilio)

References

(Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

Firefox 87+ content crash on Windows, 87.0b3 had 12 installations which reported this crash.

Crash report: https://crash-stats.mozilla.org/report/index/266d9350-60ab-4635-9516-9ac2f0210304

MOZ_CRASH Reason: no entry found for key

Top 10 frames of crashing thread:

0 xul.dll RustMozCrash mozglue/static/rust/wrappers.cpp:16
1 xul.dll mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 xul.dll core::ops::function::Fn::call<fn ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/ops/function.rs:227
3 xul.dll std::panicking::rust_panic_with_hook ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/std/src/panicking.rs:595
4 xul.dll std::panicking::begin_panic_handler::{{closure}} ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/std/src/panicking.rs:497
5 xul.dll std::sys_common::backtrace::__rust_end_short_backtrace<closure-0, !> ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/std/src/sys_common/backtrace.rs:141
6 xul.dll std::panicking::begin_panic_handler ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/std/src/panicking.rs:493
7 xul.dll core::panicking::panic_fmt ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/core/src/panicking.rs:92
8 xul.dll core::option::expect_failed ../cb75ad5db02783e8b0222fee363c5f63f7e2cf5b//library/core/src/option.rs:1260
9 xul.dll style::properties::UnparsedValue::substitute_variables x86_64-pc-windows-msvc/release/build/style-4a370e3662cd9e56/out/properties.rs:43882

Should be a regression from bug 1690836. Jason do you know if any fuzzer has seen this?

Flags: needinfo?(jkratzer)
Regressed by: 1690836
Has Regression Range: --- → yes
Assignee: nobody → emilio
Status: NEW → ASSIGNED

Comment on attachment 9207343 [details]
Bug 1696409 - Paper over a crash in non-nightly. r=#style

Beta/Release Uplift Approval Request

  • User impact if declined: Potential crash (unclear for now what conditions cause this, I've added more diagnostic info to the crash message).
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Fall back to a safe invalid value when this happens instead of crashing.
  • String changes made/needed: none
Attachment #9207343 - Flags: approval-mozilla-beta?

(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)

Should be a regression from bug 1690836. Jason do you know if any fuzzer has seen this?

No unfortunately not. Any idea if this could be a Windows only issue?

Flags: needinfo?(jkratzer)

It shouldn't be.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d938d1793e8
Paper over a crash in non-nightly. r=boris
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Comment on attachment 9207343 [details]
Bug 1696409 - Paper over a crash in non-nightly. r=#style

approved for 87.0b8

Attachment #9207343 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: