Setting a server command segfault
Adding a server command will segfault ParaView 5.7.0
Steps to reproduce :
- Open ParaView
- Connect
- Add Server
- Next
- Command, any command, Save
Thread 1 "paraview" received signal SIGSEGV, Segmentation fault.
0x00007ffff1bc99aa in vtkPVXMLElement::SetAttribute (this=0x0, attrName=0x7ffff637277e "exec", attrValue=0x55555a79cbd8 "f")
at /home/glow/work/paraview/paraviewSecondary/paraview/ParaViewCore/Core/vtkPVXMLElement.cxx:160
160 size_t numAttributes = this->Internal->AttributeNames.size();
(gdb) bt
#0 0x00007ffff1bc99aa in vtkPVXMLElement::SetAttribute (this=0x0, attrName=0x7ffff637277e "exec", attrValue=0x55555a79cbd8 "f")
at /home/glow/work/paraview/paraviewSecondary/paraview/ParaViewCore/Core/vtkPVXMLElement.cxx:160
#1 0x00007ffff632f2a3 in pqServerConfiguration::setStartupToCommand (this=0x555558d08930, timeout=0, delay=5, command_str=...)
at /home/glow/work/paraview/paraviewSecondary/paraview/Qt/Core/pqServerConfiguration.cxx:644
#2 0x00007ffff66e939a in pqServerConnectDialog::acceptConfigurationPage2 (this=0x7fffffffd760) at /home/glow/work/paraview/paraviewSecondary/paraview/Qt/Components/pqServerConnectDialog.cxx:592
#3 0x00007ffff653ed4d in pqServerConnectDialog::qt_static_metacall (_o=0x7fffffffd760, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffc7d0)
at Qt/Components/pqComponents_autogen/EWIEGA46WW/moc_pqServerConnectDialog.cpp:181
#4 0x00007ffff6bb6ac1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff76eb809 in ?? () from /usr/lib/libQt5Widgets.so.5
#6 0x00007ffff6bb6ac1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#7 0x00007ffff7642de3 in QAbstractButton::clicked(bool) () from /usr/lib/libQt5Widgets.so.5
#8 0x00007ffff764300c in ?? () from /usr/lib/libQt5Widgets.so.5
#9 0x00007ffff7644412 in ?? () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff76445d6 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff758d096 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff75494e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff7552f8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff6b8ad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff755212b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff75a9371 in ?? () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff75ac414 in ?? () from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff75494e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff7552e11 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff6b8ad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007ffff6f26da4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#22 0x00007ffff6f2864b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#23 0x00007ffff6f02b0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5