Test: pv.TimeManagerPanel has a potential memory issue
The pv.TimeManagerTest can sometimes segfault has showed by cdash:
Assertion failed:
vtkSMTestDriver: client command is:
"/builds/gitlab-kitware-sciviz-ci/build/bin/paraview" "--enable-bt" "--test-script=/builds/gitlab-kitware-sciviz-ci/Clients/ParaView/Testing/XML/TimeManagerPanel.xml" "--test-directory=/builds/gitlab-kitware-sciviz-ci/build/Testing/Temporary" "--data-directory=/builds/gitlab-kitware-sciviz-ci/build/ExternalData" "--dr" "--exit"
vtkSMTestDriver: starting process client
-------------- client output --------------
hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
Process started
vtkSMTestDriver: client successfully started.
Process started
Playing: /builds/gitlab-kitware-sciviz-ci/Clients/ParaView/Testing/XML/TimeManagerPanel.xml
paraview: /builds/gitlab-kitware-sciviz-ci/VTK/Common/DataModel/vtkDataObjectTreeRange.h:208: vtk::detail::DataObjectTreeRange::DataObjectTreeRange(vtkDataObjectTree*, vtk::DataObjectTreeOptions): Assertion `this->DataObjectTree' failed.
vtkSMTestDriver: ***** Test will fail, because the string: "failed"
vtkSMTestDriver: ***** was found in the following output from the client:
"paraview: /builds/gitlab-kitware-sciviz-ci/VTK/Common/DataModel/vtkDataObjectTreeRange.h:208: vtk::detail::DataObjectTreeRange::DataObjectTreeRange(vtkDataObjectTree*, vtk::DataObjectTreeOptions): Assertion `this->DataObjectTree' failed."
vtkSMTestDriver: client0 process exited with an exception: Unknown
vtkSMTestDriver: Error string found in output, vtkSMTestDriver returning 1
Or segfault:
15:16:25 : 2: Test (1): Event: /FileOpenDialog: filesSelected : C:/glr/builds/paraview/paraview-ci/build/ExternalData/Testing/Data/can.ex2
15:16:25 : 2: Done
15:16:26 : 1: Done
15:16:26 : 3: Test (0): Event: /Accept: activate :
15:16:28 : 3: Done
15:16:28 : 4: Test (0): Event: /actionIsometricView: activate :
15:16:28 : 4: Done
15:16:28 : 5: Test (0): Event: /menubar: activate : menu_View
15:16:28 : 5: Done
15:16:28 : 6: Test (0): Event: /menu_View: activate : Time Manager
15:16:29 : 6: Done
15:16:29 : 7: Test (0): Event: /1pqTimelineView0: expand : 0.0
15:16:29 : 7: Done
15:16:29 : 8: Test (0): Check Event: /1pqTimelineView0: modelRowCount : 2
15:16:29 : 8: Done
15:16:29 : 9: Test (0): Check Event: /1pqTimelineView0: modelItemData : 0.0.,Time Sources
15:16:29 : 9: Done
15:16:29 : 10: Test (0): Check Event: /1pqTimelineView0: modelItemData : 1.0,Animations
15:16:29 : 10: Done
15:16:29 : 11: Test (0): Check Event: /1pqTimelineView0: modelItemData : 0.0.0.0,can.ex2
15:16:29 : 11: Done
15:16:29 : 12: Test (0): Check Event: /proxiesBox: currentText : can.ex2
15:16:29 : 12: Done
15:16:29 : 13: Test (0): Check Event: /1pqTimelineView0: modelItemData : 1.0.0.0,TimeKeeper1 - Time
15:16:29 : 13: Done
15:16:29 : 14: Test (0): Event: /menubar: activate : menuFilters
15:16:29 : 14: Done
15:16:29 : 15: Test (0): Event: /menuFilters: activate : &Temporal
vtkSMTestDriver: client0 process exited with an exception: Segmentation fault
Unable to reproduce locally but valgrind reports this:
==238843== Conditional jump or move depends on uninitialised value(s)
==238843== at 0x4FBDA500: ???
==238843== by 0x6931E067: ???
==238843==
==238843== Conditional jump or move depends on uninitialised value(s)
==238843== at 0x4FBDA500: ???
==238843== by 0x6A0C8AE7: ???
==238843==
Which is quite unhelpful.
Excluding from CI could be considered.
Edited by Nicolas Vuaille