Bug 7479 - Cairo crashes on Solaris due to depth/mask problems
Summary: Cairo crashes on Solaris due to depth/mask problems
Status: RESOLVED DUPLICATE of bug 7294
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.0
Hardware: SPARC Solaris
: high major
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 05:11 UTC by Steve Evans
Modified: 2006-07-10 07:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Steve Evans 2006-07-10 05:11:59 UTC
I get this crash when running any application that uses cairo:

(gtk-chtheme:15702): GLib-CRITICAL **: g_scanner_input_file: assertion `input_fd
>= 0' failed
Error: Cairo does not yet support the requested image format:
        Depth: 32
        Alpha mask: 0x00000000
        Red   mask: 0x000000ff
        Blue  mask: 0x0000ff00
        Green mask: 0x00ff0000

On most suns the values for the masks when using a 24 bit display are:

 visual:
   visual id:    0x27
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff, 0xff00, 0xff0000
   significant bits in color specification:    8 bits

However we have one machine out of 20 where the masks do match what you expect:

  visual:
    visual id:    0x22
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
Comment 1 Behdad Esfahbod 2006-07-10 07:29:55 UTC

*** This bug has been marked as a duplicate of 7294 ***


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.