[cairo] Random crashes in polygon code

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 2 07:52:15 PDT 2011


On Fri, 2 Sep 2011 15:50:27 +0200, Krzysztof Kosiński <tweenk.pl at gmail.com> wrote:
Non-text part: multipart/mixed
> Hello
> 
> Recently a bug has been reported against Inkscape when used with Cairo
> from master. It appears there are some crash bugs in the polygon code.
> These crashes do not appear in 1.10.2 and are not related to
> multithreading. Attached is one of the backtraces. I'm not reporting
> this to the bug tracker because I don't have a reduced test case yet.
> I can reproduce the crash fairly reliably by moving the mouse while a
> certain image is being drawn. I'll try to capture a backtrace of that
> as well. Moving the mouse causes a different part of the image to be
> rendered and therefore probably changes the memory placement of some
> objects - it is not related to mouse event processing.

Hmm, abort() from malloc when it detects memory corruption after the
event. There's one known issue with bo-rectangular that is upsetting
lots of people, and its about time I pushed the patch...

It is most likely the same issue, valgrind is probably the best tool
to tell if it is.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list