[cairo-bugs] [Bug 5205] New: X-error received with 8 Bit color X-Terminal

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 30 11:32:27 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5205          
     
           Summary: X-error received with 8 Bit color X-Terminal
           Product: cairo
           Version: 1.0.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: bugs at mh.htnet.de
         QAContact: cairo-bugs at cairographics.org


running gimp with gtk 2.8.7 and cairo 1.0.2 on an linux Host and
NCD 256 color X Terminal produce the following message:

The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 998 error_code 8 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

this dosn't occur if I use an true color X-Terminal.

after some debugging I found:

in
src/cairo-xlib-surface.c
in function
  _draw_image_surface

XPutImage will be called with an ximage with depth 0 (!).          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list