[Xcb] [Bug 71338] Application crashes after many hours of drawing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 14 00:14:58 PDT 2015


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

--- Comment #18 from Uli Schlachter <psychon at znc.in> ---
Some new API was added to libxcb for this:

commit cb621341a62e6d2233db3e337611f6fdd4f675a6
Author: Christian Linhart <chris at demorecorder.com>
Date:   Wed Apr 29 09:11:37 2015 +0200

    expose 64-bit sequence numbers for XLib

    While XCB uses 64-bit sequence number internally, it only exposes
    "unsigned int" so that, on 32-bit architecture, Xlib based applications
    may see their sequence number wrap which causes the connection to the X
    server to be lost.

    Expose 64-bit sequence number from XCB API so that Xlib and others can
    use it even on 32-bit environment.

    This implies the following API addition:

      xcb_send_request64()
      xcb_discard_reply64()
      xcb_wait_for_reply64()
      xcb_poll_for_reply64()

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

    Reviewed-by: Uli Schlachter <psychon at znc.in>
    Signed-off-by: Christian Linhart <chris at demorecorder.com>
    Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150514/a5ba6309/attachment.html>


More information about the Xcb mailing list