[cairo] cairo 1.5.x and sparc

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 27 03:05:14 PST 2007


On Wed, 2007-12-26 at 14:21 -0500, Doug Klima wrote:
> Howdy all,
> 
> Some Gentoo guys doing some Firefox 3 work on SPARCs have discovered a
> regression that's causing crashers in Firefox 3. They've managed to
> identify a few more apps as well, (vlc and gucharmap) and found the
> common thread being cairo.
> 
> Long story short, using git-bisect they came up with
> http://gitweb.freedesktop.org/?p=cairo;a=commitdiff;h=901b0c97523a2da00ccf91cf4cee3bf55ce989b5
> as the bad patch.
> 
> Using the latest git does not resolve the issue.
> 
> Most of their debugging was done in a /query window to me on IRC, but
> our bug for it is http://bugs.gentoo.org/show_bug.cgi?id=203282
> 
> Since it's SPARC I'd venture a guess it's some alignment issue but I
> haven't looked into it at all and won't be able to until after the New
> Year, which is why I'm just kicking this over to the ML.

Thanks for pin-pointing the regression - I've pushed a fix to master
(d8169b8cef041b4dbcea44e050df28659f4846aa) which ensures the array of
points is naturally aligned.

/me wonders if valgrind (memcheck, preferably) can be trivially
extended to detect unaligned accesses. Hmm, maybe lackey does already...
--
Chris Wilson



More information about the cairo mailing list