Bug 5205 - X-error received with 8 Bit color X-Terminal
Summary: X-error received with 8 Bit color X-Terminal
Status: RESOLVED DUPLICATE of bug 4945
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.0.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 06:28 UTC by Martin Hoehle
Modified: 2006-04-19 00:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Hoehle 2005-12-01 06:28:40 UTC
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 (!).
Comment 1 Carl Worth 2006-04-19 17:07:26 UTC

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


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.