I crashes in code like this: xcb_size_hints_t size_hints; xcb_get_wm_normal_hints_reply(connection, xcb_get_wm_normal_hints_unchecked(connection,win),&size_hints, NULL); or xcb_wm_hints_t wm_hints; xcb_get_wm_hints_reply(connection, xcb_get_wm_hints_unchecked(connection,win),&wm_hints, NULL); so I think it isn't 'awesome' bug. It is caused by commit fe7b12db4fc0e95f3eef038581bf2154e1727c7a "Correct the length calculation for the value field of GetPropertyReply." After doing revert 'awesome' didn't crash.
This commits changes the value returned by xcb_get_property_value_length().. which breaks xcb-icccm in case where the format is != 8.
commit 85c7984f110dabb23ebaef367bcf6df96ad34377 Author: Julien Danjou <julien@danjou.info> Date: Sat May 9 18:03:28 2009 +0200 icccm: fix compatibility with libxcb > 1.2 The get property value proto changed so we do not have to worry about formats. Reflect that change. Signed-off-by: Julien Danjou <julien@danjou.info>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.