Bug 6798

Summary: Doesn't currently handle 32-bit wrap in sequence numbers
Product: XCB Reporter: Josh Triplett <josh>
Component: LibraryAssignee: Jamey Sharp <jamey>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 6797    

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.