[Xcb] [Bug 23403] compiler padding causes reply parsing to use incorrect offsets

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 11 22:17:49 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=23403

--- Comment #1 from Alan Coopersmith <alan.coopersmith at oracle.com> 2012-05-11 22:17:49 PDT ---
Created attachment 61472
  --> https://bugs.freedesktop.org/attachment.cgi?id=61472
Test case showing incorrect offset handling in xcb_sync_systemcounter_name

I just hit this again today, and extracted the attached test case to prove it,
then found this bug when searching before filing a new one.

When compiled with either -m32 or -m64, it outputs (run against Xorg post-1.12
git master):

4c: VICEIDLETIME 7 (resolution: 4)
  Actual name: DEVICEIDLETIME 7
4b: VICEIDLETIME 6 (resolution: 4)
  Actual name: DEVICEIDLETIME 6
4a: VICEIDLETIME 5�� (resolution: 4)
  Actual name: DEVICEIDLETIME 5
49: VICEIDLETIME 4 (resolution: 4)
  Actual name: DEVICEIDLETIME 4
48: VICEIDLETIME 3 (resolution: 4)
  Actual name: DEVICEIDLETIME 3
47: VICEIDLETIME 2 (resolution: 4)
  Actual name: DEVICEIDLETIME 2
3f: LETIME  (resolution: 4)
  Actual name: IDLETIME
3e: RVERTIMEh (resolution: 4)
  Actual name: SERVERTIME
sizeof(xcb_sync_systemcounter_t) = 16

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list