Closed Bug 1884601 Opened 1 year ago Closed 1 year ago

Crash in [@ mozilla::Maybe<T>::operator* | mozilla::dom::AbstractRange::StartOffset]

Categories

(Core :: DOM: Selection, defect)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox123 --- unaffected
firefox124 --- unaffected
firefox125 --- fixed

People

(Reporter: diannaS, Unassigned)

References

(Regression)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/6a7f30fa-da41-4a66-8ed7-2543b0240311

MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(isSome())

Top 10 frames of crashing thread:

0  xul.dll  AnnotateMozCrashReason  mfbt/Assertions.h:46
0  xul.dll  mozilla::Maybe<unsigned int>::operator*  mfbt/Maybe.h:831
0  xul.dll  mozilla::dom::AbstractRange::StartOffset const  dom/base/AbstractRange.h:86
0  xul.dll  mozilla::dom::Selection::StyledRanges::ReorderRangesIfNecessary  dom/base/Selection.cpp:1487
0  xul.dll  mozilla::dom::Selection::StyledRanges::GetIndicesForInterval  dom/base/Selection.cpp:1626
1  xul.dll  mozilla::dom::Selection::GetAbstractRangesForIntervalArray  dom/base/Selection.cpp:1398
2  xul.dll  mozilla::dom::Selection::LookUpSelection  dom/base/Selection.cpp:1882
3  xul.dll  nsFrameSelection::LookUpSelection const  layout/generic/nsFrameSelection.cpp:1462
4  xul.dll  nsTextFrame::GetSelectionDetails  layout/generic/nsTextFrame.cpp:4693
4  xul.dll  nsTextFrame::PaintTextWithSelection  layout/generic/nsTextFrame.cpp:6413

I think this also might have been caused by bug 1881695. :jjaschke can you take a look?

Flags: needinfo?(jjaschke)
See Also: → 1881695

Fixed by backout of bug 1881695.

Status: NEW → RESOLVED
Closed: 1 year ago
Keywords: regression
Regressed by: 1881695
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Flags: needinfo?(jjaschke)
See Also: 1881695
You need to log in before you can comment on or make changes to this bug.