<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p>Thanks for your kind consideration. I have run the ctest Python
      tests and they all run fine.</p>
    <p>I am still trying to workout why the script would crash and I
      have found out that it will crash (under Linux) when the
      interactor is started. The same script on the same data works fine
      with VTK 7.0 OpenGL2 under Windows 10.<br>
    </p>
    <p>Just in case, I am attaching a minimal script that demonstrates
      the problem. The script will load python pickled data that I have
      saved in a single file available at: <a
        class="moz-txt-link-freetext"
        href="https://www.dropbox.com/s/me8cbtjh9p8qfid/data.pck?dl=0">https://www.dropbox.com/s/me8cbtjh9p8qfid/data.pck?dl=0</a></p>
    <p>The script displays the data, waits 5 seconds, and than starts
      the interactor (crashing).</p>
    <p>Best Regards,</p>
    <p>Andrea</p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 27/10/2016 23:25, Ken Martin wrote:<br>
    </div>
    <blockquote
cite="mid:CANXz0SZz+GAgDSynX=pRUhVev0xbrNcn_57M39p=NMq7-zQ1sQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hmm, well that means VTK's rendering engine is
        initializing OK and running. So it could be something specific
        to the python app. If you run some of the python tests do they
        work? ala
        <div><br>
        </div>
        <div>ctest -R Python -I ,,23</div>
        <div><br>
        </div>
        <div>thats runs 1/23rd of the python tests </div>
        <div><br>
        </div>
        <div>if those all pass then it must be something specific to
          your script</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Oct 27, 2016 at 5:16 PM, Andrea
          Borsic <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:aborsic@ne-scientific.com" target="_blank">aborsic@ne-scientific.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hi Ken,</p>
              <p>The test seems to run fine, I am attaching below the
                output. <br>
              </p>
              <p>Best Regards,</p>
              <p>Andrea</p>
              <p><br>
              </p>
              <p>-----------------------<br>
              </p>
              <p><a moz-do-not-send="true"
                  class="m_-5342500049436808138moz-txt-link-abbreviated"
