Bug 6798 - Doesn't currently handle 32-bit wrap in sequence numbers
Summary: Doesn't currently handle 32-bit wrap in sequence numbers
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: All All
: high normal
Assignee: Jamey Sharp
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6797
  Show dependency treegraph
 
Reported: 2006-05-01 04:57 UTC by Josh Triplett
Modified: 2006-07-01 11:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Josh Triplett 2006-05-01 04:57:44 UTC
XCB doesn't currently handle 32-bit wrap in sequence numbers.
Comment 1 Ian Osgood 2006-06-06 18:23:06 UTC
Is this problem related to the use of the deprecated XCBGetQueuedRequestRead() in _XGetXCBBuffer() in 
xlib/src/xcl/xcblock.c?  Is this an XCB problem or Xlib/XCB problem?
Comment 2 Ian Osgood 2006-07-01 11:02:31 UTC
(Answer to previous comment: no, not related.)

Fixed by keithp, both for XCB and for Xlib/XCB

This required both comparing sequence numbers correctly ((int) (s1 - s2) > 0, for example), and ignoring 
the reply from the sync XCB sends when the sequence number wraps to zero.


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.