Closed Bug 615475 Opened 15 years ago Closed 15 years ago

Crash [@ nsTextFrame::GetTrimmedOffsets] [@ GetTrimmableWhitespaceCount] with a11y, text wrapping

Categories

(Core :: Disability Access APIs, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla2.0b11
Tracking Status
blocking2.0 --- final+

People

(Reporter: jruderman, Assigned: surkov)

References

Details

(Keywords: crash, testcase, Whiteboard: [softblocker])

Crash Data

Attachments

(2 files)

1. Enable accessibility, e.g. by pasting the following into the js console: Components .classes["@mozilla.org/accessibilityService;1"] .getService(Components.interfaces.nsIAccessibleRetrieval); 2. Load the testcase. Result: Crash [@ GetTrimmableWhitespaceCount]
Attached file crash log
bp-ca88219e-68f1-4dd8-ad4e-baf512101129 [@ nsTextFrame::GetTrimmedOffsets]
Summary: Crash [@ GetTrimmableWhitespaceCount] with a11y, text wrapping → Crash [@ nsTextFrame::GetTrimmedOffsets] [@ GetTrimmableWhitespaceCount] with a11y, text wrapping
This may account for a topcrash, bug 612098.
Blocks: 612098
blocking2.0: --- → ?
(In reply to comment #3) > This may account for a topcrash, bug 612098. I think these crashed should go away after bug 498015.
blocking2.0: ? → final+
Feel free to cc Alexander and I on bug 377438 if it will help. I agree regarding bug 498015, and I've bumped the priority there. I think it should be our top priority.
Assignee: nobody → surkov.alexander
Whiteboard: [softblocker]
(In reply to comment #6) > Fixed via bug 498015? no
I wonder if there is some way to detect when it is unsafe for nsCSSFrameConstructor::ContentRemoved to call into us?
(Or when it is unsafe for us to get rendered text)
I think a11y should cache rendered text instead 1) we can be sure AT won't call us when unsafe what may result in crashes like this 2) it allows us to make correct the text change events
Yes. Jamie, how crucial is it that you get the text for text remove events?
(In reply to comment #10) > I think a11y should cache rendered text instead You filed bug 626660 for this right?
Depends on: 626660
(In reply to comment #12) > (In reply to comment #10) > > I think a11y should cache rendered text instead > > You filed bug 626660 for this right? Correct
Depends on: 630001
fixed by bug 630001 part1.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b11
Crash Signature: [@ nsTextFrame::GetTrimmedOffsets] [@ GetTrimmableWhitespaceCount]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: