Segfault when applying glyph filter (on output without points?)
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
This is with PV 3.12.0, binaries from paraview.org on an Ubuntu 10.04.3 x86_64 system
- Load in the attached points.xmf
- Add a Threshold filter, scalars "Endpoint data", set lower threshold to 0, upper threshold to 5
- Press apply and notice that no points/cells are output by the threshold filter (which is deliberate in this case)
- Add a Glyph filter and Apply with default settings
- --> sefault
This seems to be caused by the threshold filter producing no output. If, in step 2, the threshold values are set to e.g. 18 and 20, the filter will produce some output and adding the Glyph filter doesn't crash.
This is very annoying as I'm using the same piece of pipeline to extract a set of points which I want to highlight with a different glyph from an animated set. But there might not be points to highlight in certain timesteps, especially at the start of the animation. So as a workaround I go through the timesteps to find a point at which the threshold filter has some output and then add the glyph filter. As I use a state file to save my work I need to keep the timestep set at that position when saving, as loading it back in with e.g. timestep 0 as initial position will cause PV to crash when rebuilding the pipeline, arghhhh
Backtrace: (gdb) bt #0 0x00007f10eb7d8aab in vtkPVGlyphFilter::CalculatePtsToGlyph(double) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVVTKExtensions.so #1 0x00007f10eb7d95e7 in vtkPVGlyphFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVVTKExtensions.so #2 0x00007f10dfeb2f54 in vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #3 0x00007f10dfea83d8 in vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #4 0x00007f10dfe8e670 in vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #5 0x00007f10dfeaad5c in vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #6 0x00007f10dffccb81 in vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #7 0x00007f10dfe8d316 in vtkCompositeDataPipeline::ForwardUpstream(vtkInformation*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #8 0x00007f10dfeaad05 in vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #9 0x00007f10dffccb81 in vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #10 0x00007f10dfeaa33e in vtkDemandDrivenPipeline::UpdateData(int) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #11 0x00007f10dffc7f87 in vtkStreamingDemandDrivenPipeline::Update(int) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkFiltering.so.pv3.12 #12 0x00007f10eede049f in vtkSISourceProxyCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerImplementationCS.so #13 0x00007f10e46bd375 in vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkClientServer.so #14 0x00007f10e46bbc42 in vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkClientServer.so #15 0x00007f10e46bc0d3 in vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkClientServer.so #16 0x00007f10ecd27a5a in vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerImplementation.so #17 0x00007f10ecd270da in vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerImplementation.so #18 0x00007f10ecd26249 in vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerImplementation.so #19 0x00007f10eefe0ff3 in vtkSMProxy::ExecuteStream(vtkClientServerStream const&, bool, unsigned int) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerManager.so #20 0x00007f10eefd1fd4 in vtkSMOutputPort::UpdatePipelineInternal(double, bool) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerManager.so #21 0x00007f10ef0227f1 in vtkSMSourceProxy::UpdatePipeline(double) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libvtkPVServerManager.so #22 0x00007f10efa44b4e in pqDisplayPolicy::getPreferredViewType(pqOutputPort*, bool) const () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libpqCore.so #23 0x00007f10efa4476e in pqDisplayPolicy::getPreferredView(pqOutputPort*, pqView*) const () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libpqCore.so #24 0x00007f10efa44529 in pqDisplayPolicy::createPreferredRepresentation(pqOutputPort*, pqView*, bool) const () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libpqCore.so #25 0x00007f10effdd10b in pqObjectInspectorWidget::show(pqPipelineSource*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libpqComponents.so #26 0x00007f10effdd81c in pqObjectInspectorWidget::accept() () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libpqComponents.so #27 0x00007f10f00bbea6 in pqObjectInspectorWidget::qt_metacall(QMetaObject::Call, int, void**) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libpqComponents.so #28 0x00007f10e8b132ee in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtCore.so.4 #29 0x00007f10e9cb6512 in QAbstractButton::clicked(bool) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #30 0x00007f10e99d21db in ?? () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #31 0x00007f10e99d3745 in ?? () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #32 0x00007f10e99d399b in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #33 0x00007f10e968b0f1 in QWidget::event(QEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #34 0x00007f10e99d2c5f in QAbstractButton::event(QEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #35 0x00007f10e9a6d65d in QPushButton::event(QEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #36 0x00007f10e962c21e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #37 0x00007f10e962fbf7 in QApplication::notify(QObject*, QEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #38 0x00007f10e8b00283 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtCore.so.4 #39 0x00007f10e962f496 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #40 0x00007f10e96aec04 in ?? () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #41 0x00007f10e96ad372 in QApplication::x11ProcessEvent(_XEvent*) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #42 0x00007f10e96d6822 in ?? () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #43 0x00007f10dd1038c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #44 0x00007f10dd107748 in ?? () from /lib/libglib-2.0.so.0 #45 0x00007f10dd1078fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #46 0x00007f10e8b2acd5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtCore.so.4 #47 0x00007f10e96d664f in ?? () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtGui.so.4 #48 0x00007f10e8aff525 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtCore.so.4 #49 0x00007f10e8aff87c in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtCore.so.4 #50 0x00007f10e8b01949 in QCoreApplication::exec() () from /home/paulmlocal/software/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/libQtCore.so.4 #51 0x0000000000406ad5 in main () (gdb)