[cairo-bugs] [Bug 74779] Segmentation fault when using a complex path for clip and stroke
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 12 02:47:57 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=74779
--- Comment #1 from Jussi Lahdenniemi <jlahd at iki.fi> ---
Had to get this working (at least to some extent), so I did a bit of research
on the problem. The root cause seems to be that in certain circumstances the
edges in the sweep list end up in a wrong order. When after that new edges are
inserted they may end up at _very_ wrong positions, and before long the whole
list is all messed up.
Unfortunately, I did not have the time to find a real fix, but I worked around
the problem by adding some NULL checks to the active_edges function (see the
attached workaround patch), which at least makes the SIGSEGV disappear. The
result is probably not pixel perfect, as the edges are still in the wrong
order, but that's not that big an issue for me.
I am also attaching another test case, reproduced from real live data this
time, which demonstrates hopefully a little less pathological case for
examination.
--
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/20140312/7eab7a75/attachment.html>
More information about the cairo-bugs
mailing list