[Xcb] xcb-render-util crashs
Julien Danjou
julien at danjou.info
Thu Oct 30 01:55:08 PDT 2008
At 1225356671 time_t, Julien Danjou wrote:
> Hi,
>
> I've discovered that cairo crashes on X server not supporting RENDER.
> (in this case, vnc4server).
>
> In fact as soon as xcb-render-util sends a query version requests,
> xcb_connection_t get erroneous, so everything crash then.
>
> The affected code is in cache.c:find_or_create_display()
>
> 152 version_cookie = xcb_render_query_version(c, 0, 10);
> 153 formats_cookie = xcb_render_query_pict_formats(c);
> 154 xcb_flush(c);
>
> when xcb_render_util_query_version(c) is called.
>
> 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.
>
> [1] Well I know I had the same problem in awesome with Xinerama, and I
> do check for extension presence before asking for version.
>
> Cheers,
> --
> Julien Danjou
> // ᐰ <julien at danjou.info> http://julien.danjou.info
> // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
--
Julien Danjou
// ᐰ <julien at danjou.info> http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20081030/bc3b3d78/attachment.pgp
More information about the Xcb
mailing list