[Xcb] xcb-render-util crashs

Barton C Massey bart at cs.pdx.edu
Mon Nov 17 10:00:34 PST 2008


I've long since forgotten how extension startup works in
XCB.  I'm hoping Jamey or Josh will field this one?

	Bart

In message <20081117125946.GB20544 at abydos.adm.naquadah.org> you wrote:
> At 1225356671 time_t, Julien Danjou wrote:
> > I've discovered that cairo crashes on X server not supporting RENDER.
> > (in this case, vnc4server).
> >=20
> > In fact as soon as xcb-render-util sends a query version requests,
> > xcb_connection_t get erroneous, so everything crash then.
> >=20
> > The affected code is in cache.c:find_or_create_display()
> >=20
> > 152     version_cookie =3D xcb_render_query_version(c, 0, 10);=20
> > 153     formats_cookie =3D xcb_render_query_pict_formats(c);=20
> > 154     xcb_flush(c);=20
> >=20
> > when xcb_render_util_query_version(c) is called.
> >=20
> > I've no real clue how to correctly fix that, and I'd appreciate a hint.
> > I wonder if this is really normal[1] and if
> > xcb_render_util_query_version should simply chek for extension presence
> > before.
> >=20
> > [1] Well I know I had the same problem in awesome with Xinerama, and I
> > do check for extension presence before asking for version.
> 
> Any one?
> 
> --=20
> Julien Danjou
> // =E1=90=B0 <julien at danjou.info>   http://julien.danjou.info
> // 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
> 
> --DKU6Jbt7q3WqK7+M
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: Digital signature
> Content-Disposition: inline
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> 
> iEYEARECAAYFAkkhasIACgkQpGK1HsL+5c1cggCdEyv/XKgwAHVfybdLMgrw/dYB
> K0sAnjyyu88t7fZA1L8c0Ri7LA+kRN8n
> =kOis
> -----END PGP SIGNATURE-----
> 
> --DKU6Jbt7q3WqK7+M--
> 
> --===============0962763482==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
> --===============0962763482==--


More information about the Xcb mailing list