Bug 3604

Summary: Gdk-ERROR with cairo 0.5.1, not with cairo 0.5.0
Product: cairo Reporter: Daniel Stone <daniel>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-06-22 20:33:09 UTC
As reported at http://lists.freedesktop.org/archives/cairo/2005-June/004318.html

Running cairo-demo/svgspacewar with the 0.5.1 snapshot gives me the error below,
but it's fine with 0.5.0.  Any ideas?  Ubuntu 5.04's X server, with gtk+-2.7.0,
what else do you need to know?


~/devel/cairo-demo/svgspacewar> ./svgspacewar
Gdk-ERROR **: The program 'svgspacewar' received an X Window System
error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 386 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.)
aborting...
Trace/breakpoint trap
Comment 1 FreeDesktop Bugzilla Database Corruption Fix User 2005-06-22 20:34:15 UTC
Created attachment 2941 [details]
my xorg.conf
Comment 2 FreeDesktop Bugzilla Database Corruption Fix User 2005-06-22 20:34:58 UTC
Created attachment 2942 [details]
a pangocairo test program (in python)
Comment 3 Owen Taylor 2005-07-06 08:57:37 UTC
Please check to see if you have an old version of libpixman ... this
is known to create BadMatch on PutImage exactly like what you have
below. (Request 72 == PutImage)
Comment 4 FreeDesktop Bugzilla Database Corruption Fix User 2005-07-06 18:31:33 UTC
Indeed, I updated libpixman from 0.1.4 to 0.1.5 and the symptoms have gone away.
Comment 5 Carl Worth 2005-08-22 17:15:50 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

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.