Crash with pvbatch/pvpython when GetRenderView after ConnectToCatalyst
(Issue reported here: https://github.com/Kitware/trame/discussions/145#discussioncomment-4394873 )
pvbatch
crashes when executing the following script:
from paraview import servermanager, simple
servermanager.ConnectToCatalyst()
simple.GetRenderView()
The problem is in vtkSMParaViewPipelineController::RegisterViewProxy
where vtkSMProxy* timeKeeper = this->FindTimeKeeper(proxy->GetSession());
returns a null pointer, and nullity is not checked before use.
I can provide a patch to prevent the use of this null pointer. A deeper investigation of why the timeKeeper is not found after ConnectToCatalyst
is needed.