Bug 12073 - CRASH: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
Summary: CRASH: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.4.9
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 15:06 UTC by Saikat Guha
Modified: 2008-04-11 07:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Requested output from xdpyinfo (6.16 KB, text/plain)
2007-08-22 05:28 UTC, Saikat Guha
Details

Description Saikat Guha 2007-08-20 15:06:10 UTC
Error: Cairo 1.4.10 does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00ff0000
        Green mask: 0x0000ff00
        Blue  mask: 0x000000ff
Please file an enhancement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
python: cairo-image-surface.c:199: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
Comment 1 Carl Worth 2007-08-20 15:37:45 UTC
That's a very confusing error message.

It appears that your X server is advertising a visual with 8 bits for each of the red, green, and blue channels but then also declaring the total depth to be only 8.

What X server is this?

And could you include the output from xdpyinfo with that X server?

Thanks,

-Carl
Comment 2 Saikat Guha 2007-08-22 05:28:15 UTC
Created attachment 11206 [details]
Requested output from xdpyinfo
Comment 3 Ed Sternin 2008-01-11 15:42:04 UTC
$ iceweasel 
Error: Cairo 1.4.12 does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00000000
        Green mask: 0x00000000
        Blue  mask: 0x00000000
Please file an enhancement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
iceweasel-bin: cairo-image-surface.c:199: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
/usr/lib/iceweasel/run-mozilla.sh: line 131:  3415 Aborted                 "$prog" ${1+"$@"}

This is on a Zenwalk 5.0 distribution server, connected to from an NCD Xterminal (HMXpro), and running Xterminal's native wm.  This is an 8-bit display.

Opera 9.24 works fine (though complains at launch about missing MIT-SHM extension). 
Comment 4 Chris Wilson 2008-04-11 07:25:39 UTC
Mass closing of 8-/15-/16-/32-bit unsupported image formats as these should now all work in 1.6.0. Please test and reopen if you have any issues.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.