<div dir="ltr"><div>Hi Uri:<br><br></div>here is the message when we hit the close button: ( I can send screen captures, if you wish  ( how ?) ) :<br><br>XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server "cgy530ws:0.0"<br>      after 1304786 requests (1300490 known processed) with 0 events remaining.<br><br>> more tttt.cxx<br><br>#include <X11/Xlib.h> // Every Xlib program must include this<br>#include <assert.h>   // I include this to test return values the lazy way<br>#include <unistd.h>   // So we got the profile for 10 seconds<br>#include <stdio.h><br>#include <stdlib.h><br>#include <execinfo.h><br><br>#define NIL (0)       // A name for the void pointer<br><br>void printBacktrace() {<br>  int j, nptrs;<br>#define SIZE 100<br>  void *buffer[100];<br>  char **strings;<br><br>  nptrs = backtrace(buffer, SIZE);<br>  printf("backtrace() returned %d addresses\n", nptrs);<br><br>   /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)<br>       would produce similar output to the following: */<br><br>  strings = backtrace_symbols(buffer, nptrs);<br>  if (strings == NULL) {<br>    perror("backtrace_symbols");<br>    exit(EXIT_FAILURE);<br>  }<br><br>  for (j = 0; j < nptrs; j++)<br>    printf("%s\n", strings[j]);<br><br>  free(strings);<br>}<br><br>int myIOXError(Display *disp)<br>{<br>  printf("ERROR Received a X IO error on display=%x.\n", disp);<br>  printBacktrace();<br>  return True;<br>}<br><br>main() {<br>  Display *dpy = XOpenDisplay(NIL);<br>  assert(dpy);<br><br>  int blackColor = BlackPixel(dpy, DefaultScreen(dpy));<br>  int whiteColor = WhitePixel(dpy, DefaultScreen(dpy));<br><br>  // Create the window<br>  Window w = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0,<br>                                 200, 100, 0, blackColor, blackColor);<br><br>  // We want to get MapNotify events<br>  XSelectInput(dpy, w, StructureNotifyMask);<br><br>  // "Map" the window (that is, make it appear on the screen)<br>  XMapWindow(dpy, w);<br><br>  // Create a "Graphics Context"<br>  GC gc = XCreateGC(dpy, w, 0, NIL);<br><br>  // Tell the GC we draw using the white color<br>  XSetForeground(dpy, gc, whiteColor);<br><br>  // register io error handler<br>//  XSetIOErrorHandler(myIOXError);<br><br>  // Wait for the MapNotify event<br>  for(;;) {<br>    XEvent e;<br>    XNextEvent(dpy, &e);<br>    if (e.type == MapNotify)<br>      break;<br>  }<br><br>  // Draw the line<br>  for(;;) {<br>    XDrawLine(dpy, w, gc, 10, 60, 180, 20);<br>    // Send the "DrawLine" request to the server<br>    XFlush(dpy);<br>  }<br><br>  // Wait for 10 seconds<br>  sleep(10);<br>}<br><br><br><br>ldd tttt<br>        linux-vdso.so.1 =>  (0x00007f7786ae2000)<br>        libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003ede200000)<br>        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003ee1e00000)<br>        libm.so.6 => /lib64/libm.so.6 (0x0000003edb600000)<br>        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003ee1600000)<br>        libc.so.6 => /lib64/libc.so.6 (0x0000003edae00000)<br>        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003edda00000)<br>        libdl.so.2 => /lib64/libdl.so.2 (0x0000003edba00000)<br>        /lib64/ld-linux-x86-64.so.2 (0x0000003edaa00000)<br>        libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003edde00000)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 1:54 PM, Uli Schlachter <span dir="ltr"><<a href="mailto:psychon@znc.in" target="_blank">psychon@znc.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div><div class="h5"><br>
Am 26.05.2015 um 12:02 schrieb robert somerville:<br>
> Hello All:<br>
> This is my first post to this group, please forgive any newbie mistakes ..<br>
><br>
> We seem to be having this error on our Redhat 6.6 x86-64 system ! Is there<br>
>  a version of XCB out there that will fix this problem ? This error occurs<br>
> also in a third party API and is apparently killing us. It also occurs on a<br>
> test drawing program when we close the window ( I believe we found it here,<br>
> or nearby)<br>
><br>
> Any suggestions how we should go about fixing this ???<br>
> I believe (off the top of my head) that we are running Redhat libxcb-1.9.?<br>
<br>
</div></div>which error message? Which test drawing program? Any more information than<br>
"there is an error message when we close our application"?<br>
<br>
Cheers,<br>
Uli<br>
<span class="HOEnZb"><font color="#888888">--<br>
<alanc> I think someone had a Xprint version of glxgears at one point,<br>
    but benchmarking how many GL pages you can print per second<br>
    was deemed too silly to merge<br>
</font></span></blockquote></div><br></div>