Closed Bug 906052 Opened 12 years ago Closed 9 years ago

Canvas2D failed assertion "(int16_t)x == x" and crash [@SkToS16]

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: posidron, Assigned: gw280)

Details

(Keywords: assertion, crash, testcase, Whiteboard: [skia-upstream][gfx-noted])

Attachments

(2 files)

Attached file testcase
./gfx/skia/src/ports/SkFontHost_mac.cpp:1076 glyph->fTop = SkToS16(-sk_float_round2int(CGRectGetMaxY_inline(bounds))); * glyph->fLeft = SkToS16(sk_float_round2int(CGRectGetMinX_inline(bounds))); ./gfx/skia/src/core/SkDebug.cpp:28 int16_t SkToS16(long x) { SkASSERT((int16_t)x == x); return (int16_t)x; } user_pref("gfx.canvas.azure.backends", "skia"); user_pref("gfx.canvas.azure.enabled", true); user_pref("gfx.canvas.azure.accelerated", false); Tested with https://hg.mozilla.org/integration/mozilla-inbound/rev/6bcbba818727
Attached file callstack
Assignee: nobody → gwright
Whiteboard: [skia-upstream]
Does this still reproduce?
Flags: needinfo?(cdiehl)
Whiteboard: [skia-upstream] → [skia-upstream][gfx-noted]
No, does not reproduce anymore.
Flags: needinfo?(cdiehl)
Closing based on comment 3.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: