Re: SYNC extension: misalignment of system counter structs?

Uli Schlachter <[email protected]> Fri, 7 Feb 2025 16:40:36 +0100
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <[email protected]>
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=20
>> test implementation incl. a local workaround. Is there anything I'm=20
>> 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=3D23403

> 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=20
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
--=20
=E2=80=9CSome people are worth melting for.=E2=80=9D - Olaf