[cairo-bugs] [Bug 78339] Certain rectilienar path+clip combinations crash the image backend at stroke

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 11 12:01:19 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78339

--- Comment #1 from Uli Schlachter <psychon at znc.in> ---
Created attachment 98868
  --> https://bugs.freedesktop.org/attachment.cgi?id=98868&action=edit
The provided test case in a form suitable for cairo-test-suite

Thanks for that excellent test case, Zoltan. I hacked it into something
suitable for cairo-test-suite and I can confirm that this still dies from the
failed assertion on current git/master. And nope, sorry, no quick suggestions
for a fix (but I am not sure about ignoring the clip for extents->clip->path ==
NULL is the right thing unless something somewhere already intersects the drawn
boxes with the clip's boxes).

Are you ok with the following header being added to your test case?

/*
 * Copyright © 2014 Zoltan Turanyi
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use, copy,
 * modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 * Author: Zoltan Turanyi <teknos at gmail.com>
 */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140511/1149c429/attachment.html>


More information about the cairo-bugs mailing list