Segfault on right click picking in RenderView
With master and with all ReleaseCandidates, the following segfaults :
- Open ParaView
- Sphere Apply
- Right click on sphere in render view
paraview: /home/glow/work/paraview/paraviewFirst/paraview/ParaViewCore/ServerManager/Core/vtkSMVectorPropertyTemplate.h:125: T& vtkSMVectorPropertyTemplate<T>::GetElement(unsigned int) [with T = long long int]: Assertion `idx < this->Values.size()' failed.
Thread 1 "paraview" received signal SIGABRT, Aborted.
0x00007ffff7c0a755 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7c0a755 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff7bf5851 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff7bf5727 in __assert_fail_base.cold () from /usr/lib/libc.so.6
#3 0x00007ffff7c03026 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00007ffff5408053 in vtkSMVectorPropertyTemplate<long long>::GetElement (this=0x55555a77b5d0, idx=0) at /home/glow/work/paraview/paraviewFirst/paraview/ParaViewCore/ServerManager/Core/vtkSMVectorPropertyTemplate.h:125
#5 0x00007ffff5406bdc in vtkSMIdTypeVectorProperty::GetElement (this=0x55555a77b400, idx=0) at /home/glow/work/paraview/paraviewFirst/paraview/ParaViewCore/ServerManager/Core/vtkSMIdTypeVectorProperty.cxx:109
#6 0x00007ffff544dd4e in vtkSMPropertyHelper::GetProperty<int> (this=0x7fffffffda90, index=0) at /home/glow/work/paraview/paraviewFirst/paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx:91
#7 0x00007ffff5449770 in vtkSMPropertyHelper::GetAsInt (this=0x7fffffffda90, index=0) at /home/glow/work/paraview/paraviewFirst/paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx:659
#8 0x00007ffff5bd1885 in vtkSMRenderViewProxy::PickBlock (this=0x555557c5f4d0, x=126, y=305, flatIndex=@0x7fffffffdb78: 0) at /home/glow/work/paraview/paraviewFirst/paraview/ParaViewCore/ServerManager/Rendering/vtkSMRenderViewProxy.cxx:719
#9 0x00007ffff60ffd23 in pqRenderView::pickBlock (this=0x5555561a3b60, pos=0x7fffffffdbc0, flatIndex=@0x7fffffffdb78: 0) at /home/glow/work/paraview/paraviewFirst/paraview/Qt/Core/pqRenderView.cxx:567
#10 0x00007ffff7a1ee5a in pqPipelineContextMenuBehavior::eventFilter (this=0x555555d1d770, caller=0x555557e72420, e=0x7fffffffe430) at /home/glow/work/paraview/paraviewFirst/paraview/Qt/ApplicationComponents/pqPipelineContextMenuBehavior.cxx:167
#11 0x00007ffff69946d3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007ffff73514c4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff735ac6c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff69949c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff5de17da in QVTKOpenGLWidget::<lambda(QEvent*)>::operator()(QEvent *) const (__closure=0x555557e79470, evt=0x7fffffffe430) at /home/glow/work/paraview/paraviewFirst/paraview/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx:66
#16 0x00007ffff5de20a4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QEvent*>, void, QVTKOpenGLWidget::QVTKOpenGLWidget(vtkGenericOpenGLRenderWindow*, QOpenGLContext*, QWidget*, Qt::WindowFlags)::<lambda(QEvent*)> >::call(QVTKOpenGLWidget::<lambda(QEvent*)> &, void **) (f=...,
arg=0x7fffffffe080) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#17 0x00007ffff5de2065 in QtPrivate::Functor<QVTKOpenGLWidget::QVTKOpenGLWidget(vtkGenericOpenGLRenderWindow*, QOpenGLContext*, QWidget*, Qt::WindowFlags)::<lambda(QEvent*)>, 1>::call<QtPrivate::List<QEvent*>, void>(QVTKOpenGLWidget::<lambda(QEvent*)> &, void *, void **) (f=..., arg=0x7fffffffe080)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#18 0x00007ffff5de2033 in QtPrivate::QFunctorSlotObject<QVTKOpenGLWidget::QVTKOpenGLWidget(vtkGenericOpenGLRenderWindow*, QOpenGLContext*, QWidget*, Qt::WindowFlags)::<lambda(QEvent*)>, 1, QtPrivate::List<QEvent*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1,
this_=0x555557e79460, r=0x5555561898c0, a=0x7fffffffe080, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:439
#19 0x00007ffff69c0b70 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#20 0x00007ffff5dcff2a in QVTKOpenGLWindow::windowEvent (this=0x5555561898c0, _t1=0x7fffffffe430) at VTK/GUISupport/Qt/GUISupportQt_autogen/EWIEGA46WW/moc_QVTKOpenGLWindow.cpp:146
#21 0x00007ffff5de3ef3 in QVTKOpenGLWindow::event (this=0x5555561898c0, evt=0x7fffffffe430) at /home/glow/work/paraview/paraviewFirst/paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:274
#22 0x00007ffff73514d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff735aa21 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff69949c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff6d32789 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#26 0x00007ffff6d3405b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#27 0x00007ffff6d0c37c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#28 0x00007fffe04cdfec in ?? () from /usr/lib/libQt5XcbQpa.so.5
#29 0x00007fffeb284cf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007fffeb286b11 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007fffeb286b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007ffff69ec9a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007ffff69935ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#34 0x00007ffff699b326 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#35 0x00005555555620ec in main (argc=1, argv=0x7fffffffe988) at Applications/ParaView/paraview_main.cxx:107
Should this be fixed for release @cory.quammen @utkarsh.ayachit ?