Hi John,<br><br>I'm back at the office now and I can confirm that it is vtkRenderWindowInteractor::New causing the segfaults. You noted that the CellLocator test seems to crashes at exit, well if you look at the code it calls vtkRenderWindowInteractor::New after is does 'cout << 'Passed: a total of 9802 ray-sphere intersections
detected.'<br><br>The Widgets tests pass because they use vtkTestingObjectFactory to override vtkRenderWindowInteractor::New() to instantiate a vtkTestingInteractor.<br><br>Here is a temp fix- edit VTK/Rendering/vtkGraphicsFactory.cxx and replace:<br>
<br> return vtkRenderWindowInteractor::New();<br><br>with<br><br> return vtkTestingInteractor::New();<br><br>Also add an #include "vtkTestingInteractor.h", then recompile and try your tests again. Maybe sometime we'll have time to setup a static, python, osmesa, no x11 dashboard and fix these tests properly.<br>
<br>Pat<br><br><div class="gmail_quote">On Mon, Mar 8, 2010 at 4:42 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Pat,</span></p><div class="im">
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">></span> the segfaults are from tests that call
vtkRenderWindowInteractor::New(), causing an infinite loop inside
vtkGraphicsFactory.cxx</p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
</div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">This is a good theory, Can anyone <b><i>who is not on holiday</i></b>
</span><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, 125);">J</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"> confirm
if any of these tests (the passing ones) instantiate interactors (list of
Widget test results at end)</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Burlen :</span></p><div class="im">
<p>>Can you run one of the tests in a debugger and see
specifically where it segfaults? I'm sure that will give you the clue you're
after. I guess this is obvious so maybe there is a reason you haven't done it.</p>
<p> </p>
</div><p>Quite right. For reasons unknown to me, I don’t get
any symbol information and gdb tells me nothing. I’ve been asking around
to see why my build has no debug info, but so far I’m clueless.</p>
<p> </p>
<p>Anyone :</p>
<p>Important observation, looking at various outputs, I
noticed that for example, CellLocator test does this</p>
<p> </p>
<p>76: Test command:
/users/biddisco/build/paraview/bin/GraphicsCxxTests CellLocator -D
/apps/sandbox/VTKData -T /users/biddisco/build/paraview/VTK/Testing/Temporary
-V Baseline/Graphics/CellLocator.png</p>
<p>76: Test timeout computed to be: 1500</p>
<p>76: Passed: a total of 9802 ray-sphere intersections
detected.</p>
<p>1/1 Test #76: CellLocator
......................***Exception: SegFault 0.23 sec</p>
<p> </p>
<p>It actually does the test OK, but fails on exit. So now I’m
lookingat cleanup code etc.</p>
<p> </p>
<p>JB</p>
<p> </p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">ctest -R Widget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">Test project /users/biddisco/build/paraview</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 533: HeaderTesting-Widgets</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 1/38 Test #533: HeaderTesting-Widgets .....................
Passed 2.72 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 534: BoxWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 2/38 Test #534: BoxWidget
................................. Passed 6.04 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 535: BoxWidget2</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 3/38 Test #535: BoxWidget2
................................***Failed 3.42 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 536: TestAngleWidget2D</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 4/38 Test #536: TestAngleWidget2D
......................... Passed 0.49 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 537: TestAngleWidget3D</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 5/38 Test #537: TestAngleWidget3D
......................... Passed 1.10 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 538: TestBalloonWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 6/38 Test #538: TestBalloonWidget
......................... Passed 0.10 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 539: TestCaptionWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 7/38 Test #539: TestCaptionWidget
......................... Passed 2.41 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 540: TestCheckerboardWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 8/38 Test #540: TestCheckerboardWidget
.................... Passed 0.23 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 541: TestContourWidget2</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> 9/38 Test #541: TestContourWidget2
........................ Passed 0.13 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 542: TestDistanceWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">10/38 Test #542: TestDistanceWidget
........................ Passed 1.37 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 543:
TestImplicitPlaneWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">11/38 Test #543: TestImplicitPlaneWidget
................... Passed 4.48 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 544:
TestImplicitPlaneWidget2</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">12/38 Test #544: TestImplicitPlaneWidget2
.................. Passed 4.78 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 545:
TestImplicitPlaneWidget2b</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">13/38 Test #545: TestImplicitPlaneWidget2b
................. Passed 0.15 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 546:
TestOrientationMarkerWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">14/38 Test #546: TestOrientationMarkerWidget
............... Passed 4.59 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 547:
TestRectilinearWipeWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">15/38 Test #547: TestRectilinearWipeWidget
................. Passed 2.96 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 548: TestSeedWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">16/38 Test #548: TestSeedWidget
............................ Passed 0.71 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 549: TestSliderWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">17/38 Test #549: TestSliderWidget
.......................... Passed 1.74 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 550: TestSliderWidget2D</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">18/38 Test #550: TestSliderWidget2D ........................
Passed 2.08 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 551: TestTextWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">19/38 Test #551: TestTextWidget
............................ Passed 0.10 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 552:
TestParallelopipedWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">20/38 Test #552: TestParallelopipedWidget ..................
Passed 0.28 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 553:
TestSeedWidgetNonUniformRepresentations</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">21/38 Test #553: TestSeedWidgetNonUniformRepresentations
... Passed 0.35 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 554: ImagePlaneWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">22/38 Test #554: ImagePlaneWidget ..........................
Passed 4.51 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 556:
TestImageActorContourWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">23/38 Test #556: TestImageActorContourWidget
...............***Failed 2.03 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 557:
TestSurfaceConstrainedHandleWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">24/38 Test #557: TestSurfaceConstrainedHandleWidget ........
Passed 2.66 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 558:
TestPolygonalRepresentationHandleWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">25/38 Test #558: TestPolygonalRepresentationHandleWidget
... Passed 2.52 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 560: TestSphereHandleWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">26/38 Test #560: TestSphereHandleWidget ....................
Passed 21.94 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 561: TestImageTracerWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">27/38 Test #561: TestImageTracerWidget
..................... Passed 4.37 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 562: TestLineWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">28/38 Test #562: TestLineWidget
............................ Passed 0.96 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 563: TestLineWidget2</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">29/38 Test #563: TestLineWidget2
........................... Passed 1.15 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 564:
TestLogoWidgetAlphaBlending</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">30/38 Test #564: TestLogoWidgetAlphaBlending
...............***Failed 0.12 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">File
"../../../Testing/Temporary/TestLogoWidgetAlphaBlending.png" not
found.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">File
"../../../Testing/Temporary/TestLogoWidgetAlphaBlending.diff.png" not
found.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 565: TestLogoWidgetDepthPeeling</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">31/38 Test #565: TestLogoWidgetDepthPeeling
................***Failed 0.11 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">File
"../../../Testing/Temporary/TestLogoWidgetDepthPeeling.png" not
found.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">File
"../../../Testing/Temporary/TestLogoWidgetDepthPeeling.diff.png" not
found.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 567: TestPlaneWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">32/38 Test #567: TestPlaneWidget
........................... Passed 2.77 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 568: TestPointWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">33/38 Test #568: TestPointWidget
........................... Passed 0.86 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 569: TestScalarBarWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">34/38 Test #569: TestScalarBarWidget
....................... Passed 2.58 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 570: TestSplineWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">35/38 Test #570: TestSplineWidget
.......................... Passed 1.86 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 571: TestTensorProbeWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">36/38 Test #571: TestTensorProbeWidget
..................... Passed 3.68 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 573: TestHandleWidget</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">37/38 Test #573: TestHandleWidget
.......................... Passed 1.97 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> Start 575:
TestImagePlaneWidgetPython-image</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">38/38 Test #575: TestImagePlaneWidgetPython-image
..........***Failed 5.44 sec</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">87% tests passed, 5 tests failed out of 38</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p> </p>
</div>
</div>
</blockquote></div><br>