SYNC extension: misalignment of system counter structs?

Uli Schlachter psychon at znc.in
Fri Feb 7 15:40:36 UTC 2025


Hi,

Am 06.02.25 um 21:15 schrieb Alan Coopersmith:
> On 2/4/25 09:46, Daniel Neugebauer wrote:
>> It would be great if someone could confirm the issue. See [3] for a 
>> test implementation incl. a local workaround. Is there anything I'm 
>> doing wrong on my end?

I can confirm the issue and I can add that it is known:

https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/36
https://bugs.freedesktop.org/show_bug.cgi?id=23403

> So while I can confirm, I don't know how to fix it.

Alan from the past also has a test case for reproducing this. See 
bugs.fdo link above. :-)

Also, that Alan from the past suggested:

 > Quick, nasty hack workaround:
 > #define xcb_sync_systemcounter_name(sc) (((char *) &(sc)->name_len) + 2)

Cheers,
Uli
-- 
“Some people are worth melting for.” - Olaf


More information about the Xcb mailing list