[Xcb] xcb-render-util crashs
julien at danjou.info
Thu Oct 30 01:51:11 PDT 2008
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);
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 and if
xcb_render_util_query_version should simply chek for extension presence
 Well I know I had the same problem in awesome with Xinerama, and I
do check for extension presence before asking for version.
// ᐰ <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
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20081030/05b5e98e/attachment.pgp
More information about the Xcb