href="mailto:andrea@i7-Desktop:/opt/VTK-7.1.0.rc1-bin$" target="_blank">andrea@i7-Desktop:/opt/VTK-7.<wbr>1.0.rc1-bin$</a>
                sudo ctest -R VBOPLY -VV<br>
                UpdateCTestConfiguration  from :/opt/VTK-7.1.0.rc1-bin/<wbr>DartConfiguration.tcl<br>
                Parse Config <a moz-do-not-send="true"
                  class="m_-5342500049436808138moz-txt-link-freetext">file:/opt/VTK-7.1.0.rc1-bin/<wbr>DartConfiguration.tcl</a><br>
                 Add coverage exclude regular expressions.<br>
                 Add coverage exclude: vtk.*TCLInit.cxx<br>
                 Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx<br>
                 Add coverage exclude: .*vtkOpenGLState.*<br>
                 Add coverage exclude: .*Testing.Cxx.*cxx<br>
                 Add coverage exclude: .*Testing.Cxx.*h<br>
                 Add coverage exclude: .*moc_.*cxx<br>
                 Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*<br>
                 Add coverage exclude: .*/Utilities/.*<br>
                 Add coverage exclude: .*/ThirdParty/.*<br>
                 Add coverage exclude: .*vtkOpenGLPolyDataMapper.*<br>
                SetCTestConfiguration:<wbr>CMakeCommand:/usr/bin/cmake<br>
                UpdateCTestConfiguration  from :/opt/VTK-7.1.0.rc1-bin/<wbr>DartConfiguration.tcl<br>
                Parse Config <a moz-do-not-send="true"
                  class="m_-5342500049436808138moz-txt-link-freetext">file:/opt/VTK-7.1.0.rc1-bin/<wbr>DartConfiguration.tcl</a><br>
                Test project /opt/VTK-7.1.0.rc1-bin<br>
                Constructing a list of tests<br>
                Done constructing a list of tests<br>
                Checking test dependency graph...<br>
                Checking test dependency graph end<br>
                test 1551<br>
                    Start 1551: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper<br>
                <br>
                1551: Test command: /opt/VTK-7.1.0.rc1-bin/bin/<wbr>vtkRenderingOpenGL2CxxTests
                "TestVBOPLYMapper" "-D" "/opt/VTK-7.1.0.rc1-bin/<wbr>ExternalData//Testing"
                "-T" "/opt/VTK-7.1.0.rc1-bin/<wbr>Testing/Temporary"
                "-V" "/opt/VTK-7.1.0.rc1-bin/<wbr>ExternalData/Rendering/<wbr>OpenGL2/Testing/Data/Baseline/<wbr>TestVBOPLYMapper.png"<br>
                1551: Test timeout computed to be: 3600<br>
                1551: first render time: 0.132993<br>
                1551: opengl version 4.5<br>
                1551: interactive render time: 0.0166377<br>
                1551: number of triangles: 871414<br>
                1551: triangles per second: 5.2376e+07<br>
                1551: <DartMeasurement name="ImageError"
                type="numeric/double">0</<wbr>DartMeasurement><<wbr>DartMeasurement
                name="BaselineImage" type="text/string">Standard</<wbr>DartMeasurement><<wbr>DartMeasurement
                name="WallTime" type="numeric/double">0.<wbr>059715</DartMeasurement><br>
                1551: <DartMeasurement name="CPUTime"
                type="numeric/double">0.<wbr>037073</DartMeasurement><br>
                1/1 Test #1551: vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper
                ...   Passed    0.91 sec<br>
                <br>
                The following tests passed:<br>
                    vtkRenderingOpenGL2Cxx-<wbr>TestVBOPLYMapper<br>
                <br>
                100% tests passed, 0 tests failed out of 1<br>
                <br>
                Label Time Summary:<br>
                vtkRenderingOpenGL2    =   0.91 sec (1 test)<br>
                <br>
                Total Test time (real) =   0.97 sec<br>
              </p>
              <p><br>
              </p>
              <p><br>
              </p>
              <p><br>
              </p>
              <br>
              <div class="m_-5342500049436808138moz-cite-prefix">On
                27/10/2016 18:56, Ken Martin wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Can you try running ctest -R VBOPLY -VV
                  and let us know the output? </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Thu, Oct 27, 2016 at 12:46
                    PM, Andrea Borsic <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:aborsic@ne-scientific.com"
                        target="_blank">aborsic@ne-scientific.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear
                      All,<br>
                      <br>
                      I have successfully compiled VTK 7.0.0  under
                      Ubuntu 16.04.1 LTS on a computer with the
                      following hw configuration:<br>
                      <br>
                      Processor: Intel Core i7<br>
                      <br>
                      GPU: NVIDIA GTX Titan Black<br>
                      <br>
                      ---<br>
                      <br>
                      VTK has been configured for:<br>
                      <br>
                      OpenGL 2 back-end<br>
                      <br>
                      Use Qt 5.7<br>
                      <br>
                      Use OpenMP for SMP<br>
                      <br>
                      Wrap Python 3 (ver 3.5.2 on the system)<br>
                      <br>
                      ---<br>
                      <br>
                      A simple python script which displays an
                      unstructured grid and which works fine under
                      Windows, opens (under Ubuntu) a rendering window
                      and crashes with the message below:<br>
                      <br>
                      X Error of failed request:  GLXBadDrawable<br>
                        Major opcode of failed request:  154 (GLX)<br>
                        Minor opcode of failed request:  11
                      (X_GLXSwapBuffers)<br>
                        Serial number of failed request:  111<br>
                        Current serial number in output stream:  111<br>
                      <br>
                      <br>
                      Do you have any hint about this? Should I try the
                      RC 7.1 or switch to the plain OpenGL back-end ?<br>
                      <br>
                      Thanks in advance for any suggestion,<br>
                      <br>
                      Best Regards,<br>
                      <br>
                      Andrea<br>
                      <br>
                      ______________________________<wbr>_________________<br>
                      Powered by <a moz-do-not-send="true"
                        href="http://www.kitware.com" rel="noreferrer"
                        target="_blank">www.kitware.com</a><br>
                      <br>
                      Visit other Kitware open-source projects at <a
                        moz-do-not-send="true"
                        href="http://www.kitware.com/opensource/opensource.html"
                        rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
                      <br>
                      Please keep messages on-topic and check the VTK
                      FAQ at: <a moz-do-not-send="true"
                        href="http://www.vtk.org/Wiki/VTK_FAQ"
                        rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
                      <br>
                      Search the list archives at: <a
                        moz-do-not-send="true"
                        href="http://markmail.org/search/?q=vtkusers"
                        rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
                      <br>
                      Follow this link to subscribe/unsubscribe:<br>
                      <a moz-do-not-send="true"
                        href="http://public.kitware.com/mailman/listinfo/vtkusers"
                        rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <span class="HOEnZb"><font color="#888888">
                      <div><br>
                      </div>
                      -- <br>
                      <div class="m_-5342500049436808138gmail_signature"
                        data-smartmail="gmail_signature">Ken Martin PhD
                        <div>Chairman & CFO<br>
                          Kitware Inc.<br>
                          28 Corporate Drive<br>
                          Clifton Park NY 12065<br>
                          <a moz-do-not-send="true"
                            href="tel:518%20371%203971"
                            value="+15183713971" target="_blank">518 371
                            3971</a>
                          <div><br>
                          </div>
                          <div><span
                              style="font-size:10pt;font-family:Tahoma,sans-serif">This
                              communication, including all attachments,
                              contains confidential and legally
                              privileged information, and it is intended
                              only for the use of the addressee.  Access
                              to this email by anyone else is
                              unauthorized. If you are not the intended
                              recipient, any disclosure, copying,
                              distribution or any action taken in
                              reliance on it is prohibited and may be
                              unlawful. If you received this
                              communication in error please notify us
                              immediately and destroy the original
                              message.  Thank you.</span></div>
                        </div>
                      </div>
                    </font></span></div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">Ken
          Martin PhD
          <div>Chairman & CFO<br>
            Kitware Inc.<br>
            28 Corporate Drive<br>
            Clifton Park NY 12065<br>
            518 371 3971
            <div><br>
            </div>
            <div><span
                style="font-size:10pt;font-family:Tahoma,sans-serif">This
                communication, including all attachments, contains
                confidential and legally privileged information, and it
                is intended only for the use of the addressee.  Access
                to this email by anyone else is unauthorized. If you are
                not the intended recipient, any disclosure, copying,
                distribution or any action taken in reliance on it is
                prohibited and may be unlawful. If you received this
                communication in error please notify us immediately and
                destroy the original message.  Thank you.</span></div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>