Closed Bug 1248223 Opened 4 years ago Closed 4 years ago

SkRegion_path.cpp:306: failed assertion "top <= bot"

Categories

(Core :: Canvas: 2D, defect, critical)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: jruderman, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

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

Attachments

(3 files)

Attached file testcase
gfx/skia/skia/src/core/SkRegion_path.cpp:306: failed assertion "top <= bot"
Attached file stack
Flags: needinfo?(lsalzman)
Whiteboard: [gfx-noted]
The test case is basically letting a non-finite lineWidth get through to StrokeOptions, which Skia does not seem to like at all. This ensures we are not passing that through to Skia. DrawTargetSkia was already checking if StrokeOptionsToPaint failed, though PathSkia was not.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Flags: needinfo?(lsalzman)
Attachment #8722732 - Flags: review?(jmuizelaar)
Attachment #8722732 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/7ab8341b7e7a
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.