[Mono-devel-list] Testing libgdiplus-0.5 on Solaris

Bob Meader bob at cci.net
Thu May 27 17:22:32 EDT 2004


I am testing libgidplus on Solaris 10 beta 1.
I get the following error message from Xserver when running
testgdi in the "tests" directory of libgdiplus-0.5.

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 17
Current serial number in ouput stream: 21.

XPutImage function is in _cairo_xlib_surface_set_image() in source file
cairo_xlib_surface.c.
--------------------------------dbx-----------------------------------------
-------------------
Here is a stack trace just prior to executing the XPutImage function.
=>[1] _cairo_xlib_surface_set_image(abstract_surface = 0x71998, image =
0x7c668), line 276 in "cairo_xlib_surface.c"
  [2] _cairo_surface_set_image(surface = 0x71998, image = 0x7c668), line 138
in "cairo_surface.c"
  [3] _cairo_surface_composite_trapezoids(operator = CAIRO_OPERATOR_OVER,
src = 0x7bf58, dst = 0x71998, x_src = 200, y_src = 0, traps = 0x7c3e8,
num_traps = 1), line 337 in "cairo_surface.c"
  [4] _cairo_gstate_clip_and_composite_trapezoids(gstate = 0x2da60, src =
0x7d420, operator = CAIRO_OPERATOR_OVER, dst = 0x71998, traps = 0xffbff194),
line 1487 in "cairo_gstate.c"
  [5] _cairo_gstate_fill(gstate = 0x2da60), line 1516 in "cairo_gstate.c"
  [6] cairo_fill(cr = 0x2b970), line 588 in "cairo.c"
  [7] GdipDrawImageRect(graphics = 0x2df60, image = 0x7be68, x = 200.0, y =
0.0, width = 320.0, height = 200.0), line 189 in "image.c"
  [8] GdipDrawImage(graphics = 0x2df60, image = 0x7be68, x = 200.0, y =
0.0), line 160 in "image.c"
  [9] win_draw(win = 0xffbff3c8), line 74 in "testgdi.c"
  [10] main(argc = 1, argv = 0xffbff44c), line 113 in "testgdi.c"

----------------------------------------------------------------------------
-----------
XPutImage(surface->dpy,surface->drawable,surface->gc,ximage,
                0,0,0,0,surface->width,surface->height)
surface->dpy = 0x2af8
surface->drawable= 9437185U
ximage = 0x72f10
surface->gc= 0x7c40
surface->width=400
surface->height=400
------------------software
versions -----------------------------------------------------
cairo = 0.1.23 freetype=2.1.8 glib=2.4.0 libpixman=0.1.1 XCB=0.8
compiler is Sun Forte version 6.2 .
----------------------------------------------------------------------------
----------------------
My best guess the problem lies with cairo...Anyone has a test suite for
cairo?




More information about the Mono-devel-list mailing list