[cairo-bugs] [Bug 13303] Crash (_cairo_pen_find_active_cw_vertex_index: Assertion `i < pen->num_vertices' failed) with CAIRO_LINE_CAP_ROUND and a degenerate transform matrix.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 21 16:24:41 PST 2007
http://bugs.freedesktop.org/show_bug.cgi?id=13303
cworth at cworth.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|_cairo_pen_find_active_cw_ve|Crash
|rtex_index failed assertion |(_cairo_pen_find_active_cw_v
| |ertex_index: Assertion `i <
| |pen->num_vertices' failed)
| |with CAIRO_LINE_CAP_ROUND
| |and a degenerate transform
| |matrix.
------- Comment #8 from cworth at cworth.org 2007-11-21 16:31 PST -------
OK. Here's the scoop:
The test in bug 10231 originally tickled this problem by attempting to stroke
with a line width explicitly 0.0. This was first fixed in cairo 1.4.2, (and
added to the test suite as line-width-zero).
In this bug report we're seeing the same assertion failure, but with a non-zero
line width, but a transformation matrix that transforms the two-dimensional pen
to a one-dimensional line or to a zero-dimensional point. This bug exists as of
cairo 1.4.10.
Benjamin Otte had raised this bug previously on the cairo mailing list, and it
has since been fixed (and added to the test suite as degenerate-pen).
This bug can be verified as fixed, (with the attached test cast) in both the
1.5.2 and 1.4.11 snapshots of cairo. This means it will be fixed in the
upcoming 1.6.0 and 1.4.12 releases of cairo.
Thanks for the report.
-Carl
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list