No subject
Sat Jun 4 03:17:15 PDT 2011
Assertion failed: !"reached", file
/tmp/xas/build/X11_cairo_1.9.12_default_default_32/src/cairo-1.9.12/src/cairo-image-surface.c,
line 1294
See the backtrace attached.
Playing a bit around with gdb, I've found out that
cairo-image-surface.c:_pixman_format_from_masks
returns
PIXMAN_b8g8r8x8 = PIXMAN_FORMAT(32,PIXMAN_TYPE_BGRA,0,8,8,8)
and
cairo-image-surface.c:_cairo_format_from_pixman_format
returns a CAIRO_FORMAT_INVALID for this guy.
This then triggers the assertion later on.
xdpyinfo returns the same mask for the visuals as the one given within the
backtrace.
Because of the backtrace, the guys on IRC guessed that there might be a bug
within the fallback code. If this is the case and it is easy to fix: Fine,
please let me know.
If on the other hand, it is a deeper problem like no BGR support in cairo,
could you have a look at the very desperade workaround attached in
cairo_sparc_bgr2rgb.diff? It makes cairo believe BGR is RGB and seems to work
on this platform, but the possible side effects are very unclear to me.
However, I'm highly interested in a quick fix allowing our users to browse
their favourite websites again (while not breaking other things, of course).
Thank you very much for having a look and let me know if you need some other
information!
Best regards
Nicolai
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list