Closed Bug 801962 Opened 12 years ago Closed 9 years ago

Hang or crash with gfx.canvas.azure.accelerated, scale, fillText

Categories

(Core :: Graphics, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: crash, hang, testcase)

Crash Data

Attachments

(2 files)

Firefox trunk, Mac OS X 10.7.5, Mac Mini.

With:
  user_pref("gfx.canvas.azure.accelerated", true);

The testcase causes high memory use (about 5 GB) and a warning from CA:

Oct 15 17:27:28 jruderman-mini3.local firefox-bin[1111] <Error>: CGAffineTransformInvert: singular matrix.

I noticed this because under ASan, a variant resulted in a malloc failure followed by a null deref [@ CA::CG::emit_glyphs].
Comment on attachment 707915 [details] [diff] [review]
Don't attempt to draw with a singular matrix

Review of attachment 707915 [details] [diff] [review]:
-----------------------------------------------------------------

I don't really like this patch. The WebKit CG backend doensn't seem to need to do this. Does this test case also break them? If not how do they avoid the problem?
Attachment #707915 - Flags: review?(jmuizelaar) → review-
Can you still reproduce the issue with latest version with clean new fresh profile without any addons and plugins?
Flags: needinfo?(jruderman)
WFM on trunk, on a laptop with Mac OS X 10.10.x.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jruderman)
Resolution: --- → WORKSFORME
Thank you very much for retest and reply.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: