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

RESOLVED FIXED

Status

()

Core
Graphics
--
critical
RESOLVED FIXED
12 years ago
7 years ago

People

(Reporter: Martijn Wargers (zombie), Assigned: Stuart Parmenter)

Tracking

(Blocks: 1 bug, {crash, testcase})

Trunk
x86
Windows XP
crash, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
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
(Reporter)

Updated

12 years ago
Summary: Crash [@ gfxWindowsTextRun::MeasureOrDrawFast] with extremely zoomed html page → Crash [@ gfxWindowsTextRun::MeasureOrDrawFast] with extremely zoomed foreignObject with html page
(Reporter)

Comment 1

12 years ago
Created attachment 226470 [details]
testcase

Comment 2

12 years ago
A dup of bug 333861 also crashed in gfxWindowsTextRun::MeasureOrDrawFast, so CCing pav.
(Assignee)

Comment 3

12 years ago
Created attachment 226716 [details] [diff] [review]
fix
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+
(Assignee)

Comment 5

12 years ago
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
Last Resolved: 12 years ago
Resolution: --- → FIXED
Crash Signature: [@ gfxWindowsTextRun::MeasureOrDrawFast]
You need to log in before you can comment on or make changes to this bug.