Closed Bug 1773102 Opened 2 years ago Closed 2 years ago

Crash in [@ mozilla::a11y::RenderedToContentOffset]

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- wontfix
firefox103 --- fixed

People

(Reporter: aryx, Assigned: eeejay)

References

(Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

7 crashes from 2+ machines with Firefox 102.0a1 and 103.0a1. Setting as regression from bug 1737919, please adjust if necessary.

Crash report: https://crash-stats.mozilla.org/report/index/cc1823c2-7cf2-463a-bed9-20cc20220606

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0 xul.dll mozilla::a11y::RenderedToContentOffset accessible/base/TextLeafRange.cpp:59
1 xul.dll mozilla::a11y::FindDOMSpellingErrors accessible/base/TextLeafRange.cpp:420
2 xul.dll mozilla::a11y::TextLeafPoint::FindSpellingErrorSameAcc const accessible/base/TextLeafRange.cpp:1115
3 xul.dll mozilla::a11y::TextLeafPoint::FindTextAttrsStart const accessible/base/TextLeafRange.cpp:1345
4 xul.dll mozilla::a11y::HyperTextAccessibleBase::TextAttributes accessible/basetypes/HyperTextAccessibleBase.cpp:619
5 xul.dll mozilla::a11y::HyperTextAccessible::TextAttributes accessible/generic/HyperTextAccessible.cpp:1189
6 xul.dll mozilla::a11y::ia2AccessibleText::get_attributes accessible/windows/ia2/ia2AccessibleText.cpp:73
7 nvdahelperremote.dll GeckoVBufBackend_t::fillVBuf C:\projects\nvda\build\x86_64\vbufBackends\gecko_ia2\gecko_ia2.cpp:915
8 nvdahelperremote.dll GeckoVBufBackend_t::render C:\projects\nvda\build\x86_64\vbufBackends\gecko_ia2\gecko_ia2.cpp:1275
9 nvdahelperremote.dll VBufBackend_t::update C:\projects\nvda\build\x86_64\vbufBase\backend.cpp:206
Flags: needinfo?(eitan)

I'm assuming this is happening because the TextLeafAccessible doesn't have an nsTextFrame frame. This can happen when dealing with a XULLabelTextLeafAccessible which has an nsTextBoxFrame instead. This also makes sense since this crash is happening in the parent process where a XUL label text is most likely to be encountered.

Flags: needinfo?(eitan)
Assignee: nobody → eitan
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/027e84c2375c
Accomodate xul label[value] in offset conversions and spelling errors. r=Jamie
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

The patch landed in nightly and beta is affected.
:eeejay, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox102 to wontfix.

For more information, please visit auto_nag documentation.

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

Attachment

General

Created:
Updated:
Size: