Segmentation fault in vtkXYZMolReader2::RequestInformation() with XMOL file with no time steps
$ cat test.xyz
Fe 1 2 3
Fe 1 3 4
Fe 3 4 5
Fe 1 2 3
$ paraview test.xyz
Select XMol Molecule Files
Program received signal SIGSEGV, Segmentation fault.
vtkXYZMolReader2::RequestInformation (this=0x5555580bfd80, outputVector=<optimized out>)
at /usr/src/debug/ParaView-v5.2.0-RC2/VTK/Domains/Chemistry/vtkXYZMolReader2.cxx:134
134 timeRange[0] = this->TimeSteps[0];
(gdb) print this->TimeSteps
$4 = std::vector of length 0, capacity 0
(gdb) print this->TimeSteps[0]
Cannot access memory at address 0x0
(gdb) print this->NumberOfTimeSteps
$5 = 0
(gdb) bt
#0 vtkXYZMolReader2::RequestInformation (this=0x5555580bfd80,
outputVector=<optimized out>)
at /usr/src/debug/ParaView-v5.2.0-RC2/VTK/Domains/Chemistry/vtkXYZMolReader2.cxx:134
#1 0x00007fffeef38140 in vtkExecutive::CallAlgorithm (this=0x555557e5df20,
request=0x555557e5e360, direction=<optimized out>, inInfo=0x0,
outInfo=0x555557de90b0)
at /usr/src/debug/ParaView-v5.2.0-RC2/VTK/Common/ExecutionModel/vtkExecutive.cxx:775
#2 0x00007fffeef4cae7 in vtkStreamingDemandDrivenPipeline::ExecuteInformation (
this=0x555557e5df20, request=<optimized out>, inInfoVec=<optimized out>,
outInfoVec=0x555557de90b0)
at /usr/src/debug/ParaView-v5.2.0-RC2/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:452
#3 0x00007fffeef34c39 in vtkDemandDrivenPipeline::ProcessRequest (this=0x555557e5df20,
request=0x555557e5e360, inInfoVec=0x0, outInfoVec=0x555557de90b0)
at /usr/src/debug/ParaView-v5.2.0-RC2/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:237
#4 0x00007fffeef4c685 in vtkStreamingDemandDrivenPipeline::ProcessRequest (
this=0x555557e5df20, request=0x555557e5e360, inInfoVec=0x0,
outInfoVec=0x555557de90b0)
at /usr/src/debug/ParaView-v5.2.0-RC2/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:353
#5 0x00007ffff4333247 in vtkSISourceProxy::UpdatePipelineInformation (
this=0x55555818d5a0)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerImplementation/Core/vtkSISourceProxy.cxx:294
#6 0x00007ffff55d3fe0 in vtkSISourceProxyCommand (arlu=0x555555947350,
ob=0x55555818d5a0, method=<optimized out>, msg=..., resultStream=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/x86_64-redhat-linux-gnu/Wrapping/ClientServer/vtkSISourceProxyClientServer.cxx:100
#7 0x00007ffff27a00f5 in vtkClientServerInterpreter::CallCommandFunction (
this=this@entry=0x555555947350, cname=0x7ffff434ab6a "vtkSISourceProxy",
ptr=ptr@entry=0x55555818d5a0,
method=method@entry=0x555558147e49 "UpdatePipelineInformation", msg=..., result=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:848
#8 0x00007ffff27a03d2 in vtkClientServerInterpreter::ProcessCommandInvoke (
this=this@entry=0x555555947350, css=..., midx=midx@entry=0)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:436
#9 0x00007ffff27a0efe in vtkClientServerInterpreter::ProcessOneMessage (
this=this@entry=0x555555947350, css=..., message=message@entry=0)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:269
#10 0x00007ffff27a114d in vtkClientServerInterpreter::ProcessStream (
this=0x555555947350, css=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:238
#11 0x00007ffff43013d5 in vtkPVSessionCore::ExecuteStreamInternal (this=0x55555589d270,
stream=..., ignore_errors=<optimized out>)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:669
#12 0x00007ffff430112b in vtkPVSessionCore::ExecuteStream (this=0x55555589d270,
location=<optimized out>, stream=..., ignore_errors=<optimized out>)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:639
#13 0x00007ffff42ffe55 in vtkPVSessionBase::ExecuteStream (this=0x555555cee040,
location=1, stream=..., ignore_errors=<optimized out>)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:168
#14 0x00007ffff469631a in vtkSMSourceProxy::UpdatePipelineInformation (
this=0x555557f602d0)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerManager/Core/vtkSMSourceProxy.cxx:216
#15 0x00007ffff46332d7 in vtkSMParaViewPipelineController::PostInitializeProxy (
this=this@entry=0x555555826360, proxy=proxy@entry=0x555557f602d0)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerManager/Core/vtkSMParaViewPipelineController.cxx:1028
#16 0x00007fffeb9c018d in vtkSMParaViewPipelineControllerWithRendering::PostInitializeProxy (this=0x555555826360, proxy=0x555557f602d0)
at /usr/src/debug/ParaView-v5.2.0-RC2/ParaViewCore/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx:274
#17 0x00007ffff60641ba in pqObjectBuilderNS::postCreatePipelineProxy (
proxy=0x555557f602d0, server=server@entry=0x555555fdcae0, regName=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/Qt/Core/pqObjectBuilder.cxx:99
#18 0x00007ffff6065c53 in pqObjectBuilder::createReader (this=0x55555594a950,
sm_group=..., sm_name=..., files=..., server=0x555555fdcae0)
at /usr/src/debug/ParaView-v5.2.0-RC2/Qt/Core/pqObjectBuilder.cxx:306
#19 0x00007ffff7adf1e3 in pqLoadDataReaction::LoadFile (files=...,
server=server@entry=0x555555fdcae0, readerInfo=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/Qt/ApplicationComponents/pqLoadDataReaction.cxx:
244
#20 0x00007ffff7ae01dd in pqLoadDataReaction::loadData (files=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/Qt/ApplicationComponents/pqLoadDataReaction.cxx:162
#21 0x00007ffff7ae0eff in pqLoadDataReaction::loadData (files=...)
at /usr/src/debug/ParaView-v5.2.0-RC2/Qt/ApplicationComponents/pqLoadDataReaction.cxx:108
#22 0x00007ffff7ab6c7e in pqCommandLineOptionsBehavior::processCommandLineOptions (
this=0x555555cecad0)
at /usr/src/debug/ParaView-v5.2.0-RC2/Qt/ApplicationComponents/pqCommandLineOptionsBehavior.cxx:161
#23 0x00007ffff2fb1090 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#24 0x00007ffff2fbb86a in QSingleShotTimer::timerEvent(QTimerEvent*) ()
from /lib64/libQtCore.so.4
#25 0x00007ffff2fb6c83 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#26 0x00007ffff6ecaecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /lib64/libQtGui.so.4
#27 0x00007ffff6ed1dcc in QApplication::notify(QObject*, QEvent*) ()
from /lib64/libQtGui.so.4
#28 0x00007ffff2f9ceed in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /lib64/libQtCore.so.4
#29 0x00007ffff2fcf910 in QTimerInfoList::activateTimers() () from /lib64/libQtCore.so.4
#30 0x00007ffff2fcca81 in timerSourceDispatch(_GSource*, int (*)(void*), void*) ()
from /lib64/libQtCore.so.4
#31 0x00007fffe02b4e42 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007fffe02b51c0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#33 0x00007fffe02b526c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007ffff2fcd45e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#35 0x00007ffff6f735a6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#36 0x00007ffff2f9b7bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#37 0x00007ffff2f9bb25 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQtCore.so.4
#38 0x00007ffff2fa1779 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#39 0x000055555555b061 in main (argc=<optimized out>, argv=0x7fffffffd518)
at /usr/src/debug/ParaView-v5.2.0-RC2/x86_64-redhat-linux-gnu/Applications/ParaView/paraview_main.cxx:123
Looks you need to handle the case of no time steps.