Closed Bug 1225381 Opened 6 years ago Closed 6 years ago

Canvas mozCurrentTransformInverse & fillText: SkFixed.h:46: failed assertion "n64 == n32"

Categories

(Core :: Canvas: 2D, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: jruderman, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase
gfx/skia/skia/include/core/SkFixed.h:46: failed assertion "n64 == n32"

Thanks to Lee Salzman for fixing the previous instance in bug 1190705 ;)
Attached file stack
I see "SkScalerContext_Mac" on the stack, so this might be Mac-specific (in addition to Skia-specific).
This is just basically a new case of bug 1190705. We need to ensure the supplied matrix is finite, otherwise stuff blows up downwind.

The patch adds some new checks as well as adds the testcase as a crashtest.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Attachment #8688526 - Flags: review?(jmuizelaar)
Attachment #8688526 - Flags: review?(jmuizelaar) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/697b98680150
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.