Closed Bug 342257 Opened 18 years ago Closed 18 years ago

Crash [@ gfxWindowsTextRun::MeasureOrDrawFast] with extremely zoomed foreignObject with html page

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: pavlov)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(2 files)

See upcoming testcase, which crashes current trunk Firefox build on windowsxp

Talkback ID: TB20101829Y
gfxWindowsTextRun::MeasureOrDrawFast   gfxWindowsTextRun::Draw   nsThebesFontMetrics::DrawString   nsThebesRenderingContext::DrawString   nsLayoutUtils::SafeDrawString   nsTextFrame::PaintAsciiText
Summary: Crash [@ gfxWindowsTextRun::MeasureOrDrawFast] with extremely zoomed html page → Crash [@ gfxWindowsTextRun::MeasureOrDrawFast] with extremely zoomed foreignObject with html page
Attached file testcase
A dup of bug 333861 also crashed in gfxWindowsTextRun::MeasureOrDrawFast, so CCing pav.
Attached patch fixSplinter Review
Assignee: nobody → pavlov
Status: NEW → ASSIGNED
Attachment #226716 - Flags: review?(mrbkap)
Comment on attachment 226716 [details] [diff] [review]
fix

Comment on why we return 0 here, (and -1 in the very similar-looking case below) please.
Attachment #226716 - Flags: review?(mrbkap) → review+
fixed -- should probably file a seperate bug with this testcase on clamping font/scale/etc sizes so that we render something in this case.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Crash Signature: [@ gfxWindowsTextRun::MeasureOrDrawFast]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: