<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/28/2016 01:31 PM, Krzywicki, Alan
      wrote:<br>
    </div>
    <blockquote
cite="mid:862436A78E9147458BA1A18855520E1D38F83181@DDCRFRA120.corp.draeger.global"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">So
            if I follow the XOpenDisplay sequence up the stack I see
            xcb_connect() / _<i>xcb_open</i>_abstract( ) trying to open
            “/tmp/.X11-unix/X0” with protocol set to 0.   On one system
            it eventually calls select(), on another it uses poll()
            instead, so it is looking for a response.  Once in a while
            it takes over a minute to get a response.   Can anyone
            describe a general overview of what it is trying to open? 
            Any idea why the select/poll call hangs so long?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">Stack
            example:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
            style="font-size:10.0pt;font-family:"Courier New"">#0 
            0xffffe424 in __kernel_vsyscall ()<br>
            #1  0xb6ad657d in select () from /lib/i686/libc.so.6<br>
            #2  0xb68997fc in ?? () from /usr/lib/libxcb.so.1<br>
            #3  0xb68985db in xcb_connect_to_fd () from
            /usr/lib/libxcb.so.1<br>
            #4  0xb689b6cd in xcb_connect () from /usr/lib/libxcb.so.1<br>
            #5  0xb7004b9b in _XConnectXCB () from /usr/lib/libX11.so.6<br>
            #6  0xb6fe5f10 in XOpenDisplay () from /usr/lib/libX11.so.6<br>
            #7  0x0805f463 in main ()<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    My guess is that the missing stack frames are<br>
    <tt><br>
    </tt><tt>#2.0 read_block()</tt><tt><br>
    </tt><tt>#2.1 _xcb_in_read_block()</tt><tt><br>
    </tt><tt>#2.2 read_setup()</tt><br>
    <br>
    If that's where it's blocked, then it's waiting for the server to
    send the setup block. Either the server is busy processing another
    client's request, or some other client grabbed the server and hasn't
    ungrabbed it yet. You'll have to debug the server to see whether
    it's stuck too or if / why it chose not to send the connection
    block.<br>
    <blockquote
cite="mid:862436A78E9147458BA1A18855520E1D38F83181@DDCRFRA120.corp.draeger.global"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">/
            Alan K.<o:p></o:p></span></p>
      </div>
      <font color="#bababa"><span style="FONT-SIZE: 8pt">---<br>
          This communication contains confidential information. If you
          are not the intended recipient please return this email to the
          sender and delete it from your records.<br>
          <span style="FONT-FAMILY: Arial"><font color="#bababa"><span
                style="FONT-SIZE: 8pt"><br>
                <span style="FONT-FAMILY: Arial"><font color="#bababa"><span
                      style="FONT-SIZE: 8pt">Diese Nachricht enthaelt
                      vertrauliche Informationen. Sollten Sie nicht der
                      beabsichtigte Empfaenger dieser E-mail sein,
                      senden Sie bitte diese an den Absender zurueck und
                      loeschen Sie die E-mail aus Ihrem System.</span></font></span></span></font></span></span></font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support
Archives: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</a>
Info: <a class="moz-txt-link-freetext" href="https://lists.x.org/mailman/listinfo/xorg">https://lists.x.org/mailman/listinfo/xorg</a>
Your subscription address: %(user_address)s</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>