Open Bug 1999159 Opened 4 months ago Updated 1 month ago

Crash in [@ mozilla::StyleOwnedSlice<T>::AsSpan]

Categories

(Core :: CSS Parsing and Computation, defect)

x86
All
defect

Tracking

()

Tracking Status
thunderbird_esr140 --- affected
firefox-esr140 --- affected
firefox146 --- affected
firefox147 --- affected

People

(Reporter: release-mgmt-account-bot, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [tbird crash])

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/7768427d-1e5f-41cd-ae27-0e6c30251105

MOZ_CRASH Reason: MOZ_RELEASE_ASSERT((!elements && extentSize == 0) || (elements && extentSize != dynamic_extent))

Top 10 frames of crashing thread:

0  xul.dll  AnnotateMozCrashReason  mfbt/Assertions.h:58
0  xul.dll  mozilla::Span<const mozilla::StyleGenericBoxShadow<mozilla::StyleGenericColor<mozilla::StylePercentage>, mozilla::StyleCSSPixelLength, mozilla::StyleCSSPixelLength, mozilla::StyleCSSPixelLength>, 4294967295>::storage_type<mozilla::span_details::extent_type<4294967295> >::storage_type  mfbt/Span.h:851
0  xul.dll  mozilla::Span<const mozilla::StyleGenericBoxShadow<mozilla::StyleGenericColor<mozilla::StylePercentage>, mozilla::StyleCSSPixelLength, mozilla::StyleCSSPixelLength, mozilla::StyleCSSPixelLength>, 4294967295>::Span  mfbt/Span.h:409
0  xul.dll  mozilla::StyleOwnedSlice<mozilla::StyleGenericBoxShadow<mozilla::StyleGenericColor<mozilla::StylePercentage>, mozilla::StyleCSSPixelLength, mozilla::StyleCSSPixelLength, mozilla::StyleCSSPixelLength> >::AsSpan const  layout/style/ServoStyleConsts.h:2886
0  xul.dll  nsStyleEffects::HasBoxShadowWithInset const  layout/style/nsStyleStruct.h:2327
0  xul.dll  nsIFrame::DisplayInsetBoxShadowUnconditional  layout/generic/nsIFrame.cpp:2592
0  xul.dll  nsIFrame::DisplayBorderBackgroundOutline  layout/generic/nsIFrame.cpp:2692
0  xul.dll  nsFlexContainerFrame::BuildDisplayList  layout/generic/nsFlexContainerFrame.cpp:2982
0  xul.dll  nsIFrame::BuildDisplayListForChild  layout/generic/nsIFrame.cpp:4509
1  xul.dll  nsFlexContainerFrame::BuildDisplayList  layout/generic/nsFlexContainerFrame.cpp:3004

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2025-11-05
  • Process type: Content
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: No
Component: General → CSS Parsing and Computation

Triaging as S3, given that it's a release assert and hence seems like we're crashing safely at least.

(Roughly 1/10th of the crash reports have a nonzero "Possible bit flips max confidence", so at least some of this may be explainable by bad hardware, too...)

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.