[cairo] Call to cairo_paint triggers an assertion

Lionel Landwerlin llandwerlin at gmail.com
Wed Jan 6 08:25:08 PST 2010


Why are you using the ADD operator ?

On Wed, Jan 6, 2010 at 5:14 PM, Tim Corio <tcorio at rochester.rr.com> wrote:

> Joonas,
>
> I built this very same program on a different machine and the original
> symptom went away.  I don't think the library versions have changed
> because I'm still including from the same directory names.
>
> Now, it no longer crashes, but the resulting image is garbled.  It may
> be a very skewed copy of the original.
>
> If each line was skewed by one pixel the image would be recognizable,
> but at a 45 degree tilt.  In this case the image is unrecognizable, but
> the mix of pixel colors look about right.
>
> Any help on this new symptom is appreciated.
>
> Thanks,
> Tim
>
> On Sun, 2010-01-03 at 15:37 +0200, M Joonas Pihlaja wrote:
> > Hi Tim,
> >
> > I ran your program on my 64 bit Debian Linux Etch machine using
> > gtk+-2.0 version 2.12.12, whatever aged X.org server comes with Debian
> > stable, and various combinations of cairo 1.6.4, 1.8.x, and the
> > current cairo master, but couldn't trigger the assertion you saw.  It
> > even ran cleanly under valgrind.  Provided the GTK part of the code is
> > okay, and it looks fine to me (but then I know very little about GTK),
> > I don't see why it should crash for you.  If updating to cairo 1.8.6
> > doesn't help you, then perhaps you could give some more information
> > about your platform and versions of things.  That might help someone
> > with your platform to track down the bug.
> >
> > Cheers,
> >
> > Joonas
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20100106/70b23a56/attachment.html 


More information about the cairo mailing list