[cairo] rendering to image, then to X11 display

Chris Wilson chris at chris-wilson.co.uk
Mon Sep 3 01:00:10 PDT 2007


Jim Gettys (jg at laptop.org) said: 
> On Sun, 2007-09-02 at 15:23 +0200, Tamas K Papp wrote:
> > I am getting tired of debugging my double buffered code for X11: I
> > tried following Carl's suggestions and started to use Xtrace, but the
> > whole thing is getting arcane and beyond my abilities.  For example,
> > lately I found out that trying to stoke a path with more than approx
> > 10000 segments will kill the X connection with
> > 
> > * X connection to :0.0 broken (explicit kill or server shutdown).
> 
> This sounds like it could a bug in the XRender library, where it may be
> not handling big requests properly...

Sounds more like a bug in the xserver where connections are terminated
if the request exceeds a hard-coded MAXBUFSIZE which is many times
smaller than the advertised maximum BigReq.
--
Chris Wilson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxbufsize.patch
Type: text/x-diff
Size: 833 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20070903/d2c3d8ee/attachment.patch 


More information about the cairo mailing list