[cairo] crash with pixman-0.17.4

Siarhei Siamashka siarhei.siamashka at gmail.com
Sat Jan 23 14:32:16 PST 2010

On Saturday 23 January 2010, Yogish Kulkarni wrote:
> I am using Xorg Version: 1.5.3 with 16bpp, crash is observed while
> runing GTK app.
> I tried pixman-0.17.4 with disabling neon & simd, now it crashes in
> fetch_scanline_r5g6b5 function while reading a pixel from source image.

OK, thanks. I just wanted to rule out the possibility that the new NEON code
is responsible for this problem.

> I have attached GDB trace and register dump. Since crash is while
> reading some memory location, now I am thinking there might be bug in X
> version I am using

If I understand it correctly, the behavior of pixman has changed recently and
xserver also had to be updated to accommodate these changes. Out of bound
workaround was required to maintain compatibility with old versions of xserver
and probably it is failing somehow in your case. I would guess that upgrading
xserver is the right thing to do in the long run. Soeren can probably explain
it much better and correct me if I was wrong.

16bpp desktop is not that common on personal computers nowadays, so any
problems related to it are probably more likely to be encountered on ARM or
other embedded systems.

> or in the app itself. 

X should not crash no matter what applications are trying to throw at it :)

Best regards,
Siarhei Siamashka

More information about the cairo mailing list