I was able to login to amber10 and debug the issue further, but have not resolved it yet.  Here's what I've found:<br><br>- what Kyle originally reported seems to not be true.  The program will segfault when called in the command line, you don't have to call it through ctest to make it crash<br>

<br>- if you prepend the path with c:\dashboards\support\qt-4.8.1-x64\bin then the program completes successfully without crashing.  It only crashes when using qt-4.7.4 on the path.<br>
<br>- it crashes on line 156 in vtkQtDebugLeaksView.cxx when making the Qt library call QTableView::resizeColumnsToContents().<br><br>- this crash is eerily similar to one I have seen in the past in QTableView on certain versions of Qt on Windows, and it's near impossible to debug.  Sigh.<br>

<br><br>Rob, if you could use vs10 on amber10 to collect a debug backtrace for this program, that would be helpful to verify that the crash is actually inside the QtGui library.  I had trouble figuring out how to launch the vtkGUISupportQtCxxTests.exe.exe program from within vs10.  It complained about a missing dll which means I wasn't setting the qt path correctly for the vs10 debugging session.<br>

<br>You can run the test and reproduce the crash with:<br><br>cd C:\Dashboards\My Tests\VTK-vs10<br>PATH=c:\dashboards\support\qt-4.7.4-x64\bin;%PATH%<br>bin\Release\vtkGUISupportQtCxxTests.exe TestQtDebugLeaksView<br>
<br>or<br><br>ctest -V -C Release -R TestQtDebugLeaksView<br><br><br>If someone wants to push a commit that removes the one line that calls resizeColumnsToContents() then that will avoid the crash on amber10 and make the test pass.  Resizing the columns is not required, it's just for appearances.  Or, another way to avoid the crash seems to be setting amber10 to use the qt 4.8.1 install.  Or disable this test on amber10.  From what I can tell, the bug is in Qt's QTableView for Windows.  The bug could be exposed by an incorrect usage of the QTableView on my part, but it works on all other platforms, and also works with qt 4.8.1 on the same machine.<br>


<br>Sorry for the failing test and lack of clear resolution.  When this code was originally added, the test passed on all dashboard machines, but I'm not sure what the history is of the failure on amber10's vs10 dashboard.<br>

<br>Pat<br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 3:37 PM, Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'd be happy to help, but I don't have access to that machine.  I tried vnc but it doesn't seem to have a vnc server running.  I could try remote desktop if somebody says that's ok, but I don't want to log out the dashboard session by accident.<span><font color="#888888"><br>



<br>Pat</font></span><div><div><br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 1:54 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Pat,<div><br></div><div>Maybe you can help. It is one of the few tests that are failing (after we clear up newly introduced failures).</div><div><br></div><div>Bill<div><div><br><br><div class="gmail_quote">On Wed, Mar 27, 2013 at 5:27 PM, Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kyle,<br><br>Did you discover the issue?  I'm the original test author, but I'm not sure about this crash.  Did you try what Dave suggested, set the PATH env variable before running the process?  Perhaps there are mismatched Qt library versions?  I have seen cases of crashes when a Windows service pack update is installed but the Qt libs are not recompiled.<br>






<br>Pat<br><br><div class="gmail_quote"><div>On Fri, Mar 22, 2013 at 1:08 AM, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div><div style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:16px">




<div>

<div>Also, the script has this in it:</div><div><pre># change path so paraview can find Qt
set(ENV{PATH} "C:/Python26\;C:/Dashboards/Support/qt-4.7.4-x64/bin\;$ENV{PATH}”)</pre></div><div>Try doing that before running the test and see if that makes a difference.</div><div> </div><div> </div>  </div><div style="border-top-color:rgb(225,225,225);border-top-width:1px;border-top-style:solid">






                <b>From:</b> David Gobbi<br>          <b>Sent:</b> March 21, 2013 10:55 AM<div><div><br>                <b>To:</b> Kyle Lutz<br>                      <b>CC:</b> VTK Developers<br>         <b>Subject:</b> Re: [vtk-developers] Help with TestQtDebugLeaksView test failure<br>





        </div></div></div><div><div><div><div>        <div> </div>On Thu, Mar 21, 2013 at 8:49 AM, Kyle Lutz <<a href="mailto:kyle.lutz@kitware.com" target="_blank">kyle.lutz@kitware.com</a>> wrote:<br>> On Thu, Mar 21, 2013 at 10:36 AM, David Cole <<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>> wrote:<br>






>> Run it through ctest, but add “-D ExperimentalTest” on the command line and<br>>> see if that makes a difference...<br>><br>> No difference :-(<br>><br>> Here's the full output:<br>><br>





> C:\Dashboards\My Tests\VTK-vs10>ctest -R TestQtDebugLeaks -C Release -D Experime<br>
> ntalTest -V<br>> UpdateCTestConfiguration  from :C:/Dashboards/My Tests/VTK-vs10/DartConfiguratio<br>> n.tcl<br>> Parse Config file:C:/Dashboards/My Tests/VTK-vs10/DartConfiguration.tcl<br>>    Site: amber10.kitware<br>






>    Build name: Win64-VS10<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: .*/Utilities/.*<br>>  Add coverage exclude: .*/ThirdParty/.*<br>






> UpdateCTestConfiguration  from :C:/Dashboards/My Tests/VTK-vs10/DartConfiguratio<br>> n.tcl<br>> Parse Config file:C:/Dashboards/My Tests/VTK-vs10/DartConfiguration.tcl<br>> Test project C:/Dashboards/My Tests/VTK-vs10<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 690<br>>     Start 690: vtkGUISupportQtCxx-TestQtDebugLeaksView<br>






><br>> 690: Test command: "C:\Dashboards\My Tests\VTK-vs10\bin\Release\vtkGUISupportQtC<br>> xxTests.exe" "TestQtDebugLeaksView" "-D" "c:/Dashboards/My Tests/VTKData" "-T" "<br>






> C:/Dashboards/My Tests/VTK-vs10/Testing/Temporary" "-V" "Baseline/QVTK/TestQtDeb<br>> ugLeaksView.png"<br>> 690: Test timeout computed to be: 240<br>> 690: Expect a warning message to be printed:<br>






> 690: vtkQtDebugLeaksModel::getObjects: bad class name: "vtkConeSource"<br>> 1/1 Test #690: vtkGUISupportQtCxx-TestQtDebugLeaksView ...***Exception: SegFault<br>>   0.06 sec<br>><br>> 0% tests passed, 1 tests failed out of 1<br>






><br>> Total Test time (real) =   1.29 sec<br>><br>> The following tests FAILED:<br>>         690 - vtkGUISupportQtCxx-TestQtDebugLeaksView (SEGFAULT)<br>> Errors while running CTest<br><br>Can you insert a long "Sleep" near the beginning of the test, run the<br>






test with ctest, and then attach a debugger to the process while it is<br>sleeping?<br><br> - David<br>_______________________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>






<br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Follow this link to subscribe/unsubscribe:<br>






<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br><br></div></div></div></div></div></div><div><div><br>_______________________________________________<br>





Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></div></div></blockquote></div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</font></span></div>
</blockquote></div><br>
</div></div></blockquote></div><br>